X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/79df2f0df89f382b63e4122aa15099a257a06463..b13d080c1b6f59d78c276932f72da1971cc6fd2d:/examples/gitconfig?ds=sidebyside diff --git a/examples/gitconfig b/examples/gitconfig index 0c0555a..bbb943f 100644 --- a/examples/gitconfig +++ b/examples/gitconfig @@ -33,22 +33,43 @@ #pager = ~/share/stgit/contrib/diffcol.sh #pager = filterdiff --annotate | colordiff | less -FRX - # GIT pull command (should take the same arguments as git-pull) + # GIT pull and fetch commands (should take the same arguments as + # git-fetch or git-pull). By default: #pullcmd = git-pull + #fetchcmd = git-fetch + + # "stg pull" policy. This is the repository default, which can be + # overriden on a per-branch basis using branch.*.stgit.pull-policy + # By default: + #pull-policy = pull + # To support remote rewinding parent branches: + #pull-policy = fetch-rebase + # To support local parent branches: + #pull-policy = rebase # The three-way merge tool. Note that the 'output' file contains the # 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 two/three-way merge tool. It is executed by the + # 'resolved --interactive' command + #i3merge = xxdiff --title1 current --title2 ancestor --title3 patched \ + # --show-merged-pane -m -E -O -X -M \"%(output)s\" \ + # \"%(branch1)s\" \"%(ancestor)s\" \"%(branch2)s\" + #i2merge = xxdiff --title1 current --title2 patched \ + # --show-merged-pane -m -E -O -X -M \"%(output)s\" \ + # \"%(branch1)s\" \"%(branch2)s\" + #i3merge = emacs --eval '(ediff-merge-files-with-ancestor \ + # \"%(branch1)s\" \"%(branch2)s\" \"%(ancestor)s\" nil \ + # \"%(output)s\")' + #i2merge = emacs --eval '(ediff-merge-files \ + # \"%(branch1)s\" \"%(branch2)s\" nil \"%(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" - #imerger = emacs --eval '(ediff-merge-files-with-ancestor \ - # "%(branch1)s" "%(branch2)s" "%(ancestor)s" nil "%(output)s")' + # Automatically invoke the interactive merger in case of conflicts + #autoimerge = no # Leave the original files in the working tree in case of a # merge conflict @@ -61,6 +82,10 @@ # current, patched) #extensions = .ancestor .current .patched + # The number of patches to be listed before and after the + # current one by the 'series --short' command + #shortnr = 5 + [mail "alias"] # E-mail aliases used with the 'mail' command git = git@vger.kernel.org