author | Clemens Buchacher <drizzd@aon.at> | |
Sat, 30 Aug 2008 16:45:27 +0000 (18:45 +0200) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 1 Sep 2008 19:45:46 +0000 (12:45 -0700) | ||
commit | 55ba8a3474102eb8d638834d2b9bfe58d5014a40 | |
tree | 288d84848a2e6444663896f5318a6de1774ea23c | tree | snapshot |
parent | f2816b3d34ef93553b14a5fe23c48d092a74901f | commit | diff |
git gui: show diffs with a minimum of 1 context line
Staging hunks without context does not work, because line number
information would have to be recomputed for individual hunks.
Since it is already possible to stage individual lines using
'Stage Line for Commit', zero context diffs are not really
necessary for git gui.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Staging hunks without context does not work, because line number
information would have to be recomputed for individual hunks.
Since it is already possible to stage individual lines using
'Stage Line for Commit', zero context diffs are not really
necessary for git gui.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history | |
lib/diff.tcl | diff | blob | history | |
lib/option.tcl | diff | blob | history |