author | Steffen Prohaska <prohaska@zib.de> | |
Thu, 17 Jan 2008 22:42:55 +0000 (23:42 +0100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Mon, 11 Feb 2008 23:05:58 +0000 (10:05 +1100) | ||
commit | b9b86007e27d9a06d58feab618a5be1d491ed13e | |
tree | 191a14ef9afe27c9800fa746852ebf3b5d3975e2 | tree | snapshot |
parent | 3d2c998e305fdf9f3d9ecc1ecfbfafe4c65020f1 | commit | diff |
[PATCH] gitk: Add checkbutton to ignore space changes
Ignoring space changes can be helpful. For example, a commit
claims to only reformat source code and you quickly want to
verify if this claim is true. Or a commit accidentally changes
code formatting and you want to focus on the real changes.
In such cases a button to toggle of whitespace changes would be
quite handy. You could quickly toggle between seeing and
ignoring whitespace changes.
This commit adds such a checkbutton right above the diff view.
However, in general it is a good thing to see whitespace changes
and therefore the state of the checkbutton is not saved. For
example, space changes might happen unintentionally. But they are
real changes yielding different sha1s for the blobs involved.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Ignoring space changes can be helpful. For example, a commit
claims to only reformat source code and you quickly want to
verify if this claim is true. Or a commit accidentally changes
code formatting and you want to focus on the real changes.
In such cases a button to toggle of whitespace changes would be
quite handy. You could quickly toggle between seeing and
ignoring whitespace changes.
This commit adds such a checkbutton right above the diff view.
However, in general it is a good thing to see whitespace changes
and therefore the state of the checkbutton is not saved. For
example, space changes might happen unintentionally. But they are
real changes yielding different sha1s for the blobs involved.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |