Re: cg-init bug -- identified

From: Tommy M. McGuire <mcguire@crsr.net>
Date: 2005-06-06 04:43:41
On Sun, Jun 05, 2005 at 11:29:12AM -0700, Zack Brown wrote:
> It turned out one of my files had a "'" in the name, i.e.:

Now this is a neat one.

[mcguire@immobile cgtest]$ sh -x cg-init
[... Normal behavior ...]
+ touch .git/refs/heads/master
+ '[' '' ']'
+ git-read-tree
+ find bar baz foo 'foo'\''prime' '(' -type f -o -type l ')' -print0
+ xargs -0r cg-add
Adding file bar
Adding file baz/1
Adding file baz/0
Adding file foo
Adding file foo'prime
xargs: unmatched single quote
+ cg-commit -C '-mInitial commit' -E

The error is the second-to-last line.  It partially succeeded originally
because xargs broke off and handled parts of the input before reaching 
the single quote.

[By the way, hello!  I've just recently started climbing the git
learning curve, and it's nice to see something I recognize. :-)]

-- 
Tommy McGuire
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Jun 06 04:44:25 2005

This archive was generated by hypermail 2.1.8 : 2005-06-06 04:44:26 EST