Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin/commit.c: reduce scope of variables
[gitweb.git]
/
sha1_name.c
diff --git
a/sha1_name.c
b/sha1_name.c
index 0e5fe7f9371d2e6ae5aa9ce99c4b6c2dfb7a456f..e9c299943b817b5b3b5b700ac3979211d5688e2e 100644
(file)
--- a/
sha1_name.c
+++ b/
sha1_name.c
@@
-343,7
+343,6
@@
static int get_short_sha1(const char *name, int len, unsigned char *sha1,
return status;
}
-
int for_each_abbrev(const char *prefix, each_abbrev_fn fn, void *cb_data)
{
char hex_pfx[40];