projects
/
git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
git-p4: fix git-p4.pathEncoding for removed files
[git]
/
builtin
/
ls-remote.c
diff --git
a/builtin/ls-remote.c
b/builtin/ls-remote.c
index
a310249
..
fa65a84
100644
(file)
--- a/
builtin/ls-remote.c
+++ b/
builtin/ls-remote.c
@@
-125,7
+125,7
@@
int cmd_ls_remote(int argc, const char **argv, const char *prefix)
continue;
if (!tail_match(pattern, ref->name))
continue;
- printf("%s %s\n",
sha1_to_hex(ref->old_sha1
), ref->name);
+ printf("%s %s\n",
oid_to_hex(&ref->old_oid
), ref->name);
status = 0; /* we found something */
}
return status;