Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] Open external merge tool with original file extensions in all three files

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:55

Pini Reznik [off-list ref] writes:
This required to be able to use syntax highlighting in meld during
conflicts resolution....
+    extension=`echo $path | awk -F \. '{print $NF}'`
+    BACKUP="$path.BACKUP.$$.${extension}"
+    LOCAL="$path.LOCAL.$$.${extension}"
+    REMOTE="$path.REMOTE.$$.${extension}"
+    BASE="$path.BASE.$$.${extension}"
I had to wonder what would happen in these cases:

 * path = "a/b/c/d"
 * path = "a/b.c/d"

I also think spawning awk for this is way overkill.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help