[PATCH 0/3] git-gui: Add ability to revert selected hunks and lines
- From
Pratyush Yadav <me@yadavpratyush.com>
- Date
- Aug 19, 2019, 21:41 UTC
- Message-ID
- <20190819214110.26461-1-me@yadavpratyush.com>
Hi,
This series adds the ability to revert selected lines and hunks in git-gui. Partially based on the patch by Bert Wesarg [0].
The commits can be found in the topic branch 'py/git-gui-revert-lines' at https://github.com/prati0100/git/tree/py/git-gui-revert-lines
Once reviewed, pull the commits from 832064f93d3ad432616e96ca70f682a7cfdcc3e0 till 72eed27a29f1e71cbefefa6b19f96c89793ac74d.
Let me know if there is some other way I'm supposed to ask for a pull.
[0] https://public-inbox.org/git/a9ba4550a29d7f3c653561e7029f0920bf8eb008.1326116492.git.bert.wesarg@googlemail.com/
Pratyush Yadav (3): git-gui: Move revert confirmation dialog creation to separate function git-gui: Add the ability to revert selected lines git-gui: Add the ability to revert selected hunk
git-gui/git-gui.sh | 39 ++++++++++++++++++++++++-- git-gui/lib/diff.tcl | 65 ++++++++++++++++++++++++++++++++++++------- git-gui/lib/index.tcl | 27 +++++++++++------- 3 files changed, 109 insertions(+), 22 deletions(-)
-- 2.21.0