1
0
mirror of https://github.com/git/git.git synced 2024-11-20 17:25:26 +01:00
git/lib
Johannes Sixt 63aa1d0cb7 git-gui: Do not munge conflict marker lines in a normal diff
Previously, conflict markers were highlighted in two ways: (1) They
received a distinguishing color; and (2) they had the '+' removed at the
beginning of the line. However, by doing (2), a hunk that contained
conflict markers could not be staged or unstaged because the resulting
patch was corrupted. With this change we no longer modify the diff text
of a 2-way diff, so that "Stage Hunk" and friends work.

Note that 3-way diff of a conflicted file is unaffected by this change,
and '++' before conflict markers is still removed. But this has no negative
impact because in this mode staging hunks or lines is disabled anyway.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2008-11-01 16:12:29 -07:00
..
about.tcl
blame.tcl git-gui: Fix the blame viewer destroy handler. 2008-10-10 09:33:21 -07:00
branch_checkout.tcl
branch_create.tcl git-gui: Setup branch.remote,merge for shorthand git-pull 2008-05-08 20:20:27 -04:00
branch_delete.tcl git-gui: Delete branches with 'git branch -D' to clear config 2008-05-08 20:29:42 -04:00
branch_rename.tcl
branch.tcl
browser.tcl git-gui: Allow specifying an initial line for git gui blame. 2008-08-24 22:00:01 -07:00
checkout_op.tcl git-gui: Setup branch.remote,merge for shorthand git-pull 2008-05-08 20:20:27 -04:00
choose_font.tcl
choose_repository.tcl git-gui: Make input boxes in init/clone/open dialogs consistent 2008-09-30 12:59:18 -07:00
choose_rev.tcl
class.tcl
commit.tcl git-gui: Add more integration options to citool. 2008-09-24 09:53:01 -07:00
console.tcl
database.tcl
date.tcl
diff.tcl git-gui: Do not munge conflict marker lines in a normal diff 2008-11-01 16:12:29 -07:00
encoding.tcl git-gui: Optimize encoding name resolution using a lookup table. 2008-09-24 12:48:32 -07:00
error.tcl
git-gui.ico
index.tcl git-gui: Make Ctrl-T safe to use for conflicting files. 2008-09-30 11:47:33 -07:00
logo.tcl
merge.tcl git-gui: Fix switch statement in lib/merge.tcl 2008-10-10 09:31:58 -07:00
mergetool.tcl git-gui: Make Ctrl-T safe to use for conflicting files. 2008-09-30 11:47:33 -07:00
option.tcl git-gui: Add a menu of available encodings. 2008-09-24 12:48:32 -07:00
remote_add.tcl git-gui: Fix fetching from remotes when adding them 2008-09-30 12:59:37 -07:00
remote_branch_delete.tcl git-gui: Avoid using the term URL when specifying repositories 2008-09-30 12:59:18 -07:00
remote.tcl git-gui: Fix removing non-pushable remotes 2008-09-30 12:59:37 -07:00
search.tcl git-gui: Add a search command to the blame viewer. 2008-10-10 09:33:21 -07:00
shortcut.tcl
spellcheck.tcl git-gui: Remove space from the end of aspell's reply before processing 2008-09-30 12:59:18 -07:00
sshkey.tcl git-gui: Add a dialog that shows the OpenSSH public key. 2008-11-01 16:01:23 -07:00
status_bar.tcl
transport.tcl git-gui: Avoid using the term URL when specifying repositories 2008-09-30 12:59:18 -07:00
win32_shortcut.js
win32.tcl