diff options
| author | Jakub Narebski <jnareb@gmail.com> | 2006-08-06 16:14:25 +0200 |
|---|---|---|
| committer | Junio C Hamano <junkio@cox.net> | 2006-08-06 13:41:49 -0700 |
| commit | b5ff2cf9a6a4246a5443e904acf3165e89654b1e (patch) | |
| tree | 883e4a8cae2eda64cc12bb5523b2c3633d2c88e2 /commit.c | |
| parent | gitweb: check if HTTP_ACCEPT is really set (diff) | |
| download | git-b5ff2cf9a6a4246a5443e904acf3165e89654b1e.tar.gz git-b5ff2cf9a6a4246a5443e904acf3165e89654b1e.zip | |
gitweb: fix commitdiff for root commits
After changing all "-|" open invocations to list form, commitdiff for
initial commit (without parent) got broken; it returned incorrectly
empty patch earlier. Use '--root' option to git-diff-tree for initial
(root) commit.
No checking for empty $hash_parent in git_commitdiff_plain -- we rely
on gitweb to give correct parameters for commitdiff_plain action.
Noticed by Matthias Lederhofer (matled).
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
