This fixes a bug in the assistant introduced by the literal pathspec changes in version 5.20150406.

git-checkignore refuses to work if any pathspec options are set. Urgh.

I audited the rest of git, and no other commands used by git-annex have
such limitations. Indeed, AFAICS, *all* other commands support
--literal-pathspecs. So, worked around this where git-checkignore is
called.
This commit is contained in:
Joey Hess 2015-04-09 13:35:02 -04:00
parent 3695094454
commit 0f740fd198
3 changed files with 25 additions and 1 deletions

View file

@ -78,3 +78,19 @@ fatal: Work/archive/Tidrapportering/Tid.md: pathspec magic not supported by this
fatal: Work/archive/Tidrapportering/Tid.md: pathspec magic not supported by this command: 'literal'
"""]]
> I've fixed the pathspec magic problem. [[done]]
>
> Seems like you could possibly have a separate problem WRT the "commitBuffer:
> invalid argument". When using the older version of git-annex, did you
> get that in the log at all?
>
> OTOH, the
> "@Projects/archive/20140515_METOCC_Gr������nsytem������te"
> weirdness in the log could be where the problem chars are coming from
> too, in which case it was somehow caused by the pathspec magic problem.
>
> I was able to reproduce the pathspec magic problem, but not the encoding
> looking problem, even when using swedish chars in filenames.
>
> --[[Joey]]