* cg-update does not work with argument specified
@ 2005-12-26 14:02 Alexey Nezhdanov
0 siblings, 0 replies; only message in thread
From: Alexey Nezhdanov @ 2005-12-26 14:02 UTC (permalink / raw)
To: Petr Baudis; +Cc: git
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-26 14:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-26 14:02 cg-update does not work with argument specified Alexey Nezhdanov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox