git-annex/CmdLine
Joey Hess 664cc987e8
support pointer files
Backend.lookupFile is changed to always fall back to catKey when
operating on a file that's not a symlink.

catKey is changed to understand pointer files, as well as annex symlinks.

Before, catKey needed a file mode witness, to be sure it was looking at a
symlink. That was complicated stuff. Now, it doesn't actually care if a
file in git is a symlink or not; in either case asking git for the content
of the file will get the pointer to the key.

This does mean that git-annex will treat a link
foo -> WORM--bar as a git-annex file, and also treats
a regular file containing annex/objects/WORM--bar as a git-annex file.

Calling catKey could make git-annex commands need to do more work than
before. This would especially be the case if a repo contained many regular
files, and only a few annexed files, as now git-annex will need to ask
git about the contents of the regular files.
2015-12-07 15:35:36 -04:00
..
GitAnnex increase number of capabilities to match -Jn setting 2015-11-05 19:57:41 -04:00
GitAnnexShell git-annex-shell: Don't let configlist auto-init repository when in readonly mode. 2015-08-05 14:09:25 -04:00
Action.hs join back threads before ending concurrent output so display works 2015-11-05 17:23:26 -04:00
Batch.hs converted ContentLocation, ExampleKey, LookupKey 2015-07-11 20:43:45 -04:00
GitAnnex.hs merge clean into smudge command 2015-12-04 15:32:47 -04:00
GitAnnexShell.hs git-annex-shell: Added lockcontent command, to prevent dropping of key's content. 2015-10-08 14:47:46 -04:00
GlobalSetter.hs finished converting all the main options 2015-07-10 13:23:06 -04:00
Option.hs convert Unused, and remove some dead code for old style option parsing 2015-07-10 16:05:56 -04:00
Seek.hs support pointer files 2015-12-07 15:35:36 -04:00
Usage.hs let optparse-applicative handle the usage display when run w/o command or bad command 2015-07-09 11:52:47 -04:00