<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/diff-options.txt, branch v2.45.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.45.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.45.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2024-03-15T17:04:45Z</updated>
<entry>
<title>diff: add diff.srcPrefix and diff.dstPrefix configuration variables</title>
<updated>2024-03-15T17:04:45Z</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2024-03-15T01:03:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7fdc2656331f051a673a61444051cde58044ceeb'/>
<id>urn:sha1:7fdc2656331f051a673a61444051cde58044ceeb</id>
<content type='text'>
Allow the default prefixes "a/" and "b/" to be tweaked by the
diff.srcPrefix and diff.dstPrefix configuration variables.

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: enforce placeholders in documentation</title>
<updated>2023-12-26T19:06:57Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2023-12-25T21:21:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=51e846e673ca749273534d063082627a561f7622'/>
<id>urn:sha1:51e846e673ca749273534d063082627a561f7622</id>
<content type='text'>
Any string that is not meant to be used verbatim in the documentation
should be marked as a placeholder.

Signed-off-by: Jean-Noël Avila &lt;jn.avila@free.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sn/typo-grammo-phraso-fixes'</title>
<updated>2023-10-29T22:09:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2023-10-29T22:09:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8183b63ff6a9c7eec5555e51e127e712efb64704'/>
<id>urn:sha1:8183b63ff6a9c7eec5555e51e127e712efb64704</id>
<content type='text'>
Many typos, ungrammatical sentences and wrong phrasing have been
fixed.

* sn/typo-grammo-phraso-fixes:
  t/README: fix multi-prerequisite example
  doc/gitk: s/sticked/stuck/
  git-jump: admit to passing merge mode args to ls-files
  doc/diff-options: improve wording of the log.diffMerges mention
  doc: fix some typos, grammar and wording issues
</content>
</entry>
<entry>
<title>Merge branch 'en/docfixes'</title>
<updated>2023-10-23T20:56:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2023-10-23T20:56:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d12166d3c8bb12d5a1638c870fc590c4e300a413'/>
<id>urn:sha1:d12166d3c8bb12d5a1638c870fc590c4e300a413</id>
<content type='text'>
Documentation typo and grammo fixes.

* en/docfixes: (25 commits)
  documentation: add missing parenthesis
  documentation: add missing quotes
  documentation: add missing fullstops
  documentation: add some commas where they are helpful
  documentation: fix whitespace issues
  documentation: fix capitalization
  documentation: fix punctuation
  documentation: use clearer prepositions
  documentation: add missing hyphens
  documentation: remove unnecessary hyphens
  documentation: add missing article
  documentation: fix choice of article
  documentation: whitespace is already generally plural
  documentation: fix singular vs. plural
  documentation: fix verb vs. noun
  documentation: fix adjective vs. noun
  documentation: fix verb tense
  documentation: employ consistent verb tense for a list
  documentation: fix subject/verb agreement
  documentation: remove extraneous words
  ...
</content>
</entry>
<entry>
<title>diff-merges: introduce '--dd' option</title>
<updated>2023-10-09T19:47:29Z</updated>
<author>
<name>Sergey Organov</name>
<email>sorganov@gmail.com</email>
</author>
<published>2023-10-09T16:05:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c8e5cb065802e96c5aa5dd25936d9780c5734182'/>
<id>urn:sha1:c8e5cb065802e96c5aa5dd25936d9780c5734182</id>
<content type='text'>
This option provides a shortcut to request diff with respect to first
parent for any kind of commit, universally. It's implemented as pure
synonym for "--diff-merges=first-parent --patch".

Gives user quick and universal way to see what changes, exactly, were
brought to a branch by merges as well as by regular commits.

Signed-off-by: Sergey Organov &lt;sorganov@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff-merges: improve --diff-merges documentation</title>
<updated>2023-10-09T19:47:29Z</updated>
<author>
<name>Sergey Organov</name>
<email>sorganov@gmail.com</email>
</author>
<published>2023-10-09T16:05:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=be3820c60cc82e0ded1d3f3dcc19fbd59ce56aa2'/>
<id>urn:sha1:be3820c60cc82e0ded1d3f3dcc19fbd59ce56aa2</id>
<content type='text'>
* Put descriptions of convenience shortcuts first, so they are the
  first things reader observes rather than lengthy detailed stuff.

* Get rid of very long line containing all the --diff-merges formats
  by replacing them with &lt;format&gt;, and putting each supported format
  on its own line.

Signed-off-by: Sergey Organov &lt;sorganov@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>documentation: wording improvements</title>
<updated>2023-10-09T19:04:21Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2023-10-08T06:45:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cf6cac20059123d6ec3f867bb3692df62db52cf9'/>
<id>urn:sha1:cf6cac20059123d6ec3f867bb3692df62db52cf9</id>
<content type='text'>
Diff best viewed with --color-diff.

Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc/diff-options: improve wording of the log.diffMerges mention</title>
<updated>2023-10-05T19:55:38Z</updated>
<author>
<name>Štěpán Němec</name>
<email>stepnem@smrk.net</email>
</author>
<published>2023-10-05T09:00:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=043465a6cf251202171b70b304b02dc306eff5f8'/>
<id>urn:sha1:043465a6cf251202171b70b304b02dc306eff5f8</id>
<content type='text'>
Fix the grammar ("which default value is") and reword to match other
similar descriptions (say "configuration variable" instead of
"parameter", link to git-config(1)).

Signed-off-by: Štěpán Němec &lt;stepnem@smrk.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: fix some typos, grammar and wording issues</title>
<updated>2023-10-05T19:55:38Z</updated>
<author>
<name>Štěpán Němec</name>
<email>stepnem@smrk.net</email>
</author>
<published>2023-10-05T09:00:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=97509a3497cf864bb1ed26229feb9437f76a30ee'/>
<id>urn:sha1:97509a3497cf864bb1ed26229feb9437f76a30ee</id>
<content type='text'>
Signed-off-by: Štěpán Němec &lt;stepnem@smrk.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff --stat: add config option to limit filename width</title>
<updated>2023-09-18T16:39:07Z</updated>
<author>
<name>Dragan Simic</name>
<email>dsimic@manjaro.org</email>
</author>
<published>2023-09-11T15:39:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bd48adc31d0522e7877aa494ce7df91581e09587'/>
<id>urn:sha1:bd48adc31d0522e7877aa494ce7df91581e09587</id>
<content type='text'>
Add new configuration option diff.statNameWidth=&lt;width&gt; that is equivalent
to the command-line option --stat-name-width=&lt;width&gt;, but it is ignored
by format-patch.  This follows the logic established by the already
existing configuration option diff.statGraphWidth=&lt;width&gt;.

Limiting the widths of names and graphs in the --stat output makes sense
for interactive work on wide terminals with many columns, hence the support
for these configuration options.  They don't affect format-patch because
it already adheres to the traditional 80-column standard.

Update the documentation and add more tests to cover new configuration
option diff.statNameWidth=&lt;width&gt;.  While there, perform a few minor code
and whitespace cleanups here and there, as spotted.

Signed-off-by: Dragan Simic &lt;dsimic@manjaro.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
