Diffstat (limited to 'ui-commit.c')
| -rw-r--r-- | ui-commit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ui-commit.c b/ui-commit.c index 8864fc6..885f870 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -156,9 +156,6 @@ void cgit_print_commit(const char *hex) char *tmp; int i; - if (!hex) - hex = cgit_query_head; - if (get_sha1(hex, sha1)) { cgit_print_error(fmt("Bad object id: %s", hex)); return; |