Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: Move all git-svn-related paths into $GIT_DIR/svn
[gitweb.git]
/
ssh-upload.c
diff --git
a/ssh-upload.c
b/ssh-upload.c
index b675a0b1f1df7d313f8201d59ad25b1c3d53a2f4..2da66618fcdd6a0f5af35c9f30554a65eb427427 100644
(file)
--- 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;