annex.skipunknown with transition plan
Added annex.skipunknown git config, that can be set to false to change the behavior of commands like `git annex get foo*`, to not skip over files/dirs that are not checked into git and are explicitly listed in the command line. Significant complexity was needed to handle git-annex add, which uses some git ls-files calls, but needs to not use --error-unmatch because of course the files are not known to git. annex.skipunknown is planned to change to default to false in a git-annex release in early 2022. There's a todo for that.
Showing
- Annex/AutoMerge.hs 3 additions, 2 deletionsAnnex/AutoMerge.hs
- Assistant/Threads/SanityChecker.hs 1 addition, 1 deletionAssistant/Threads/SanityChecker.hs
- Assistant/Threads/TransferScanner.hs 1 addition, 1 deletionAssistant/Threads/TransferScanner.hs
- Assistant/Threads/Watcher.hs 2 additions, 2 deletionsAssistant/Threads/Watcher.hs
- CHANGELOG 8 additions, 1 deletionCHANGELOG
- CmdLine/Seek.hs 65 additions, 40 deletionsCmdLine/Seek.hs
- Command/Add.hs 8 additions, 3 deletionsCommand/Add.hs
- Command/Copy.hs 4 additions, 2 deletionsCommand/Copy.hs
- Command/Drop.hs 3 additions, 2 deletionsCommand/Drop.hs
- Command/Find.hs 3 additions, 2 deletionsCommand/Find.hs
- Command/Fix.hs 4 additions, 2 deletionsCommand/Fix.hs
- Command/Fsck.hs 4 additions, 2 deletionsCommand/Fsck.hs
- Command/Get.hs 4 additions, 2 deletionsCommand/Get.hs
- Command/Inprogress.hs 4 additions, 2 deletionsCommand/Inprogress.hs
- Command/List.hs 4 additions, 3 deletionsCommand/List.hs
- Command/Lock.hs 4 additions, 2 deletionsCommand/Lock.hs
- Command/Log.hs 4 additions, 2 deletionsCommand/Log.hs
- Command/LookupKey.hs 1 addition, 1 deletionCommand/LookupKey.hs
- Command/MetaData.hs 5 additions, 4 deletionsCommand/MetaData.hs
- Command/Migrate.hs 4 additions, 1 deletionCommand/Migrate.hs
Please register or sign in to comment