git-annex/CmdLine
Joey Hess 2a8fdfc7d8
Display a warning message when asked to operate on a file inside a directory that's a symbolic link to elsewhere
This relicates git's behavior. It adds a few stat calls for the command
line parameters, so there is some minor slowdown, but even with thousands
of parameters it will not be very noticable, and git does the same statting
in similar circumstances.

Note that this does not prevent eg "git annex add symlink"; the symlink
will be added to git as usual. And "git annex find symlink" will silently
list nothing as well. It's only "symlink/foo" or "subdir/symlink/foo" that
triggers the warning.
2020-05-11 15:03:35 -04:00
..
GitAnnex cat-file resource pool 2020-04-20 15:19:31 -04:00
GitAnnexShell wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
Action.hs cat-file resource pool 2020-04-20 15:19:31 -04:00
Batch.hs fix absolute filenames fed into --batch and git-annex info 2020-04-15 16:04:05 -04:00
GitAnnex.hs all commands building except for assistant 2019-12-05 14:41:18 -04:00
GitAnnexShell.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
GitRemoteTorAnnex.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
GlobalSetter.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Option.hs rename changeGitConfig to overrideGitConfig and avoid unncessary calls 2020-02-27 01:11:53 -04:00
Seek.hs Display a warning message when asked to operate on a file inside a directory that's a symbolic link to elsewhere 2020-05-11 15:03:35 -04:00
Usage.hs initremote --describe-other-params 2020-01-20 16:05:51 -04:00