Git development
 help / color / mirror / Atom feed
From: Alexey Nezhdanov <snake@penza-gsm.ru>
To: Petr Baudis <pasky@suse.cz>
Cc: git@vger.kernel.org
Subject: cg-update does not work with argument specified
Date: Mon, 26 Dec 2005 17:02:22 +0300	[thread overview]
Message-ID: <200512261702.22747.snake@penza-gsm.ru> (raw)

Documentation/tutorial-script/script.sh line 117 fails when trying to execute
cg-update bobswork

The error message is:
cg-fetch: where to fetch from?

Quick investigation showed that cg-update runs cg-fetch as:
cg-fetch "$force" "$name"

When tried it manually with
cg-fetch "" bobswork got the same error.
Removing "" works fine.

Further investigation showed that cg-fetch uses 
name="${ARGS[0]}"
line to find out branch name but ARGS[0] contains empty string.

Probably something should be fixed about lines 391-404 in cg-Xlib where
ARGS is set but I do not know this bash feature so unfortunately can't write 
patch myself.

Hope this helps.

P.S. Please Cc: me I'm not following the list closely.

-- 
Respectfully
Alexey Nezhdanov

                 reply	other threads:[~2005-12-26 14:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200512261702.22747.snake@penza-gsm.ru \
    --to=snake@penza-gsm.ru \
    --cc=git@vger.kernel.org \
    --cc=pasky@suse.cz \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox