git-annex/CmdLine
Joey Hess b5f5475ed6
New matching options --excludesamecontent and --includesamecontent
The normalisation of filenames turns out to be the tricky part here,
because the associated files coming out of the keys db may look like
"./foo/bar" or "../bar". For the former to match a glob like "foo/*",
it needs to be normalised.

Note that, on windows, normalise "./foo/bar" = "foo\\bar"
which a glob like "foo/*" won't match. So the glob is matched a second
time, on the toInternalGitPath, so allowing the user to provide a glob
with the slashes in either direction. However, this still won't support
some wacky edge cases like the user providing a glob of "foo/bar\\*"

Sponsored-by: Dartmouth College's Datalad project
2021-05-25 13:08:18 -04:00
..
GitAnnex New matching options --excludesamecontent and --includesamecontent 2021-05-25 13:08:18 -04:00
GitAnnexShell finished this stage of the RawFilePath conversion 2020-11-04 14:20:37 -04:00
Action.hs start splitting out readonly values from AnnexState 2021-04-02 15:51:44 -04:00
Batch.hs remove unused contentFile = Nothing 2021-03-01 16:35:38 -04:00
GitAnnex.hs skeleton of filter-branch command, with option parser 2021-05-14 10:59:48 -04:00
GitAnnexShell.hs implement fastDebug 2021-04-06 15:24:28 -04:00
GitRemoteTorAnnex.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
GlobalSetter.hs implement fastDebug 2021-04-06 15:24:28 -04:00
Option.hs fix fastDebug to check if debugging is actually enabled 2021-04-06 16:28:37 -04:00
Seek.hs fix --all to include not yet committed files from the journal 2021-04-21 15:40:32 -04:00
Usage.hs improve synopsis 2020-12-17 12:51:49 -04:00