Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule deinit: unset core.worktree
[gitweb.git]
/
builtin
/
show-branch.c
diff --git
a/builtin/show-branch.c
b/builtin/show-branch.c
index e8a4aa40cb4b6cf8787af3dd35d833a92a85bba3..6c2148b71db593af1a4ef8d2d1bdbdfe16661851 100644
(file)
--- a/
builtin/show-branch.c
+++ b/
builtin/show-branch.c
@@
-292,7
+292,7
@@
static void show_one_commit(struct commit *commit, int no_name)
}
else
printf("[%s] ",
- find_unique_abbrev(
commit->object.oid.hash
,
+ find_unique_abbrev(
&commit->object.oid
,
DEFAULT_ABBREV));
}
puts(pretty_str);