All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Tommy M. McGuire" <mcguire@crsr.net>
To: Zack Brown <zbrown@tumblerings.org>
Cc: Petr Baudis <pasky@ucw.cz>, git@vger.kernel.org
Subject: Re: cg-init bug -- identified
Date: Sun, 5 Jun 2005 13:43:41 -0500	[thread overview]
Message-ID: <20050605184341.GA21345@immutable.crsr.net> (raw)
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' -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

  reply	other threads:[~2005-06-05 18:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-05 15:30 cg-init bug Zack Brown
2005-06-05 16:10 ` Radoslaw Szkodzinski
2005-06-05 16:27   ` Zack Brown
2005-06-05 17:59     ` Radoslaw Szkodzinski
2005-06-05 17:28 ` Petr Baudis
2005-06-05 17:56   ` Zack Brown
2005-06-05 18:10     ` Petr Baudis
2005-06-05 18:29       ` cg-init bug -- identified Zack Brown
2005-06-05 18:43         ` Tommy M. McGuire [this message]
2005-06-05 19:09           ` Tommy M. McGuire
2005-06-05 19:22             ` [PATCH] " Tommy M. McGuire
2005-06-05 19:15           ` [PATCH] Make cg-add use xargs -0 Dan Holmsand
2005-06-05 20:19         ` cg-init bug -- identified Petr Baudis
2005-06-05 23:52           ` cg-init bug -- identified and fixed - thanks! Zack Brown
2005-06-05 21:11         ` cg-init bug -- identified Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050605184341.GA21345@immutable.crsr.net \
    --to=mcguire@crsr.net \
    --cc=git@vger.kernel.org \
    --cc=pasky@ucw.cz \
    --cc=zbrown@tumblerings.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.