projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Teach git push .git/branches shorthand
[git.git]
/
unpack-file.c
diff --git
a/unpack-file.c
b/unpack-file.c
index
6ff3d51
..
d4ac3a5
100644
(file)
--- a/
unpack-file.c
+++ b/
unpack-file.c
@@
-26,8
+26,8
@@
int main(int argc, char **argv)
{
unsigned char sha1[20];
{
unsigned char sha1[20];
- if (argc != 2 || get_sha1
_hex
(argv[1], sha1))
- usage("
unpack-file.c
<sha1>");
+ if (argc != 2 || get_sha1(argv[1], sha1))
+ usage("
git-unpack-file
<sha1>");
puts(create_temp_file(sha1));
return 0;
puts(create_temp_file(sha1));
return 0;