git-annex/CmdLine
Joey Hess 506ffea5e6
stop symlink check once the top of the working tree is reached
Avoid complaining that a file with "is beyond a symbolic link" when the
filepath is absolute and the symlink in question is not actually inside the
git repository.

This assumes that inodes remain stable while the command is running.
I think they always will, the filesystems where they are unstable change
them across mounts. (If inodes were not stable, it would just complain about
symlinks in the path that are not inside the working tree.)

(On windows, I don't want to assume anything about inodes, they could be
random numbers for all I know. But if they were, this would still be ok, as
long as windows doesn't have symlinks that are detected by isSymbolicLink.
Which seems a fair bet.)
2020-08-06 20:14:30 -04:00
..
GitAnnex external backends wip 2020-07-29 15:23:18 -04:00
GitAnnexShell wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
Action.hs unify batch mode with non-batch by using AnnexedFileSeeker 2020-07-22 14:23:28 -04:00
Batch.hs Fix a bug in find --branch in the previous version 2020-07-24 12:05:28 -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 stop symlink check once the top of the working tree is reached 2020-08-06 20:14:30 -04:00
Usage.hs initremote --describe-other-params 2020-01-20 16:05:51 -04:00