zsh-workers
 help / color / mirror / code / Atom feed
From: Hannu Koivisto <azure@iki.fi>
To: zsh-workers@zsh.org
Subject: [PATCH 2/3] _git: add merge.conflictstyle option
Date: Mon, 05 Apr 2010 20:43:34 +0300	[thread overview]
Message-ID: <831vesfgri.fsf@kalahari.s2.org> (raw)

---
 Completion/Unix/Command/_git |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 96e3284..f2022c7 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -3290,6 +3290,7 @@ __git_config_name () {
       'i18n.commitEncoding:character encoding commit messages are stored in'
       'i18n.logOutputEncoding:character encoding commit messages are output in'
       'log.showroot:whether to show initial commit as a diff against an empty tree or not'
+      'merge.conflictstyle:the style in which conflicted hunks are written'
       'merge.log:whether to include summaries of merged commits'
       'merge.tool:tool to use for merges (by git-mergetool)'
       'merge.verbosity:amount of output shown by recursive merge strategy'
@@ -3739,6 +3740,15 @@ __git_config_values () {
 
       _describe -t booleans 'boolean' booleans
       ;;
+    ((#i)merge.conflictstyle)
+      declare -a conflictstyles
+
+      conflictstyles=(
+        'merge:traditional RCS style (default)'
+        'diff3:also show the original text after ||||||| marker')
+
+      _describe -t conflict-styles 'conflict style' conflictstyles
+      ;;
     ((#i)merge.log)
       declare -a booleans
 
-- 
1.6.6.GIT


                 reply	other threads:[~2010-04-06 21:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=831vesfgri.fsf@kalahari.s2.org \
    --to=azure@iki.fi \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).