* [PATCH 1/4] Documentation: Add filter.<driver>.* to config
2011-04-06 9:57 ` [PATCH v4 0/4] Document diff and filter drivers in config Ramkumar Ramachandra
@ 2011-04-06 9:57 ` Ramkumar Ramachandra
2011-04-06 11:27 ` Michael J Gruber
2011-04-06 9:57 ` [PATCH 2/4] Documentation: Add diff.<driver>.* " Ramkumar Ramachandra
` (4 subsequent siblings)
5 siblings, 1 reply; 33+ messages in thread
From: Ramkumar Ramachandra @ 2011-04-06 9:57 UTC (permalink / raw)
To: Git List; +Cc: Jakub Narebski, Michael J Gruber, Junio C Hamano
Although the gitattributes page contains comprehensive information
about these configuration options, they should be included in the
config documentation for completeness.
Helped-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
Documentation/config.txt | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 8ea55d4..654a3b8 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -973,6 +973,15 @@ format.signoff::
the rights to submit this work under the same open source license.
Please see the 'SubmittingPatches' document for further discussion.
+filter.<driver>.clean::
+ The command which is used to convert the contents of worktree
+ file upon checkin. See linkgit:gitattributes[5] for details.
+
+filter.<driver>.smudge::
+ The command which is used to convert the blob object to
+ worktree file upon checkout. See linkgit:gitattributes[5] for
+ details.
+
gc.aggressiveWindow::
The window size parameter used in the delta compression
algorithm used by 'git gc --aggressive'. This defaults
--
1.7.4.rc1.7.g2cf08.dirty
^ permalink raw reply related [flat|nested] 33+ messages in thread
* Re: [PATCH 1/4] Documentation: Add filter.<driver>.* to config
2011-04-06 9:57 ` [PATCH 1/4] Documentation: Add filter.<driver>.* to config Ramkumar Ramachandra
@ 2011-04-06 11:27 ` Michael J Gruber
2011-04-06 12:51 ` Ramkumar Ramachandra
0 siblings, 1 reply; 33+ messages in thread
From: Michael J Gruber @ 2011-04-06 11:27 UTC (permalink / raw)
To: Ramkumar Ramachandra; +Cc: Git List, Jakub Narebski, Junio C Hamano
Ramkumar Ramachandra venit, vidit, dixit 06.04.2011 11:57:
> Although the gitattributes page contains comprehensive information
> about these configuration options, they should be included in the
> config documentation for completeness.
>
> Helped-by: Michael J Gruber <git@drmicha.warpmail.net>
> Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
> ---
> Documentation/config.txt | 9 +++++++++
> 1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/config.txt b/Documentation/config.txt
> index 8ea55d4..654a3b8 100644
> --- a/Documentation/config.txt
> +++ b/Documentation/config.txt
> @@ -973,6 +973,15 @@ format.signoff::
> the rights to submit this work under the same open source license.
> Please see the 'SubmittingPatches' document for further discussion.
>
> +filter.<driver>.clean::
> + The command which is used to convert the contents of worktree
> + file upon checkin. See linkgit:gitattributes[5] for details.
I don't want to be a PITA, but is there any particular reason you are
refusing to use the article "a" even after repeated suggestions to use
it? (Also, I suggested to say what we are converting into here.)
> +
> +filter.<driver>.smudge::
> + The command which is used to convert the blob object to
> + worktree file upon checkout. See linkgit:gitattributes[5] for
> + details.
> +
You see, before my first response in this thread I thought: "Doing this
myself would be less work than replying and explaining things, but I'll
try to be nice."
Now, this is v4, I've even provided complete sentences ready for copy &
paste, and we're still iterating. It turned out to be *much more* work
than doing it myself. I'm sorry but I can't afford to spend even more
time on this.
> gc.aggressiveWindow::
> The window size parameter used in the delta compression
> algorithm used by 'git gc --aggressive'. This defaults
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [PATCH 1/4] Documentation: Add filter.<driver>.* to config
2011-04-06 11:27 ` Michael J Gruber
@ 2011-04-06 12:51 ` Ramkumar Ramachandra
2011-04-06 16:50 ` Junio C Hamano
0 siblings, 1 reply; 33+ messages in thread
From: Ramkumar Ramachandra @ 2011-04-06 12:51 UTC (permalink / raw)
To: Michael J Gruber; +Cc: Git List, Jakub Narebski, Junio C Hamano
Hi Michael,
Michael J Gruber writes:
> Ramkumar Ramachandra venit, vidit, dixit 06.04.2011 11:57:
> > Although the gitattributes page contains comprehensive information
> > about these configuration options, they should be included in the
> > config documentation for completeness.
> >
> > Helped-by: Michael J Gruber <git@drmicha.warpmail.net>
> > Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
> > ---
> > Documentation/config.txt | 9 +++++++++
> > 1 files changed, 9 insertions(+), 0 deletions(-)
> >
> > diff --git a/Documentation/config.txt b/Documentation/config.txt
> > index 8ea55d4..654a3b8 100644
> > --- a/Documentation/config.txt
> > +++ b/Documentation/config.txt
> > @@ -973,6 +973,15 @@ format.signoff::
> > the rights to submit this work under the same open source license.
> > Please see the 'SubmittingPatches' document for further discussion.
> >
> > +filter.<driver>.clean::
> > + The command which is used to convert the contents of worktree
> > + file upon checkin. See linkgit:gitattributes[5] for details.
>
> I don't want to be a PITA, but is there any particular reason you are
> refusing to use the article "a" even after repeated suggestions to use
> it? (Also, I suggested to say what we are converting into here.)
Ouch, sorry.
> > +
> > +filter.<driver>.smudge::
> > + The command which is used to convert the blob object to
> > + worktree file upon checkout. See linkgit:gitattributes[5] for
> > + details.
> > +
>
> You see, before my first response in this thread I thought: "Doing this
> myself would be less work than replying and explaining things, but I'll
> try to be nice."
>
> Now, this is v4, I've even provided complete sentences ready for copy &
> paste, and we're still iterating. It turned out to be *much more* work
> than doing it myself. I'm sorry but I can't afford to spend even more
> time on this.
I'm very sorry to have caused so much pain. Yes, I can imagine how
terrible it must be to review several iterations of a simple
documentation patch. Thank you for being so patient with me so far- I
understand if you don't want to do this anymore.
I do spend time proofreading patches before sending them out, but I'm
clearly not very good at it. In future, I'll either try rewriting
entire paragraphs or simply refrain from writing documentation
patches. Please try to understand that sending out many iterations of
a documentation patch isn't something I particularly enjoy doing.
I'll send out another iteration of this series anyway.
-- Ram
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [PATCH 1/4] Documentation: Add filter.<driver>.* to config
2011-04-06 12:51 ` Ramkumar Ramachandra
@ 2011-04-06 16:50 ` Junio C Hamano
2011-04-06 18:09 ` Ramkumar Ramachandra
0 siblings, 1 reply; 33+ messages in thread
From: Junio C Hamano @ 2011-04-06 16:50 UTC (permalink / raw)
To: Ramkumar Ramachandra; +Cc: Michael J Gruber, Git List, Jakub Narebski
Ramkumar Ramachandra <artagnon@gmail.com> writes:
> I'm very sorry to have caused so much pain. Yes, I can imagine how
> terrible it must be to review several iterations of a simple
> documentation patch. Thank you for being so patient with me so far- I
> understand if you don't want to do this anymore.
>
> I do spend time proofreading patches before sending them out, but I'm
> clearly not very good at it. In future, I'll either try rewriting
> entire paragraphs or simply refrain from writing documentation patches.
I do not think that is the lesson you should learn from this exchange. A
major part of Michael's complaint (which I think was justified) was that
he even made a suggestion that is ready to be cut-and-pasted, but your
reroll does not use the suggested phrasing _without_ explaining why it
doesn't.
It is not limited to "documentation patches". If you get a "how about
doing it this way---isn't it cleaner?" suggestion to your code patch, you
at least owe either "yeah, that looks better---thanks, I've used it in
this reroll" or "no, because...; I've used the original" to the person who
tried to help you, no?
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [PATCH 1/4] Documentation: Add filter.<driver>.* to config
2011-04-06 16:50 ` Junio C Hamano
@ 2011-04-06 18:09 ` Ramkumar Ramachandra
2011-04-07 11:57 ` Michael J Gruber
0 siblings, 1 reply; 33+ messages in thread
From: Ramkumar Ramachandra @ 2011-04-06 18:09 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Michael J Gruber, Git List, Jakub Narebski
Hi Junio,
Junio C Hamano writes:
> Ramkumar Ramachandra <artagnon@gmail.com> writes:
> > I'm very sorry to have caused so much pain. Yes, I can imagine how
> > terrible it must be to review several iterations of a simple
> > documentation patch. Thank you for being so patient with me so far- I
> > understand if you don't want to do this anymore.
> >
> > I do spend time proofreading patches before sending them out, but I'm
> > clearly not very good at it. In future, I'll either try rewriting
> > entire paragraphs or simply refrain from writing documentation patches.
>
> I do not think that is the lesson you should learn from this exchange. A
> major part of Michael's complaint (which I think was justified) was that
> he even made a suggestion that is ready to be cut-and-pasted, but your
> reroll does not use the suggested phrasing _without_ explaining why it
> doesn't.
>
> It is not limited to "documentation patches". If you get a "how about
> doing it this way---isn't it cleaner?" suggestion to your code patch, you
> at least owe either "yeah, that looks better---thanks, I've used it in
> this reroll" or "no, because...; I've used the original" to the person who
> tried to help you, no?
I completely agree -- all of Michael's suggestions were excellent, and
I'd definitely owe him an explanation for not using something. In
this particular case, it was an honest mistake though- I meant to
include Michael's version, but I'd rolled out the wrong commit after
rebasing.
-- Ram
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [PATCH 1/4] Documentation: Add filter.<driver>.* to config
2011-04-06 18:09 ` Ramkumar Ramachandra
@ 2011-04-07 11:57 ` Michael J Gruber
2011-04-07 16:19 ` Ramkumar Ramachandra
0 siblings, 1 reply; 33+ messages in thread
From: Michael J Gruber @ 2011-04-07 11:57 UTC (permalink / raw)
To: Ramkumar Ramachandra; +Cc: Junio C Hamano, Git List, Jakub Narebski
Ramkumar Ramachandra venit, vidit, dixit 06.04.2011 20:09:
> Hi Junio,
>
> Junio C Hamano writes:
>> Ramkumar Ramachandra <artagnon@gmail.com> writes:
>>> I'm very sorry to have caused so much pain. Yes, I can imagine how
>>> terrible it must be to review several iterations of a simple
>>> documentation patch. Thank you for being so patient with me so far- I
>>> understand if you don't want to do this anymore.
>>>
>>> I do spend time proofreading patches before sending them out, but I'm
>>> clearly not very good at it. In future, I'll either try rewriting
>>> entire paragraphs or simply refrain from writing documentation patches.
>>
>> I do not think that is the lesson you should learn from this exchange. A
>> major part of Michael's complaint (which I think was justified) was that
>> he even made a suggestion that is ready to be cut-and-pasted, but your
>> reroll does not use the suggested phrasing _without_ explaining why it
>> doesn't.
>>
>> It is not limited to "documentation patches". If you get a "how about
>> doing it this way---isn't it cleaner?" suggestion to your code patch, you
>> at least owe either "yeah, that looks better---thanks, I've used it in
>> this reroll" or "no, because...; I've used the original" to the person who
>> tried to help you, no?
>
> I completely agree -- all of Michael's suggestions were excellent, and
> I'd definitely owe him an explanation for not using something. In
> this particular case, it was an honest mistake though- I meant to
> include Michael's version, but I'd rolled out the wrong commit after
> rebasing.
Ram, all is well (explained) now, and please don't give up on
documentation patches. You see, it happened to me again and again that I
submitted something, and someone took over the initiative or the idea
and submitted something under his name. And that is completely OK (after
all I had signed off on my patch, it's part of the O in OSS) but
"deprives" the original submitter of the "reward" of having the commit
count incremented. And that is what I wanted to spare you by not
submitting my own version.
Cheers,
Michael
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [PATCH 1/4] Documentation: Add filter.<driver>.* to config
2011-04-07 11:57 ` Michael J Gruber
@ 2011-04-07 16:19 ` Ramkumar Ramachandra
0 siblings, 0 replies; 33+ messages in thread
From: Ramkumar Ramachandra @ 2011-04-07 16:19 UTC (permalink / raw)
To: Michael J Gruber; +Cc: Junio C Hamano, Git List, Jakub Narebski
Hi Michael,
Michael J Gruber writes:
> Ramkumar Ramachandra venit, vidit, dixit 06.04.2011 20:09:
> > Junio C Hamano writes:
> >> Ramkumar Ramachandra <artagnon@gmail.com> writes:
> >>> I'm very sorry to have caused so much pain. Yes, I can imagine how
> >>> terrible it must be to review several iterations of a simple
> >>> documentation patch. Thank you for being so patient with me so far- I
> >>> understand if you don't want to do this anymore.
> >>>
> >>> I do spend time proofreading patches before sending them out, but I'm
> >>> clearly not very good at it. In future, I'll either try rewriting
> >>> entire paragraphs or simply refrain from writing documentation patches.
> >>
> >> I do not think that is the lesson you should learn from this exchange. A
> >> major part of Michael's complaint (which I think was justified) was that
> >> he even made a suggestion that is ready to be cut-and-pasted, but your
> >> reroll does not use the suggested phrasing _without_ explaining why it
> >> doesn't.
> >>
> >> It is not limited to "documentation patches". If you get a "how about
> >> doing it this way---isn't it cleaner?" suggestion to your code patch, you
> >> at least owe either "yeah, that looks better---thanks, I've used it in
> >> this reroll" or "no, because...; I've used the original" to the person who
> >> tried to help you, no?
> >
> > I completely agree -- all of Michael's suggestions were excellent, and
> > I'd definitely owe him an explanation for not using something. In
> > this particular case, it was an honest mistake though- I meant to
> > include Michael's version, but I'd rolled out the wrong commit after
> > rebasing.
>
> Ram, all is well (explained) now, and please don't give up on
> documentation patches. You see, it happened to me again and again that I
> submitted something, and someone took over the initiative or the idea
> and submitted something under his name. And that is completely OK (after
> all I had signed off on my patch, it's part of the O in OSS) but
> "deprives" the original submitter of the "reward" of having the commit
> count incremented. And that is what I wanted to spare you by not
> submitting my own version.
Cool, thanks for understanding and bearing with my slopiness :p
Yes, I strongly believe that we should spend time writing reviews,
even if it's quicker to redo the series entirely* -- that's how we can
get more contributors :)
* This is often the case with inexperienced contributors
-- Ram
^ permalink raw reply [flat|nested] 33+ messages in thread
* [PATCH 2/4] Documentation: Add diff.<driver>.* to config
2011-04-06 9:57 ` [PATCH v4 0/4] Document diff and filter drivers in config Ramkumar Ramachandra
2011-04-06 9:57 ` [PATCH 1/4] Documentation: Add filter.<driver>.* to config Ramkumar Ramachandra
@ 2011-04-06 9:57 ` Ramkumar Ramachandra
2011-04-06 9:57 ` [PATCH 3/4] Documentation: Allow custom diff tools to be specified in 'diff.tool' Ramkumar Ramachandra
` (3 subsequent siblings)
5 siblings, 0 replies; 33+ messages in thread
From: Ramkumar Ramachandra @ 2011-04-06 9:57 UTC (permalink / raw)
To: Git List; +Cc: Jakub Narebski, Michael J Gruber, Junio C Hamano
Although the gitattributes page contains comprehensive information
about these configuration options, they should be included in the
config documentation for completeness.
Helped-by: Jakub Narebski <jnareb@gmail.com>
Helped-by: Michael J Gruber <git@drmicha.warpmail.net>
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
Documentation/config.txt | 63 +----------------------------
Documentation/diff-config.txt | 90 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 91 insertions(+), 62 deletions(-)
create mode 100644 Documentation/diff-config.txt
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 654a3b8..4e13735 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -812,68 +812,7 @@ commit.template::
"{tilde}/" is expanded to the value of `$HOME` and "{tilde}user/" to the
specified user's home directory.
-diff.autorefreshindex::
- When using 'git diff' to compare with work tree
- files, do not consider stat-only change as changed.
- Instead, silently run `git update-index --refresh` to
- update the cached stat information for paths whose
- contents in the work tree match the contents in the
- index. This option defaults to true. Note that this
- affects only 'git diff' Porcelain, and not lower level
- 'diff' commands such as 'git diff-files'.
-
-diff.external::
- If this config variable is set, diff generation is not
- performed using the internal diff machinery, but using the
- given command. Can be overridden with the `GIT_EXTERNAL_DIFF'
- environment variable. The command is called with parameters
- as described under "git Diffs" in linkgit:git[1]. Note: if
- you want to use an external diff program only on a subset of
- your files, you might want to use linkgit:gitattributes[5] instead.
-
-diff.mnemonicprefix::
- If set, 'git diff' uses a prefix pair that is different from the
- standard "a/" and "b/" depending on what is being compared. When
- this configuration is in effect, reverse diff output also swaps
- the order of the prefixes:
-`git diff`;;
- compares the (i)ndex and the (w)ork tree;
-`git diff HEAD`;;
- compares a (c)ommit and the (w)ork tree;
-`git diff --cached`;;
- compares a (c)ommit and the (i)ndex;
-`git diff HEAD:file1 file2`;;
- compares an (o)bject and a (w)ork tree entity;
-`git diff --no-index a b`;;
- compares two non-git things (1) and (2).
-
-diff.noprefix::
- If set, 'git diff' does not show any source or destination prefix.
-
-diff.renameLimit::
- The number of files to consider when performing the copy/rename
- detection; equivalent to the 'git diff' option '-l'.
-
-diff.renames::
- Tells git to detect renames. If set to any boolean value, it
- will enable basic rename detection. If set to "copies" or
- "copy", it will detect copies, as well.
-
-diff.ignoreSubmodules::
- Sets the default value of --ignore-submodules. Note that this
- affects only 'git diff' Porcelain, and not lower level 'diff'
- commands such as 'git diff-files'. 'git checkout' also honors
- this setting when reporting uncommitted changes.
-
-diff.suppressBlankEmpty::
- A boolean to inhibit the standard behavior of printing a space
- before each empty output line. Defaults to false.
-
-diff.tool::
- Controls which diff tool is used. `diff.tool` overrides
- `merge.tool` when used by linkgit:git-difftool[1] and has
- the same valid values as `merge.tool` minus "tortoisemerge"
- and plus "kompare".
+include::diff-config.txt[]
difftool.<tool>.path::
Override the path for the given tool. This is useful in case
diff --git a/Documentation/diff-config.txt b/Documentation/diff-config.txt
new file mode 100644
index 0000000..0796d5e
--- /dev/null
+++ b/Documentation/diff-config.txt
@@ -0,0 +1,90 @@
+diff.autorefreshindex::
+ When using 'git diff' to compare with work tree
+ files, do not consider stat-only change as changed.
+ Instead, silently run `git update-index --refresh` to
+ update the cached stat information for paths whose
+ contents in the work tree match the contents in the
+ index. This option defaults to true. Note that this
+ affects only 'git diff' Porcelain, and not lower level
+ 'diff' commands such as 'git diff-files'.
+
+diff.external::
+ If this config variable is set, diff generation is not
+ performed using the internal diff machinery, but using the
+ given command. Can be overridden with the `GIT_EXTERNAL_DIFF'
+ environment variable. The command is called with parameters
+ as described under "git Diffs" in linkgit:git[1]. Note: if
+ you want to use an external diff program only on a subset of
+ your files, you might want to use linkgit:gitattributes[5] instead.
+
+diff.ignoreSubmodules::
+ Sets the default value of --ignore-submodules. Note that this
+ affects only 'git diff' Porcelain, and not lower level 'diff'
+ commands such as 'git diff-files'. 'git checkout' also honors
+ this setting when reporting uncommitted changes.
+
+diff.mnemonicprefix::
+ If set, 'git diff' uses a prefix pair that is different from the
+ standard "a/" and "b/" depending on what is being compared. When
+ this configuration is in effect, reverse diff output also swaps
+ the order of the prefixes:
+`git diff`;;
+ compares the (i)ndex and the (w)ork tree;
+`git diff HEAD`;;
+ compares a (c)ommit and the (w)ork tree;
+`git diff --cached`;;
+ compares a (c)ommit and the (i)ndex;
+`git diff HEAD:file1 file2`;;
+ compares an (o)bject and a (w)ork tree entity;
+`git diff --no-index a b`;;
+ compares two non-git things (1) and (2).
+
+diff.noprefix::
+ If set, 'git diff' does not show any source or destination prefix.
+
+diff.renameLimit::
+ The number of files to consider when performing the copy/rename
+ detection; equivalent to the 'git diff' option '-l'.
+
+diff.renames::
+ Tells git to detect renames. If set to any boolean value, it
+ will enable basic rename detection. If set to "copies" or
+ "copy", it will detect copies, as well.
+
+diff.suppressBlankEmpty::
+ A boolean to inhibit the standard behavior of printing a space
+ before each empty output line. Defaults to false.
+
+diff.tool::
+ Controls which diff tool is used. `diff.tool` overrides
+ `merge.tool` when used by linkgit:git-difftool[1] and has
+ the same valid values as `merge.tool` minus "tortoisemerge"
+ and plus "kompare".
+
+diff.<driver>.command::
+ The custom diff driver command. See linkgit:gitattributes[5]
+ for details.
+
+diff.<driver>.xfuncname::
+ The regular expression that the custom diff driver should use
+ to recognize the hunk header. A built-in pattern may also be
+ used. See linkgit:gitattributes[5] for details.
+
+diff.<driver>.binary::
+ Set this option to true to make the custom diff driver treat
+ files as binary. See linkgit:gitattributes[5] for details.
+
+diff.<driver>.textconv::
+ The command that the diff driver should call to generate the
+ text-converted version of a file. The result of the
+ conversion is used to generate a human-readable diff. See
+ linkgit:gitattributes[5] for details.
+
+diff.<driver>.wordregex::
+ The regular expression that the diff driver should use to
+ split words in a line. See linkgit:gitattributes[5] for
+ details.
+
+diff.<driver>.cachetextconv::
+ Set this option to true to make the diff driver cache the text
+ conversion outputs. See linkgit:gitattributes[5] for details.
--
1.7.4.rc1.7.g2cf08.dirty
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [PATCH 3/4] Documentation: Allow custom diff tools to be specified in 'diff.tool'
2011-04-06 9:57 ` [PATCH v4 0/4] Document diff and filter drivers in config Ramkumar Ramachandra
2011-04-06 9:57 ` [PATCH 1/4] Documentation: Add filter.<driver>.* to config Ramkumar Ramachandra
2011-04-06 9:57 ` [PATCH 2/4] Documentation: Add diff.<driver>.* " Ramkumar Ramachandra
@ 2011-04-06 9:57 ` Ramkumar Ramachandra
2011-04-06 9:57 ` [PATCH 4/4] Documentation: Minor language improvements to merge-config Ramkumar Ramachandra
` (2 subsequent siblings)
5 siblings, 0 replies; 33+ messages in thread
From: Ramkumar Ramachandra @ 2011-04-06 9:57 UTC (permalink / raw)
To: Git List; +Cc: Jakub Narebski, Michael J Gruber, Junio C Hamano
Apart from the list of "valid values", 'diff.tool' can take any value,
provided there is a corresponding 'difftool.<tool>.cmd' option. Also,
describe this option just before the 'difftool.*' options.
Helped-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
Documentation/diff-config.txt | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/Documentation/diff-config.txt b/Documentation/diff-config.txt
index 0796d5e..f1468df 100644
--- a/Documentation/diff-config.txt
+++ b/Documentation/diff-config.txt
@@ -55,12 +55,6 @@ diff.suppressBlankEmpty::
A boolean to inhibit the standard behavior of printing a space
before each empty output line. Defaults to false.
-diff.tool::
- Controls which diff tool is used. `diff.tool` overrides
- `merge.tool` when used by linkgit:git-difftool[1] and has
- the same valid values as `merge.tool` minus "tortoisemerge"
- and plus "kompare".
-
diff.<driver>.command::
The custom diff driver command. See linkgit:gitattributes[5]
for details.
@@ -88,3 +82,10 @@ diff.<driver>.wordregex::
diff.<driver>.cachetextconv::
Set this option to true to make the diff driver cache the text
conversion outputs. See linkgit:gitattributes[5] for details.
+
+diff.tool::
+ The diff tool to used by linkgit:git-difftool[1]. This option
+ overrides `merge.tool`, and has the same valid values as
+ `merge.tool` minus "tortoisemerge" and plus "kompare". Any
+ other value is treated as a custom diff tool, and there must
+ be a corresponding 'difftool.<tool>.cmd' option.
--
1.7.4.rc1.7.g2cf08.dirty
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [PATCH 4/4] Documentation: Minor language improvements to merge-config
2011-04-06 9:57 ` [PATCH v4 0/4] Document diff and filter drivers in config Ramkumar Ramachandra
` (2 preceding siblings ...)
2011-04-06 9:57 ` [PATCH 3/4] Documentation: Allow custom diff tools to be specified in 'diff.tool' Ramkumar Ramachandra
@ 2011-04-06 9:57 ` Ramkumar Ramachandra
2011-04-06 18:46 ` [PATCH v5 0/4] Document diff and filter drivers in config Ramkumar Ramachandra
2011-04-07 12:47 ` [PATCH v4 0/4] Document diff and filter drivers in config Michael J Gruber
5 siblings, 0 replies; 33+ messages in thread
From: Ramkumar Ramachandra @ 2011-04-06 9:57 UTC (permalink / raw)
To: Git List; +Cc: Jakub Narebski, Michael J Gruber, Junio C Hamano
Improve readability by dropping superflous verbs like "specifies",
"controls", and "defines". Describe the `merge.tool` option just
before the `mergetool.*` options.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
Documentation/merge-config.txt | 38 +++++++++++++++++++-------------------
1 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/Documentation/merge-config.txt b/Documentation/merge-config.txt
index 33bf74c..d3dd640 100644
--- a/Documentation/merge-config.txt
+++ b/Documentation/merge-config.txt
@@ -1,5 +1,5 @@
merge.conflictstyle::
- Specify the style in which conflicted hunks are written out to
+ The style in which conflicted hunks are written out to
working tree files upon merge. The default is "merge", which
shows a `<<<<<<<` conflict marker, changes made by one side,
a `=======` marker, changes made by the other side, and then
@@ -28,19 +28,11 @@ merge.renormalize::
attributes" in linkgit:gitattributes[5].
merge.stat::
- Whether to print the diffstat between ORIG_HEAD and the merge result
- at the end of the merge. True by default.
-
-merge.tool::
- Controls which merge resolution program is used by
- linkgit:git-mergetool[1]. Valid built-in values are: "araxis",
- "bc3", "diffuse", "ecmerge", "emerge", "gvimdiff", "kdiff3", "meld",
- "opendiff", "p4merge", "tkdiff", "tortoisemerge", "vimdiff"
- and "xxdiff". Any other value is treated is custom merge tool
- and there must be a corresponding mergetool.<tool>.cmd option.
+ Set this option to false to omit printing the diffstat between
+ ORIG_HEAD and the merge result at the end of the merge.
merge.verbosity::
- Controls the amount of output shown by the recursive merge
+ The amount of output shown by the recursive merge
strategy. Level 0 outputs nothing except a final error
message if conflicts were detected. Level 1 outputs only
conflicts, 2 outputs conflicts and file changes. Level 5 and
@@ -48,15 +40,22 @@ merge.verbosity::
Can be overridden by the 'GIT_MERGE_VERBOSITY' environment variable.
merge.<driver>.name::
- Defines a human-readable name for a custom low-level
- merge driver. See linkgit:gitattributes[5] for details.
+ The name of the custom merge driver. See
+ linkgit:gitattributes[5] for details.
merge.<driver>.driver::
- Defines the command that implements a custom low-level
- merge driver. See linkgit:gitattributes[5] for details.
+ The command that implements the custom merge driver. See
+ linkgit:gitattributes[5] for details.
merge.<driver>.recursive::
- Names a low-level merge driver to be used when
- performing an internal merge between common ancestors.
- See linkgit:gitattributes[5] for details.
+ The merge driver to be used when performing an internal merge
+ between common ancestors. See linkgit:gitattributes[5] for
+ details.
+
+merge.tool::
+ The merge tool to be used by linkgit:git-mergetool[1]. Valid
+ built-in values are: "araxis", "bc3", "diffuse", "ecmerge",
+ "emerge", "gvimdiff", "kdiff3", "meld", "opendiff", "p4merge",
+ "tkdiff", "tortoisemerge", "vimdiff" and "xxdiff". Any other
+ value is treated as a custom merge tool, and there must be a
+ corresponding mergetool.<tool>.cmd option.
--
1.7.4.rc1.7.g2cf08.dirty
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [PATCH v5 0/4] Document diff and filter drivers in config
2011-04-06 9:57 ` [PATCH v4 0/4] Document diff and filter drivers in config Ramkumar Ramachandra
` (3 preceding siblings ...)
2011-04-06 9:57 ` [PATCH 4/4] Documentation: Minor language improvements to merge-config Ramkumar Ramachandra
@ 2011-04-06 18:46 ` Ramkumar Ramachandra
2011-04-06 18:46 ` [PATCH 1/4] Documentation: Add filter.<driver>.* to config Ramkumar Ramachandra
` (3 more replies)
2011-04-07 12:47 ` [PATCH v4 0/4] Document diff and filter drivers in config Michael J Gruber
5 siblings, 4 replies; 33+ messages in thread
From: Ramkumar Ramachandra @ 2011-04-06 18:46 UTC (permalink / raw)
To: Git List; +Cc: Jakub Narebski, Junio C Hamano
What changed since v4:
- I included the wrong commit in 1/4 last time.
- More nits and proof-reading.
-- Ram
Ramkumar Ramachandra (4):
Documentation: Add filter.<driver>.* to config
Documentation: Add diff.<driver>.* to config
Documentation: Allow custom diff tools to be specified in 'diff.tool'
Documentation: Minor language improvements to merge-config
Documentation/config.txt | 73 +++++---------------------------
Documentation/diff-config.txt | 92 ++++++++++++++++++++++++++++++++++++++++
Documentation/merge-config.txt | 39 +++++++++--------
3 files changed, 123 insertions(+), 81 deletions(-)
create mode 100644 Documentation/diff-config.txt
--
1.7.4.rc1.7.g2cf08.dirty
^ permalink raw reply [flat|nested] 33+ messages in thread
* [PATCH 1/4] Documentation: Add filter.<driver>.* to config
2011-04-06 18:46 ` [PATCH v5 0/4] Document diff and filter drivers in config Ramkumar Ramachandra
@ 2011-04-06 18:46 ` Ramkumar Ramachandra
2011-04-06 18:46 ` [PATCH 2/4] Documentation: Add diff.<driver>.* " Ramkumar Ramachandra
` (2 subsequent siblings)
3 siblings, 0 replies; 33+ messages in thread
From: Ramkumar Ramachandra @ 2011-04-06 18:46 UTC (permalink / raw)
To: Git List; +Cc: Jakub Narebski, Junio C Hamano
Although the gitattributes page contains comprehensive information
about these configuration options, they should be included in the
config documentation for completeness.
Helped-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
Documentation/config.txt | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 750c86d..d3de3d0 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -977,6 +977,16 @@ format.signoff::
the rights to submit this work under the same open source license.
Please see the 'SubmittingPatches' document for further discussion.
+filter.<driver>.clean::
+ The command which is used to convert the content of a worktree
+ file to a blob upon checkin. See linkgit:gitattributes[5] for
+ details.
+
+filter.<driver>.smudge::
+ The command which is used to convert the content of a blob
+ object to a worktree file upon checkout. See
+ linkgit:gitattributes[5] for details.
+
gc.aggressiveWindow::
The window size parameter used in the delta compression
algorithm used by 'git gc --aggressive'. This defaults
--
1.7.4.rc1.7.g2cf08.dirty
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [PATCH 2/4] Documentation: Add diff.<driver>.* to config
2011-04-06 18:46 ` [PATCH v5 0/4] Document diff and filter drivers in config Ramkumar Ramachandra
2011-04-06 18:46 ` [PATCH 1/4] Documentation: Add filter.<driver>.* to config Ramkumar Ramachandra
@ 2011-04-06 18:46 ` Ramkumar Ramachandra
2011-04-06 19:48 ` Junio C Hamano
2011-04-06 18:46 ` [PATCH 3/4] Documentation: Allow custom diff tools to be specified in 'diff.tool' Ramkumar Ramachandra
2011-04-06 18:46 ` [PATCH 4/4] Documentation: Minor language improvements to merge-config Ramkumar Ramachandra
3 siblings, 1 reply; 33+ messages in thread
From: Ramkumar Ramachandra @ 2011-04-06 18:46 UTC (permalink / raw)
To: Git List; +Cc: Jakub Narebski, Junio C Hamano
Although the gitattributes page contains comprehensive information
about these configuration options, they should be included in the
config documentation for completeness.
Helped-by: Jakub Narebski <jnareb@gmail.com>
Helped-by: Michael J Gruber <git@drmicha.warpmail.net>
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
Documentation/config.txt | 63 +----------------------------
Documentation/diff-config.txt | 90 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 91 insertions(+), 62 deletions(-)
create mode 100644 Documentation/diff-config.txt
diff --git a/Documentation/config.txt b/Documentation/config.txt
index d3de3d0..e618820 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -812,68 +812,7 @@ commit.template::
"{tilde}/" is expanded to the value of `$HOME` and "{tilde}user/" to the
specified user's home directory.
-diff.autorefreshindex::
- When using 'git diff' to compare with work tree
- files, do not consider stat-only change as changed.
- Instead, silently run `git update-index --refresh` to
- update the cached stat information for paths whose
- contents in the work tree match the contents in the
- index. This option defaults to true. Note that this
- affects only 'git diff' Porcelain, and not lower level
- 'diff' commands such as 'git diff-files'.
-
-diff.external::
- If this config variable is set, diff generation is not
- performed using the internal diff machinery, but using the
- given command. Can be overridden with the `GIT_EXTERNAL_DIFF'
- environment variable. The command is called with parameters
- as described under "git Diffs" in linkgit:git[1]. Note: if
- you want to use an external diff program only on a subset of
- your files, you might want to use linkgit:gitattributes[5] instead.
-
-diff.mnemonicprefix::
- If set, 'git diff' uses a prefix pair that is different from the
- standard "a/" and "b/" depending on what is being compared. When
- this configuration is in effect, reverse diff output also swaps
- the order of the prefixes:
-`git diff`;;
- compares the (i)ndex and the (w)ork tree;
-`git diff HEAD`;;
- compares a (c)ommit and the (w)ork tree;
-`git diff --cached`;;
- compares a (c)ommit and the (i)ndex;
-`git diff HEAD:file1 file2`;;
- compares an (o)bject and a (w)ork tree entity;
-`git diff --no-index a b`;;
- compares two non-git things (1) and (2).
-
-diff.noprefix::
- If set, 'git diff' does not show any source or destination prefix.
-
-diff.renameLimit::
- The number of files to consider when performing the copy/rename
- detection; equivalent to the 'git diff' option '-l'.
-
-diff.renames::
- Tells git to detect renames. If set to any boolean value, it
- will enable basic rename detection. If set to "copies" or
- "copy", it will detect copies, as well.
-
-diff.ignoreSubmodules::
- Sets the default value of --ignore-submodules. Note that this
- affects only 'git diff' Porcelain, and not lower level 'diff'
- commands such as 'git diff-files'. 'git checkout' also honors
- this setting when reporting uncommitted changes.
-
-diff.suppressBlankEmpty::
- A boolean to inhibit the standard behavior of printing a space
- before each empty output line. Defaults to false.
-
-diff.tool::
- Controls which diff tool is used. `diff.tool` overrides
- `merge.tool` when used by linkgit:git-difftool[1] and has
- the same valid values as `merge.tool` minus "tortoisemerge"
- and plus "kompare".
+include::diff-config.txt[]
difftool.<tool>.path::
Override the path for the given tool. This is useful in case
diff --git a/Documentation/diff-config.txt b/Documentation/diff-config.txt
new file mode 100644
index 0000000..0796d5e
--- /dev/null
+++ b/Documentation/diff-config.txt
@@ -0,0 +1,90 @@
+diff.autorefreshindex::
+ When using 'git diff' to compare with work tree
+ files, do not consider stat-only change as changed.
+ Instead, silently run `git update-index --refresh` to
+ update the cached stat information for paths whose
+ contents in the work tree match the contents in the
+ index. This option defaults to true. Note that this
+ affects only 'git diff' Porcelain, and not lower level
+ 'diff' commands such as 'git diff-files'.
+
+diff.external::
+ If this config variable is set, diff generation is not
+ performed using the internal diff machinery, but using the
+ given command. Can be overridden with the `GIT_EXTERNAL_DIFF'
+ environment variable. The command is called with parameters
+ as described under "git Diffs" in linkgit:git[1]. Note: if
+ you want to use an external diff program only on a subset of
+ your files, you might want to use linkgit:gitattributes[5] instead.
+
+diff.ignoreSubmodules::
+ Sets the default value of --ignore-submodules. Note that this
+ affects only 'git diff' Porcelain, and not lower level 'diff'
+ commands such as 'git diff-files'. 'git checkout' also honors
+ this setting when reporting uncommitted changes.
+
+diff.mnemonicprefix::
+ If set, 'git diff' uses a prefix pair that is different from the
+ standard "a/" and "b/" depending on what is being compared. When
+ this configuration is in effect, reverse diff output also swaps
+ the order of the prefixes:
+`git diff`;;
+ compares the (i)ndex and the (w)ork tree;
+`git diff HEAD`;;
+ compares a (c)ommit and the (w)ork tree;
+`git diff --cached`;;
+ compares a (c)ommit and the (i)ndex;
+`git diff HEAD:file1 file2`;;
+ compares an (o)bject and a (w)ork tree entity;
+`git diff --no-index a b`;;
+ compares two non-git things (1) and (2).
+
+diff.noprefix::
+ If set, 'git diff' does not show any source or destination prefix.
+
+diff.renameLimit::
+ The number of files to consider when performing the copy/rename
+ detection; equivalent to the 'git diff' option '-l'.
+
+diff.renames::
+ Tells git to detect renames. If set to any boolean value, it
+ will enable basic rename detection. If set to "copies" or
+ "copy", it will detect copies, as well.
+
+diff.suppressBlankEmpty::
+ A boolean to inhibit the standard behavior of printing a space
+ before each empty output line. Defaults to false.
+
+diff.tool::
+ Controls which diff tool is used. `diff.tool` overrides
+ `merge.tool` when used by linkgit:git-difftool[1] and has
+ the same valid values as `merge.tool` minus "tortoisemerge"
+ and plus "kompare".
+
+diff.<driver>.command::
+ The custom diff driver command. See linkgit:gitattributes[5]
+ for details.
+
+diff.<driver>.xfuncname::
+ The regular expression that the custom diff driver should use
+ to recognize the hunk header. A built-in pattern may also be
+ used. See linkgit:gitattributes[5] for details.
+
+diff.<driver>.binary::
+ Set this option to true to make the custom diff driver treat
+ files as binary. See linkgit:gitattributes[5] for details.
+
+diff.<driver>.textconv::
+ The command that the diff driver should call to generate the
+ text-converted version of a file. The result of the
+ conversion is used to generate a human-readable diff. See
+ linkgit:gitattributes[5] for details.
+
+diff.<driver>.wordregex::
+ The regular expression that the diff driver should use to
+ split words in a line. See linkgit:gitattributes[5] for
+ details.
+
+diff.<driver>.cachetextconv::
+ Set this option to true to make the diff driver cache the text
+ conversion outputs. See linkgit:gitattributes[5] for details.
--
1.7.4.rc1.7.g2cf08.dirty
^ permalink raw reply related [flat|nested] 33+ messages in thread
* Re: [PATCH 2/4] Documentation: Add diff.<driver>.* to config
2011-04-06 18:46 ` [PATCH 2/4] Documentation: Add diff.<driver>.* " Ramkumar Ramachandra
@ 2011-04-06 19:48 ` Junio C Hamano
2011-04-07 3:03 ` Ramkumar Ramachandra
0 siblings, 1 reply; 33+ messages in thread
From: Junio C Hamano @ 2011-04-06 19:48 UTC (permalink / raw)
To: Ramkumar Ramachandra; +Cc: Git List, Jakub Narebski
Ramkumar Ramachandra <artagnon@gmail.com> writes:
> +diff.<driver>.command::
> + The custom diff driver command. See linkgit:gitattributes[5]
> + for details.
This is about "custom", but I thought it was pointed out that ...
> +diff.<driver>.xfuncname::
> + The regular expression that the custom diff driver should use
> + to recognize the hunk header. A built-in pattern may also be
> + used. See linkgit:gitattributes[5] for details.
> +
> +diff.<driver>.binary::
> + Set this option to true to make the custom diff driver treat
> + files as binary. See linkgit:gitattributes[5] for details.
... these two don't have much to do with "custom". You seem to have
dropped "custom" from the remaining three, and I think their description
without "custom" makes more sense.
It is not a problem for me to just amend these two and lose "custom" when
I apply this patch (if there is no other glitch in it, of course), but I
am wondering if these are intentional.
> +diff.<driver>.textconv::
> +diff.<driver>.wordregex::
> +diff.<driver>.cachetextconv::
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [PATCH 2/4] Documentation: Add diff.<driver>.* to config
2011-04-06 19:48 ` Junio C Hamano
@ 2011-04-07 3:03 ` Ramkumar Ramachandra
0 siblings, 0 replies; 33+ messages in thread
From: Ramkumar Ramachandra @ 2011-04-07 3:03 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Git List, Jakub Narebski
Hi Junio,
Junio C Hamano writes:
> Ramkumar Ramachandra <artagnon@gmail.com> writes:
>
> > +diff.<driver>.command::
> > + The custom diff driver command. See linkgit:gitattributes[5]
> > + for details.
>
> This is about "custom", but I thought it was pointed out that ...
>
> > +diff.<driver>.xfuncname::
> > + The regular expression that the custom diff driver should use
> > + to recognize the hunk header. A built-in pattern may also be
> > + used. See linkgit:gitattributes[5] for details.
> > +
> > +diff.<driver>.binary::
> > + Set this option to true to make the custom diff driver treat
> > + files as binary. See linkgit:gitattributes[5] for details.
>
> ... these two don't have much to do with "custom". You seem to have
> dropped "custom" from the remaining three, and I think their description
> without "custom" makes more sense.
>
> It is not a problem for me to just amend these two and lose "custom" when
> I apply this patch (if there is no other glitch in it, of course), but I
Right. I was a little confused about these two, but yeah- I see now
that dependence on `diff.<driver>.command` is equivalent to saying
that an option applies to a "custom" diff driver. Please amend to
lose the "custom".
Thanks.
-- Ram
^ permalink raw reply [flat|nested] 33+ messages in thread
* [PATCH 3/4] Documentation: Allow custom diff tools to be specified in 'diff.tool'
2011-04-06 18:46 ` [PATCH v5 0/4] Document diff and filter drivers in config Ramkumar Ramachandra
2011-04-06 18:46 ` [PATCH 1/4] Documentation: Add filter.<driver>.* to config Ramkumar Ramachandra
2011-04-06 18:46 ` [PATCH 2/4] Documentation: Add diff.<driver>.* " Ramkumar Ramachandra
@ 2011-04-06 18:46 ` Ramkumar Ramachandra
2011-04-06 18:46 ` [PATCH 4/4] Documentation: Minor language improvements to merge-config Ramkumar Ramachandra
3 siblings, 0 replies; 33+ messages in thread
From: Ramkumar Ramachandra @ 2011-04-06 18:46 UTC (permalink / raw)
To: Git List; +Cc: Jakub Narebski, Junio C Hamano
Apart from the list of "valid values", 'diff.tool' can take any value,
provided there is a corresponding 'difftool.<tool>.cmd' option. Also,
describe this option just before the 'difftool.*' options.
Helped-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
Documentation/diff-config.txt | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/Documentation/diff-config.txt b/Documentation/diff-config.txt
index 0796d5e..d604484 100644
--- a/Documentation/diff-config.txt
+++ b/Documentation/diff-config.txt
@@ -55,12 +55,6 @@ diff.suppressBlankEmpty::
A boolean to inhibit the standard behavior of printing a space
before each empty output line. Defaults to false.
-diff.tool::
- Controls which diff tool is used. `diff.tool` overrides
- `merge.tool` when used by linkgit:git-difftool[1] and has
- the same valid values as `merge.tool` minus "tortoisemerge"
- and plus "kompare".
-
diff.<driver>.command::
The custom diff driver command. See linkgit:gitattributes[5]
for details.
@@ -88,3 +82,11 @@ diff.<driver>.wordregex::
diff.<driver>.cachetextconv::
Set this option to true to make the diff driver cache the text
conversion outputs. See linkgit:gitattributes[5] for details.
+
+diff.tool::
+ The diff tool to be used by linkgit:git-difftool[1]. This
+ option overrides `merge.tool`, and has the same valid built-in
+ values as `merge.tool` minus "tortoisemerge" and plus
+ "kompare". Any other value is treated as a custom diff tool,
+ and there must be a corresponding `difftool.<tool>.cmd`
+ option.
--
1.7.4.rc1.7.g2cf08.dirty
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [PATCH 4/4] Documentation: Minor language improvements to merge-config
2011-04-06 18:46 ` [PATCH v5 0/4] Document diff and filter drivers in config Ramkumar Ramachandra
` (2 preceding siblings ...)
2011-04-06 18:46 ` [PATCH 3/4] Documentation: Allow custom diff tools to be specified in 'diff.tool' Ramkumar Ramachandra
@ 2011-04-06 18:46 ` Ramkumar Ramachandra
3 siblings, 0 replies; 33+ messages in thread
From: Ramkumar Ramachandra @ 2011-04-06 18:46 UTC (permalink / raw)
To: Git List; +Cc: Jakub Narebski, Junio C Hamano
Improve readability by dropping superflous verbs like "specifies",
"controls", and "defines". Describe the `merge.tool` option just
before the `mergetool.*` options.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
Documentation/merge-config.txt | 39 ++++++++++++++++++++-------------------
1 files changed, 20 insertions(+), 19 deletions(-)
diff --git a/Documentation/merge-config.txt b/Documentation/merge-config.txt
index 8920258..6cd5127 100644
--- a/Documentation/merge-config.txt
+++ b/Documentation/merge-config.txt
@@ -1,5 +1,5 @@
merge.conflictstyle::
- Specify the style in which conflicted hunks are written out to
+ The style in which conflicted hunks are written out to
working tree files upon merge. The default is "merge", which
shows a `<<<<<<<` conflict marker, changes made by one side,
a `=======` marker, changes made by the other side, and then
@@ -38,19 +38,12 @@ merge.renormalize::
attributes" in linkgit:gitattributes[5].
merge.stat::
- Whether to print the diffstat between ORIG_HEAD and the merge result
- at the end of the merge. True by default.
-
-merge.tool::
- Controls which merge resolution program is used by
- linkgit:git-mergetool[1]. Valid built-in values are: "araxis",
- "bc3", "diffuse", "ecmerge", "emerge", "gvimdiff", "kdiff3", "meld",
- "opendiff", "p4merge", "tkdiff", "tortoisemerge", "vimdiff"
- and "xxdiff". Any other value is treated is custom merge tool
- and there must be a corresponding mergetool.<tool>.cmd option.
+ Set this option to false to omit printing the diffstat between
+ ORIG_HEAD and the merge result at the end of the merge.
+ Defaults to true.
merge.verbosity::
- Controls the amount of output shown by the recursive merge
+ The amount of output shown by the recursive merge
strategy. Level 0 outputs nothing except a final error
message if conflicts were detected. Level 1 outputs only
conflicts, 2 outputs conflicts and file changes. Level 5 and
@@ -58,14 +51,22 @@ merge.verbosity::
Can be overridden by the 'GIT_MERGE_VERBOSITY' environment variable.
merge.<driver>.name::
- Defines a human-readable name for a custom low-level
- merge driver. See linkgit:gitattributes[5] for details.
+ The name of the custom merge driver. See
+ linkgit:gitattributes[5] for details.
merge.<driver>.driver::
- Defines the command that implements a custom low-level
- merge driver. See linkgit:gitattributes[5] for details.
+ The command that implements the custom merge driver. See
+ linkgit:gitattributes[5] for details.
merge.<driver>.recursive::
- Names a low-level merge driver to be used when
- performing an internal merge between common ancestors.
- See linkgit:gitattributes[5] for details.
+ The merge driver to be used when performing an internal merge
+ between common ancestors. See linkgit:gitattributes[5] for
+ details.
+
+merge.tool::
+ The merge tool to be used by linkgit:git-mergetool[1]. Valid
+ built-in values are: "araxis", "bc3", "diffuse", "ecmerge",
+ "emerge", "gvimdiff", "kdiff3", "meld", "opendiff", "p4merge",
+ "tkdiff", "tortoisemerge", "vimdiff" and "xxdiff". Any other
+ value is treated as a custom merge tool, and there must be a
+ corresponding `mergetool.<tool>.cmd` option.
--
1.7.4.rc1.7.g2cf08.dirty
^ permalink raw reply related [flat|nested] 33+ messages in thread
* Re: [PATCH v4 0/4] Document diff and filter drivers in config
2011-04-06 9:57 ` [PATCH v4 0/4] Document diff and filter drivers in config Ramkumar Ramachandra
` (4 preceding siblings ...)
2011-04-06 18:46 ` [PATCH v5 0/4] Document diff and filter drivers in config Ramkumar Ramachandra
@ 2011-04-07 12:47 ` Michael J Gruber
2011-04-07 12:48 ` Michael J Gruber
5 siblings, 1 reply; 33+ messages in thread
From: Michael J Gruber @ 2011-04-07 12:47 UTC (permalink / raw)
To: Ramkumar Ramachandra; +Cc: Git List, Jakub Narebski, Junio C Hamano
Ramkumar Ramachandra venit, vidit, dixit 06.04.2011 11:57:
> Also, describe What changed since v3:
> - More language improvements, thanks to Michael.
> - Junio's elaborate note clarifies several options.
> - One more patch in the series to make similar corrections to
> merge-config.
>
> Thanks for reading.
>
> -- Ram
>
> Ramkumar Ramachandra (4):
> Documentation: Add filter.<driver>.* to config
> Documentation: Add diff.<driver>.* to config
> Documentation: Allow custom diff tools to be specified in 'diff.tool'
> Documentation: Minor language improvements to merge-config
>
> Documentation/config.txt | 72 ++++---------------------------
> Documentation/diff-config.txt | 91 ++++++++++++++++++++++++++++++++++++++++
> Documentation/merge-config.txt | 38 ++++++++--------
> 3 files changed, 120 insertions(+), 81 deletions(-)
> create mode 100644 Documentation/diff-config.txt
>
Thanks for hanging in, looks good (minus the customs which Junio mentioned).
Michael
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [PATCH v4 0/4] Document diff and filter drivers in config
2011-04-07 12:47 ` [PATCH v4 0/4] Document diff and filter drivers in config Michael J Gruber
@ 2011-04-07 12:48 ` Michael J Gruber
0 siblings, 0 replies; 33+ messages in thread
From: Michael J Gruber @ 2011-04-07 12:48 UTC (permalink / raw)
To: Ramkumar Ramachandra; +Cc: Git List, Jakub Narebski, Junio C Hamano
Michael J Gruber venit, vidit, dixit 07.04.2011 14:47:
> Ramkumar Ramachandra venit, vidit, dixit 06.04.2011 11:57:
>> Also, describe What changed since v3:
>> - More language improvements, thanks to Michael.
>> - Junio's elaborate note clarifies several options.
>> - One more patch in the series to make similar corrections to
>> merge-config.
>>
>> Thanks for reading.
>>
>> -- Ram
>>
>> Ramkumar Ramachandra (4):
>> Documentation: Add filter.<driver>.* to config
>> Documentation: Add diff.<driver>.* to config
>> Documentation: Allow custom diff tools to be specified in 'diff.tool'
>> Documentation: Minor language improvements to merge-config
>>
>> Documentation/config.txt | 72 ++++---------------------------
>> Documentation/diff-config.txt | 91 ++++++++++++++++++++++++++++++++++++++++
>> Documentation/merge-config.txt | 38 ++++++++--------
>> 3 files changed, 120 insertions(+), 81 deletions(-)
>> create mode 100644 Documentation/diff-config.txt
>>
>
> Thanks for hanging in, looks good (minus the customs which Junio mentioned).
>
> Michael
...oh well, that was meant to be a reply to the v5 cover letter... I
guess I got "lost in thread" ;)
M.
^ permalink raw reply [flat|nested] 33+ messages in thread