Subject: Re: cg-init bug -- identified

From: "Tommy M. McGuire" <[email-masked]>
Date: Sun, 5 Jun 2005 13:43:41 -0500

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