diff options
author | Junio C Hamano <junkio@cox.net> | 2006-05-08 16:43:23 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-08 16:43:23 -0700 |
commit | bd8e265d67d93e83ee48fed565627522c1553654 (patch) | |
tree | ae1e7b666f0f6698dda7d24e10064768edbe5299 /ssh-upload.c | |
parent | Merge branch 'jc/bindiff' into next (diff) | |
parent | Teach git-clean optional <paths>... parameters. (diff) | |
download | tgif-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.c | 2 |
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; |