diff options
author | Joey Hess <joey@kitenet.net> | 2012-12-24 13:37:29 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-12-24 13:37:29 -0400 |
commit | 8f4a33ece3651a1bdd1c4073bc0e1dcb86fa6315 (patch) | |
tree | 93204c8d90a52b5ab50b89302e5450609f8addbf /Assistant/Threads/Watcher.hs | |
parent | 100ea25052f40c582d6fe6abe7be5ea4af92f383 (diff) |
assistant adding of files in direct mode
Diffstat (limited to 'Assistant/Threads/Watcher.hs')
-rw-r--r-- | Assistant/Threads/Watcher.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Assistant/Threads/Watcher.hs b/Assistant/Threads/Watcher.hs index 08689cca4..f8957d25e 100644 --- a/Assistant/Threads/Watcher.hs +++ b/Assistant/Threads/Watcher.hs @@ -223,7 +223,8 @@ onErr msg _ = do {- Adds a symlink to the index, without ever accessing the actual symlink - on disk. This avoids a race if git add is used, where the symlink is - - changed to something else immediately after creation. + - changed to something else immediately after creation. It also allows + - direct mode to work. -} stageSymlink :: FilePath -> Sha -> Annex () stageSymlink file sha = |