projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move "void *util" from "struct object" into "struct commit"
[git.git]
/
ssh-upload.c
diff --git
a/ssh-upload.c
b/ssh-upload.c
index
b675a0b
..
2da6661
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;