add: In v6 mode, acts on modified files.
Same as was done in direct mode, except in v6 mode add always adds files locked, so
This commit is contained in:
parent
c7a066a3e4
commit
8a660a7b14
2 changed files with 3 additions and 3 deletions
|
@ -66,10 +66,9 @@ seek o = allowConcurrentOutput $ do
|
||||||
, startSmall file
|
, startSmall file
|
||||||
)
|
)
|
||||||
go $ withFilesNotInGit (not $ includeDotFiles o)
|
go $ withFilesNotInGit (not $ includeDotFiles o)
|
||||||
ifM isDirect
|
ifM (versionSupportsUnlockedPointers <||> isDirect)
|
||||||
( go withFilesMaybeModified
|
( go withFilesMaybeModified
|
||||||
, unlessM versionSupportsUnlockedPointers $
|
, go withFilesOldUnlocked
|
||||||
go withFilesOldUnlocked
|
|
||||||
)
|
)
|
||||||
|
|
||||||
{- Pass file off to git-add. -}
|
{- Pass file off to git-add. -}
|
||||||
|
|
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -11,6 +11,7 @@ git-annex (6.20151225) unstable; urgency=medium
|
||||||
newly initialized repository; it will add files to the annex.
|
newly initialized repository; it will add files to the annex.
|
||||||
* unlock, lock: In v6 mode, unlocking a file changes it from a symlink to a
|
* unlock, lock: In v6 mode, unlocking a file changes it from a symlink to a
|
||||||
pointer file, and this change can be committed to the git repository.
|
pointer file, and this change can be committed to the git repository.
|
||||||
|
* add: In v6 mode, acts on modified files.
|
||||||
|
|
||||||
-- Joey Hess <id@joeyh.name> Tue, 08 Dec 2015 11:14:03 -0400
|
-- Joey Hess <id@joeyh.name> Tue, 08 Dec 2015 11:14:03 -0400
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue