<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/diff-options.txt, branch v2.22.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.22.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.22.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2019-04-16T10:28:03Z</updated>
<entry>
<title>Merge branch 'nd/diff-parseopt-3'</title>
<updated>2019-04-16T10:28:03Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-04-16T10:28:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8a9a837a639cb4ef4c0b84c277aec2c9eb7ec58d'/>
<id>urn:sha1:8a9a837a639cb4ef4c0b84c277aec2c9eb7ec58d</id>
<content type='text'>
Third batch to teach the diff machinery to use the parse-options
API.

* nd/diff-parseopt-3:
  diff-parseopt: convert --submodule
  diff-parseopt: convert --ignore-submodules
  diff-parseopt: convert --textconv
  diff-parseopt: convert --ext-diff
  diff-parseopt: convert --quiet
  diff-parseopt: convert --exit-code
  diff-parseopt: convert --color-words
  diff-parseopt: convert --word-diff-regex
  diff-parseopt: convert --word-diff
  diff-parseopt: convert --[no-]color
  diff-parseopt: convert --[no-]follow
  diff-parseopt: convert -R
  diff-parseopt: convert -a|--text
  diff-parseopt: convert --full-index
  diff-parseopt: convert --binary
  diff-parseopt: convert --anchored
  diff-parseopt: convert --diff-algorithm
  diff-parseopt: convert --histogram
  diff-parseopt: convert --patience
  diff-parseopt: convert --[no-]indent-heuristic
</content>
</entry>
<entry>
<title>Merge branch 'nd/diff-parseopt-2'</title>
<updated>2019-03-07T00:59:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-03-07T00:59:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4ab0f138577aded469cded8760065ea2095959de'/>
<id>urn:sha1:4ab0f138577aded469cded8760065ea2095959de</id>
<content type='text'>
Second batch to teach the diff machinery to use the parse-options
API.

* nd/diff-parseopt-2: (21 commits)
  diff-parseopt: convert --ignore-some-changes
  diff-parseopt: convert --[no-]minimal
  diff-parseopt: convert --relative
  diff-parseopt: convert --no-renames|--[no--rename-empty
  diff-parseopt: convert --find-copies-harder
  diff-parseopt: convert -C|--find-copies
  diff-parseopt: convert -D|--irreversible-delete
  diff-parseopt: convert -M|--find-renames
  diff-parseopt: convert -B|--break-rewrites
  diff-parseopt: convert --output-*
  diff-parseopt: convert --[no-]compact-summary
  diff-parseopt: convert --stat*
  diff-parseopt: convert -s|--no-patch
  diff-parseopt: convert --name-status
  diff-parseopt: convert --name-only
  diff-parseopt: convert --patch-with-stat
  diff-parseopt: convert --summary
  diff-parseopt: convert --check
  diff-parseopt: convert --dirstat and friends
  diff-parseopt: convert --numstat and --shortstat
  ...
</content>
</entry>
<entry>
<title>Merge branch 'nd/diff-parseopt'</title>
<updated>2019-03-07T00:59:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-03-07T00:59:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=54b469b9e9a9f276a5980265cd2abeb003cb6bf3'/>
<id>urn:sha1:54b469b9e9a9f276a5980265cd2abeb003cb6bf3</id>
<content type='text'>
The diff machinery, one of the oldest parts of the system, which
long predates the parse-options API, uses fairly long and complex
handcrafted option parser.  This is being rewritten to use the
parse-options API.

* nd/diff-parseopt:
  diff.c: convert --raw
  diff.c: convert -W|--[no-]function-context
  diff.c: convert -U|--unified
  diff.c: convert -u|-p|--patch
  diff.c: prepare to use parse_options() for parsing
  diff.h: avoid bit fields in struct diff_flags
  diff.h: keep forward struct declarations sorted
  parse-options: allow ll_callback with OPTION_CALLBACK
  parse-options: avoid magic return codes
  parse-options: stop abusing 'callback' for lowlevel callbacks
  parse-options: add OPT_BITOP()
  parse-options: disable option abbreviation with PARSE_OPT_KEEP_UNKNOWN
  parse-options: add one-shot mode
  parse-options.h: remove extern on function prototypes
</content>
</entry>
<entry>
<title>diff-parseopt: convert --binary</title>
<updated>2019-03-06T23:02:21Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2019-03-05T12:30:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6d9af6f4dac4079e0ea14a86cbdf6790c1586fce'/>
<id>urn:sha1:6d9af6f4dac4079e0ea14a86cbdf6790c1586fce</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff-parseopt: convert --no-renames|--[no--rename-empty</title>
<updated>2019-02-21T23:16:59Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2019-02-21T11:16:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cdc43eb0b871992b42cff02ea9fe818c812c6dca'/>
<id>urn:sha1:cdc43eb0b871992b42cff02ea9fe818c812c6dca</id>
<content type='text'>
For --rename-empty, see 90d43b0768 (teach diffcore-rename to
optionally ignore empty content - 2012-03-22) for more information.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff-parseopt: convert --output-*</title>
<updated>2019-02-21T23:16:59Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2019-02-21T11:16:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=af2f36809182c24ee92d3b13ed3cc5a1fb6e10df'/>
<id>urn:sha1:af2f36809182c24ee92d3b13ed3cc5a1fb6e10df</id>
<content type='text'>
This also validates that the user specifies a single character in
--output-indicator-*, not a string.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff-parseopt: convert --dirstat and friends</title>
<updated>2019-02-21T23:16:58Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2019-02-21T11:16:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4ce7aab5a56394914bd05b9e5fa4ca66404ec5f5'/>
<id>urn:sha1:4ce7aab5a56394914bd05b9e5fa4ca66404ec5f5</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'pw/diff-color-moved-ws-fix'</title>
<updated>2019-01-29T20:47:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-01-29T20:47:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=15b07cba0b60f0fc5dea0be0d68a355a8161476d'/>
<id>urn:sha1:15b07cba0b60f0fc5dea0be0d68a355a8161476d</id>
<content type='text'>
"git diff --color-moved-ws" updates.

* pw/diff-color-moved-ws-fix:
  diff --color-moved-ws: handle blank lines
  diff --color-moved-ws: modify allow-indentation-change
  diff --color-moved-ws: optimize allow-indentation-change
  diff --color-moved=zebra: be stricter with color alternation
  diff --color-moved-ws: fix false positives
  diff --color-moved-ws: demonstrate false positives
  diff: allow --no-color-moved-ws
  Use "whitespace" consistently
  diff: document --no-color-moved
</content>
</entry>
<entry>
<title>diff.c: convert -U|--unified</title>
<updated>2019-01-28T00:28:18Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2019-01-27T00:35:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d473e2e0e8eedf2ab07ddc545e00bff7c8f450e7'/>
<id>urn:sha1:d473e2e0e8eedf2ab07ddc545e00bff7c8f450e7</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff: allow --no-color-moved-ws</title>
<updated>2019-01-10T18:37:59Z</updated>
<author>
<name>Phillip Wood</name>
<email>phillip.wood@dunelm.org.uk</email>
</author>
<published>2018-11-23T11:16:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b73bcbac4a9d8c76ccdda0f0ac4b122b8e96e4b7'/>
<id>urn:sha1:b73bcbac4a9d8c76ccdda0f0ac4b122b8e96e4b7</id>
<content type='text'>
Allow --no-color-moved-ws and --color-moved-ws=no to cancel any previous
--color-moved-ws option.

Signed-off-by: Phillip Wood &lt;phillip.wood@dunelm.org.uk&gt;
Reviewed-by: Stefan Beller &lt;sbeller@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
