summaryrefslogtreecommitdiff
path: root/ssh-upload.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-05-08 16:43:23 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-08 16:43:23 -0700
commitbd8e265d67d93e83ee48fed565627522c1553654 (patch)
treeae1e7b666f0f6698dda7d24e10064768edbe5299 /ssh-upload.c
parentMerge branch 'jc/bindiff' into next (diff)
parentTeach git-clean optional <paths>... parameters. (diff)
downloadtgif-bd8e265d67d93e83ee48fed565627522c1553654.tar.xz
Merge branch 'jc/clean' into next
* jc/clean: Teach git-clean optional <paths>... parameters. Separate object name errors from usage errors Documentation: {caret} fixes (git-rev-list.txt) Fix "git diff --stat" with long filenames Fix repo-config set-multivar error return path.
Diffstat (limited to 'ssh-upload.c')
-rw-r--r--ssh-upload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh-upload.c b/ssh-upload.c
index b675a0b1f1..2da66618fc 100644
--- a/ssh-upload.c
+++ b/ssh-upload.c
@@ -134,7 +134,7 @@ int main(int argc, char **argv)
commit_id = argv[arg];
url = argv[arg + 1];
if (get_sha1(commit_id, sha1))
- usage(ssh_push_usage);
+ die("Not a valid object name %s", commit_id);
memcpy(hex, sha1_to_hex(sha1), sizeof(hex));
argv[arg] = hex;