author | Paul Mackerras <paulus@samba.org> | |
Sat, 16 May 2009 11:06:01 +0000 (21:06 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Sat, 16 May 2009 11:08:44 +0000 (21:08 +1000) | ||
commit | a8138733fcf4d9c175b53ab0d0f06a3f7c232286 | |
tree | 114ba587b428f1bf8a348c66e780a6083e1f56fa | tree | snapshot |
parent | b5cda49040f77334dc08485e3f36ef8c8f2928b4 | commit | diff |
gitk: Check git version before using --textconv flag
Commit 785b7535 ("gitk: use --textconv to generate diff text")
added the --textconv flag to the git diff commands used to
display commit diffs. Since some people use newer gitk with older
git installations, this adds a check on the git version to check
that it understands --textconv before using it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Commit 785b7535 ("gitk: use --textconv to generate diff text")
added the --textconv flag to the git diff commands used to
display commit diffs. Since some people use newer gitk with older
git installations, this adds a check on the git version to check
that it understands --textconv before using it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |