Re: cg-init bug -- identified
- From
- Tommy M. McGuire <mcguire@crsr.net>
- Date
- Jun 5, 2005, 18:43 UTC
- Message-ID
- <20050605184341.GA21345@immutable.crsr.net>
- In-Reply-To
- <20050605182912.GC6890@tumblerings.org>
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' -EThe 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