]> granicus.if.org Git - git/commit
Merge branch 'py/revert-hunks-lines'
authorPratyush Yadav <me@yadavpratyush.com>
Wed, 11 Sep 2019 21:11:12 +0000 (02:41 +0530)
committerPratyush Yadav <me@yadavpratyush.com>
Wed, 11 Sep 2019 21:11:12 +0000 (02:41 +0530)
commitc77abf04604d74859f3ec81c44cd4ef2b084ebde
tree09e6002e7afbdd8f99b9b0137dc70763b2230362
parent5a2bb6218097e7aa73e263c0d7743a477b520101
parenta4fa2f0a4c1a1ef7f2987fb9d38342fcaad78a75
Merge branch 'py/revert-hunks-lines'

git-gui learned to revert selected lines and hunks, just like it can
stage selected lines and hunks. To provide a safety net for accidental
revert, the most recent revert can be undone.

* py/revert-hunks-lines:
  git-gui: allow undoing last revert
  git-gui: return early when patch fails to apply
  git-gui: allow reverting selected hunk
  git-gui: allow reverting selected lines
git-gui.sh