Skip to contentSkip to conversation

git-mergetool

DISCUSSION Mattias Ulbrich 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hello everybody,

There might by a tiny typo-bug in the git-mergetool:

-----------
case "$merge_tool" in

	kdiff3)
	    if base_present ; then
		(kdiff3 --auto --L1 "$path (Base)" -L2 "$path (Local)" --L3 "$path (Remote)" 
\
		    -o "$path" -- "$BASE" "$LOCAL" "$REMOTE" > /dev/null 2>&1)
	    else
		(kdiff3 --auto -L1 "$path (Local)" --L2 "$path (Remote)" \
		    -o "$path" -- "$LOCAL" "$REMOTE" > /dev/null 2>&1)
	    fi

-----------

In the first call to kdiff3 the argument is only -L2 but should be --L2 (two minus signs) like in the second call - where -L1 misses its second "-".

Thank you for a very mighty set of tool

Sincerely

Mattias

Signature · 4 lines
Mattias Ulbrich
Forschungsgruppe Prof. Dr. P.H. Schmitt
Institut für Theoretische Informatik
Universität Karlsruhe