<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/diff-options.txt, branch v2.13.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.13.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.13.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-03-02T19:40:51Z</updated>
<entry>
<title>Documentation: improve description for core.quotePath</title>
<updated>2017-03-02T19:40:51Z</updated>
<author>
<name>Andreas Heiduk</name>
<email>asheiduk@gmail.com</email>
</author>
<published>2017-03-02T19:03:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=860cd699c285f02937a2edbdb78e8231292339a5'/>
<id>urn:sha1:860cd699c285f02937a2edbdb78e8231292339a5</id>
<content type='text'>
Linking the description for pathname quoting to the configuration
variable "core.quotePath" removes inconstistent and incomplete
sections while also giving two hints how to deal with it: Either with
"-c core.quotePath=false" or with "-z".

Signed-off-by: Andreas Heiduk &lt;asheiduk@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'rh/diff-orderfile-doc'</title>
<updated>2017-01-23T23:59:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-01-23T23:59:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=831bd5e775ad5225f2a98eba738f69148cd50e0a'/>
<id>urn:sha1:831bd5e775ad5225f2a98eba738f69148cd50e0a</id>
<content type='text'>
Documentation fix.

* rh/diff-orderfile-doc:
  diff: document the format of the -O (diff.orderFile) file
  diff: document behavior of relative diff.orderFile
</content>
</entry>
<entry>
<title>diff: document the format of the -O (diff.orderFile) file</title>
<updated>2017-01-16T00:42:16Z</updated>
<author>
<name>Richard Hansen</name>
<email>hansenr@google.com</email>
</author>
<published>2017-01-15T22:16:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=874444b70451879d5b9b7e288e5c4e711c4a87ac'/>
<id>urn:sha1:874444b70451879d5b9b7e288e5c4e711c4a87ac</id>
<content type='text'>
Signed-off-by: Richard Hansen &lt;hansenr@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff: add interhunk context config option</title>
<updated>2017-01-12T20:55:43Z</updated>
<author>
<name>Vegard Nossum</name>
<email>vegard.nossum@oracle.com</email>
</author>
<published>2017-01-12T12:21:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c488867793dc9b273c1d35746452d44afcd3d7f5'/>
<id>urn:sha1:c488867793dc9b273c1d35746452d44afcd3d7f5</id>
<content type='text'>
The --inter-hunk-context= option was added in commit 6d0e674a5754
("diff: add option to show context between close hunks"). This patch
allows configuring a default for this option.

Signed-off-by: Vegard Nossum &lt;vegard.nossum@oracle.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'nd/ita-empty-commit'</title>
<updated>2016-10-27T21:58:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-10-27T21:58:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=650360210afbd585f33ed622d3e700b1941b1ddb'/>
<id>urn:sha1:650360210afbd585f33ed622d3e700b1941b1ddb</id>
<content type='text'>
When new paths were added by "git add -N" to the index, it was
enough to circumvent the check by "git commit" to refrain from
making an empty commit without "--allow-empty".  The same logic
prevented "git status" to show such a path as "new file" in the
"Changes not staged for commit" section.

* nd/ita-empty-commit:
  commit: don't be fooled by ita entries when creating initial commit
  commit: fix empty commit creation when there's no changes but ita entries
  diff: add --ita-[in]visible-in-index
  diff-lib: allow ita entries treated as "not yet exist in index"
</content>
</entry>
<entry>
<title>Merge branch 'jc/ws-error-highlight'</title>
<updated>2016-10-26T20:14:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-10-26T20:14:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e5272d304af3528163cd5faa822f88086448ae57'/>
<id>urn:sha1:e5272d304af3528163cd5faa822f88086448ae57</id>
<content type='text'>
"git diff/log --ws-error-highlight=&lt;kind&gt;" lacked the corresponding
configuration variable to set it by default.

* jc/ws-error-highlight:
  diff: introduce diff.wsErrorHighlight option
  diff.c: move ws-error-highlight parsing helpers up
  diff.c: refactor parse_ws_error_highlight()
  t4015: split out the "setup" part of ws-error-highlight test
</content>
</entry>
<entry>
<title>diff: add --ita-[in]visible-in-index</title>
<updated>2016-10-24T17:47:51Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2016-10-24T10:42:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b42b45191950a4ac39f6f5ae042c15ad114da79b'/>
<id>urn:sha1:b42b45191950a4ac39f6f5ae042c15ad114da79b</id>
<content type='text'>
The option --ita-invisible-in-index exposes the "ita_invisible_in_index"
diff flag to outside to allow easier experimentation with this new mode.
The "plan" is to make --ita-invisible-in-index default to keep consistent
behavior with 'status' and 'commit', but a bunch other commands like
'apply', 'merge', 'reset'.... need to be taken into consideration as well.

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: introduce diff.wsErrorHighlight option</title>
<updated>2016-10-04T22:49:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-10-04T22:26:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a17505f262b62e429bb0e188c5ed73ac749e25b8'/>
<id>urn:sha1:a17505f262b62e429bb0e188c5ed73ac749e25b8</id>
<content type='text'>
With the preparatory steps, it has become trivial to teach the
system a new diff.wsErrorHighlight configuration that gives the
default value for --ws-error-highlight command line option.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mh/diff-indent-heuristic'</title>
<updated>2016-09-26T23:09:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-09-26T23:09:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b7af6ae5cff8439fdf5b72f926cab2e614906af3'/>
<id>urn:sha1:b7af6ae5cff8439fdf5b72f926cab2e614906af3</id>
<content type='text'>
Output from "git diff" can be made easier to read by selecting
which lines are common and which lines are added/deleted
intelligently when the lines before and after the changed section
are the same.  A command line option is added to help with the
experiment to find a good heuristics.

* mh/diff-indent-heuristic:
  blame: honor the diff heuristic options and config
  parse-options: add parse_opt_unknown_cb()
  diff: improve positioning of add/delete blocks in diffs
  xdl_change_compact(): introduce the concept of a change group
  recs_match(): take two xrecord_t pointers as arguments
  is_blank_line(): take a single xrecord_t as argument
  xdl_change_compact(): only use heuristic if group can't be matched
  xdl_change_compact(): fix compaction heuristic to adjust ixo
</content>
</entry>
<entry>
<title>blame: honor the diff heuristic options and config</title>
<updated>2016-09-19T17:25:11Z</updated>
<author>
<name>Michael Haggerty</name>
<email>mhagger@alum.mit.edu</email>
</author>
<published>2016-09-05T09:44:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5b162879e93dab3b4bcd66afdbea3a96660abd7d'/>
<id>urn:sha1:5b162879e93dab3b4bcd66afdbea3a96660abd7d</id>
<content type='text'>
Teach "git blame" and "git annotate" the --compaction-heuristic and
--indent-heuristic options that are now supported by "git diff".

Also teach them to honor the `diff.compactionHeuristic` and
`diff.indentHeuristic` configuration options.

It would be conceivable to introduce separate configuration options for
"blame" and "annotate"; for example `blame.compactionHeuristic` and
`blame.indentHeuristic`. But it would be confusing to users if blame
output is inconsistent with diff output, so it makes more sense for them
to respect the same configuration.

Signed-off-by: Michael Haggerty &lt;mhagger@alum.mit.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
