assistant adding of files in direct mode
This commit is contained in:
parent
da8fbb9e3e
commit
c6d2bbe402
3 changed files with 32 additions and 13 deletions
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue