Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
dir: free untracked cache when removing it
[gitweb.git]
/
builtin
/
ls-remote.c
diff --git
a/builtin/ls-remote.c
b/builtin/ls-remote.c
index a31024900b0a812c94dfa86024cdf45df36b96a1..fa65a8448aadcb2d26613867cab7822e02e4853c 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;