Re: [PATCH] git-add -i/-p: learn to unwrap C-quoted paths
- From
- Teemu Likonen <tlikonen@iki.fi>
- Date
- Feb 17, 2009, 08:09 UTC
- Message-ID
- <878wo55vte.fsf@iki.fi>
- In-Reply-To
- <7v3aeda6lw.fsf_-_@gitster.siamese.dyndns.org>
On 2009-02-16 23:02 (-0800), Junio C Hamano wrote:
> The underlying plumbing commands are not run with -z option, so the paths > returned from them need to be unquoted as needed. > > Signed-off-by: Junio C Hamano <gitster@pobox.com>
According to my quick tests this seems to work. You may want to squash this patch in:
diff --git i/Documentation/git-add.txt w/Documentation/git-add.txt index 7c129cb..6c79a87 100644 --- i/Documentation/git-add.txt +++ w/Documentation/git-add.txt @@ -263,13 +263,6 @@ diff:: This lets you review what will be committed (i.e. between HEAD and index). -Bugs ----- -The interactive mode does not work with files whose names contain -characters that need C-quoting. `core.quotepath` configuration can be -used to work this limitation around to some degree, but backslash, -double-quote and control characters will still have problems. - SEE ALSO -------- linkgit:git-status[1]