Git with broken hash generation to generate collisions between object IDs. Don't use this! https://undefinedbehavior.de/posts/commit-vandalism/
Go to file
Johannes Sixt 5821988f97 git-gui: Implement "Stage/Unstage Line"
This adds a context menu entry below "Stage/Unstage Hunk" that stages or
unstages just the line under the mouse pointer.

This is by itself useful, for example, if there are unrelated changes in
the same hunk and the hunk cannot be split by reducing the context.

The feature can also be used to split a hunk by staging a number of
additions (or unstaging a number of removals) until there are enough
context lines that the hunk gets split.

The implementation reads the complete hunk that the line lives in, and
constructs a new hunk by picking existing context lines, removing unneeded
change lines and transforming other change lines to context lines. The
resulting hunk is fed through 'git apply' just like in the "Stage/Unstage
Hunk" case.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2008-07-02 01:06:38 -04:00
lib git-gui: Implement "Stage/Unstage Line" 2008-07-02 01:06:38 -04:00
macosx git-gui: support Git Gui.app under OS X 10.5 2008-02-12 02:34:45 -05:00
po git-gui: Update German translation 2008-05-01 18:13:14 -04:00
windows git-gui: add mingw specific startup wrapper 2007-10-10 03:50:01 -04:00
.gitignore git-gui: Honor a config.mak in git-gui's top level 2007-10-13 22:14:14 -04:00
git-gui.sh git-gui: Implement "Stage/Unstage Line" 2008-07-02 01:06:38 -04:00
GIT-VERSION-GEN git-gui 0.10 2008-04-02 02:17:11 -04:00
Makefile git-gui: Simplify MSGFMT setting in Makefile 2008-03-12 01:48:32 -04:00