<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/t4013/diff.log_-S_F_master, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=master</id>
<link rel='self' href='https://git.shady.money/git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2025-09-10T20:34:59Z</updated>
<entry>
<title>t4013: switch default branch name to main</title>
<updated>2025-09-10T20:34:59Z</updated>
<author>
<name>Phillip Wood</name>
<email>phillip.wood@dunelm.org.uk</email>
</author>
<published>2025-09-10T15:29:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=877176e0b01ea6aff551fa80734116a45748c6a3'/>
<id>urn:sha1:877176e0b01ea6aff551fa80734116a45748c6a3</id>
<content type='text'>
Remove one of the last remaining uses of
"TEST_GIT_DEFAULT_INITIAL_BRANCH= main" in the test suite. We have
been steadily be converting tests from using "master" as the default
branch name since the introduction of TEST_GIT_DEFAULT_INITIAL_BRANCH
in 704fed9ea22 (tests: start moving to a different default main branch
name, 2020-10-23) The changes here are purely mechanical replacing
"master" with "main"

Signed-off-by: Phillip Wood &lt;phillip.wood@dunelm.org.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff: parse separate options like -S foo</title>
<updated>2010-08-06T16:14:22Z</updated>
<author>
<name>Matthieu Moy</name>
<email>Matthieu.Moy@imag.fr</email>
</author>
<published>2010-08-05T08:22:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dea007fb4c8170ea007b577698c7b44df6c318b9'/>
<id>urn:sha1:dea007fb4c8170ea007b577698c7b44df6c318b9</id>
<content type='text'>
Change the option parsing logic in revision.c to accept separate forms
like `-S foo' in addition to `-Sfoo'. The rest of git already accepted
this form, but revision.c still used its own option parsing.

Short options affected are -S&lt;string&gt;, -l&lt;num&gt; and -O&lt;orderfile&gt;, for
which an empty string wouldn't make sense, hence -&lt;option&gt; &lt;arg&gt; isn't
ambiguous.

This patch does not handle --stat-name-width and --stat-width, which are
special-cases where diff_long_opt do not apply. They are handled in a
separate patch to ease review.

Original patch by Matthieu Moy, plus refactoring by Jonathan Nieder.

Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
