Code

mergetool: Fix typo in options passed to kdiff3
authorTheodore Ts'o <tytso@mit.edu>
Sat, 29 Sep 2007 02:26:05 +0000 (22:26 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 29 Sep 2007 02:26:05 +0000 (22:26 -0400)
Fix missing double hyphens in "-L1" and "-L2"

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
git-mergetool.sh

index a92019a1ed01e7f88145576f518f37fe7f8678bd..9f4f3134b60174495c23968cf1ca01ffdbc49bdf 100755 (executable)
@@ -192,10 +192,10 @@ merge_file () {
     case "$merge_tool" in
        kdiff3)
            if base_present ; then
-               (kdiff3 --auto --L1 "$path (Base)" -L2 "$path (Local)" --L3 "$path (Remote)" \
+               (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)" \
+               (kdiff3 --auto --L1 "$path (Local)" --L2 "$path (Remote)" \
                    -o "$path" -- "$LOCAL" "$REMOTE" > /dev/null 2>&1)
            fi
            status=$?