-rw-r--r-- | ui-commit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui-commit.c b/ui-commit.c index 885f870..8864fc6 100644 --- a/ui-commit.c +++ b/ui-commit.c | |||
@@ -158,2 +158,5 @@ void cgit_print_commit(const char *hex) | |||
158 | 158 | ||
159 | if (!hex) | ||
160 | hex = cgit_query_head; | ||
161 | |||
159 | if (get_sha1(hex, sha1)) { | 162 | if (get_sha1(hex, sha1)) { |