Thread (14 messages) flat view 14 messages, 5 authors, 2016-06-15

Re: cg-init bug -- identified

From: Tommy M. McGuire <hidden>
Date: 2016-06-15 22:41:59

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help