git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-gui: Fix use of renamed tag.

From
Pat Thoyts <patthoyts@users.sourceforge.net>
Date
Dec 6, 2010, 21:20 UTC
Message-ID
<87ipz6y4wh.fsf@fox.patthoyts.tk>
In-Reply-To
<c24527d4bb9cdc1f72f27c2154d0320ee5579fa1.1291018765.git.bert.wesarg@googlemail.com>
Bert Wesarg <bert.wesarg@googlemail.com> writes:
Show 40 quoted lines
>The d======= was renamed to d= in 4590307.
>
>Fix this.
>
>Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
>---
> lib/diff.tcl |    8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
>diff --git a/lib/diff.tcl b/lib/diff.tcl
>index 8fea947..7b1fddf 100644
>--- a/lib/diff.tcl
>+++ b/lib/diff.tcl
>@@ -122,22 +122,22 @@ proc show_unmerged_diff {cont_info} {
> 	if {$merge_stages(2) eq {}} {
> 		set is_conflict_diff 1
> 		lappend current_diff_queue \
>-			[list [mc "LOCAL: deleted\nREMOTE:\n"] d======= \
>+			[list [mc "LOCAL: deleted\nREMOTE:\n"] d= \
> 			    [list ":1:$current_diff_path" ":3:$current_diff_path"]]
> 	} elseif {$merge_stages(3) eq {}} {
> 		set is_conflict_diff 1
> 		lappend current_diff_queue \
>-			[list [mc "REMOTE: deleted\nLOCAL:\n"] d======= \
>+			[list [mc "REMOTE: deleted\nLOCAL:\n"] d= \
> 			    [list ":1:$current_diff_path" ":2:$current_diff_path"]]
> 	} elseif {[lindex $merge_stages(1) 0] eq {120000}
> 		|| [lindex $merge_stages(2) 0] eq {120000}
> 		|| [lindex $merge_stages(3) 0] eq {120000}} {
> 		set is_conflict_diff 1
> 		lappend current_diff_queue \
>-			[list [mc "LOCAL:\n"] d======= \
>+			[list [mc "LOCAL:\n"] d= \
> 			    [list ":1:$current_diff_path" ":2:$current_diff_path"]]
> 		lappend current_diff_queue \
>-			[list [mc "REMOTE:\n"] d======= \
>+			[list [mc "REMOTE:\n"] d= \
> 			    [list ":1:$current_diff_path" ":3:$current_diff_path"]]
> 	} else {
> 		start_show_diff $cont_info
Looks correct. Thank you.
-- 
Pat Thoyts                            http://www.patthoyts.tk/
PGP fingerprint 2C 6E 98 07 2C 59 C8 97  10 CE 11 E6 04 E0 B9 DD
Previous: Bert Wesarg
Message 2 of 2 in “git-gui: Fix use of renamed tag.”
  1. git-gui: Fix use of renamed tag.Bert Wesarg, Nov 29, 2010
  2. Pat ThoytsDec 6, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.