-rw-r--r-- | shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -361,5 +361,5 @@ void cgit_diff_tree(const unsigned char *old_sha1, | |||
361 | diff_setup_done(&opt); | 361 | diff_setup_done(&opt); |
362 | 362 | ||
363 | if (old_sha1) | 363 | if (old_sha1 && !is_null_sha1(old_sha1)) |
364 | ret = diff_tree_sha1(old_sha1, new_sha1, "", &opt); | 364 | ret = diff_tree_sha1(old_sha1, new_sha1, "", &opt); |
365 | else | 365 | else |