Escape the quotes in example/gitconfig
authorCatalin Marinas <catalin.marinas@gmail.com>
Tue, 6 Feb 2007 22:45:18 +0000 (22:45 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Tue, 6 Feb 2007 22:45:18 +0000 (22:45 +0000)
With the new git-repo-config, the quotes are ignored unless escaped,
breaking some functionality (emacs interactive merger).

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
examples/gitconfig

index 60f6e85..4e775fc 100644 (file)
        # same data as 'branch1'. This is useful for tools that do not take an
        # output parameter
        #merger = diff3 -L current -L ancestor -L patched -m -E \
-       #       "%(branch1)s" "%(ancestor)s" "%(branch2)s" > "%(output)s"
+       #       \"%(branch1)s\" \"%(ancestor)s\" \"%(branch2)s\" \
+       #       > \"%(output)s\"
 
        # Interactive three-way merge tool. It is executed by the 'resolved
        # --interactive' command
        #imerger = xxdiff --title1 current --title2 ancestor --title3 patched \
-       #       --show-merged-pane -m -E -O -X -M "%(output)s" \
-       #       "%(branch1)s" "%(ancestor)s" "%(branch2)s"
+       #       --show-merged-pane -m -E -O -X -M \"%(output)s\" \
+       #       \"%(branch1)s\" \"%(ancestor)s\" \"%(branch2)s\"
        #imerger = emacs --eval '(ediff-merge-files-with-ancestor \
-       #       "%(branch1)s" "%(branch2)s" "%(ancestor)s" nil "%(output)s")'
+       #       \"%(branch1)s\" \"%(branch2)s\" \"%(ancestor)s\" nil \
+       #       \"%(output)s\")'
 
        # Automatically invoke the interactive merger in case of conflicts
        #autoimerge = no