-rw-r--r-- | shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -362,3 +362,3 @@ void cgit_diff_tree(const unsigned char *old_sha1, - if (old_sha1) + if (old_sha1 && !is_null_sha1(old_sha1)) ret = diff_tree_sha1(old_sha1, new_sha1, "", &opt); |
index : patchwork/cgit.git | ||
cgit - fast webinterface for git |
summaryrefslogtreecommitdiffabout |
-rw-r--r-- | shared.c | 2 |
@@ -362,3 +362,3 @@ void cgit_diff_tree(const unsigned char *old_sha1, - if (old_sha1) + if (old_sha1 && !is_null_sha1(old_sha1)) ret = diff_tree_sha1(old_sha1, new_sha1, "", &opt); |