<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/diff.c, branch v2.16.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.16.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.16.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-12-28T22:08:46Z</updated>
<entry>
<title>Merge branch 'cc/skip-to-optional-val'</title>
<updated>2017-12-28T22:08:46Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-28T22:08:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f427b94985f7f8cde46df20f644760adc0ca6735'/>
<id>urn:sha1:f427b94985f7f8cde46df20f644760adc0ca6735</id>
<content type='text'>
Introduce a helper to simplify code to parse a common pattern that
expects either "--key" or "--key=&lt;something&gt;".

* cc/skip-to-optional-val:
  t4045: reindent to make helpers readable
  diff: add tests for --relative without optional prefix value
  diff: use skip_to_optional_arg_default() in parsing --relative
  diff: use skip_to_optional_arg_default()
  diff: use skip_to_optional_arg()
  index-pack: use skip_to_optional_arg()
  git-compat-util: introduce skip_to_optional_arg()
</content>
</entry>
<entry>
<title>Merge branch 'ar/unconfuse-three-dots'</title>
<updated>2017-12-19T19:33:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-19T19:33:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8d7fefaac4318ac3155368f475e10f97714ebd47'/>
<id>urn:sha1:8d7fefaac4318ac3155368f475e10f97714ebd47</id>
<content type='text'>
Ancient part of codebase still shows dots after an abbreviated
object name just to show that it is not a full object name, but
these ellipses are confusing to people who newly discovered Git
who are used to seeing abbreviated object names and find them
confusing with the range syntax.

* ar/unconfuse-three-dots:
  t2020: test variations that matter
  t4013: test new output from diff --abbrev --raw
  diff: diff_aligned_abbrev: remove ellipsis after abbreviated SHA-1 value
  t4013: prepare for upcoming "diff --raw --abbrev" output format change
  checkout: describe_detached_head: remove ellipsis after committish
  print_sha1_ellipsis: introduce helper
  Documentation: user-manual: limit usage of ellipsis
  Documentation: revisions: fix typo: "three dot" ---&gt; "three-dot" (in line with "two-dot").
</content>
</entry>
<entry>
<title>Merge branch 'jt/diff-anchored-patience'</title>
<updated>2017-12-19T19:33:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-19T19:33:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d7c6c2369ac21141b7c6cceaebc6414ec3da14ad'/>
<id>urn:sha1:d7c6c2369ac21141b7c6cceaebc6414ec3da14ad</id>
<content type='text'>
"git diff" learned a variant of the "--patience" algorithm, to
which the user can specify which 'unique' line to be used as
anchoring points.

* jt/diff-anchored-patience:
  diff: support anchoring line(s)
</content>
</entry>
<entry>
<title>Merge branch 'en/rename-progress'</title>
<updated>2017-12-19T19:33:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-19T19:33:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=646685460c26d56b149da91544e76150119d9c9b'/>
<id>urn:sha1:646685460c26d56b149da91544e76150119d9c9b</id>
<content type='text'>
Historically, the diff machinery for rename detection had a
hardcoded limit of 32k paths; this is being lifted to allow users
trade cycles with a (possibly) easier to read result.

* en/rename-progress:
  diffcore-rename: make diff-tree -l0 mean -l&lt;large&gt;
  sequencer: show rename progress during cherry picks
  diff: remove silent clamp of renameLimit
  progress: fix progress meters when dealing with lots of work
  sequencer: warn when internal merge may be suboptimal due to renameLimit
</content>
</entry>
<entry>
<title>diff: use skip_to_optional_arg_default() in parsing --relative</title>
<updated>2017-12-12T00:10:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-09T20:40:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1efad51197f52ba9fb928b92a7f92514ab02a97f'/>
<id>urn:sha1:1efad51197f52ba9fb928b92a7f92514ab02a97f</id>
<content type='text'>
Helped-by: Jacob Keller &lt;jacob.keller@gmail.com&gt;
Helped-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff: use skip_to_optional_arg_default()</title>
<updated>2017-12-12T00:10:12Z</updated>
<author>
<name>Christian Couder</name>
<email>christian.couder@gmail.com</email>
</author>
<published>2017-12-09T20:40:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cf81f94da45db8a030073e6ef3370f8498e9ce78'/>
<id>urn:sha1:cf81f94da45db8a030073e6ef3370f8498e9ce78</id>
<content type='text'>
Let's simplify diff option parsing using
skip_to_optional_arg_default().

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff: use skip_to_optional_arg()</title>
<updated>2017-12-12T00:10:12Z</updated>
<author>
<name>Christian Couder</name>
<email>christian.couder@gmail.com</email>
</author>
<published>2017-12-09T20:40:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=948cbe6703d0d1e3ba65fd10037bafd1b8b87696'/>
<id>urn:sha1:948cbe6703d0d1e3ba65fd10037bafd1b8b87696</id>
<content type='text'>
Let's simplify diff option parsing using skip_to_optional_arg().

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff: diff_aligned_abbrev: remove ellipsis after abbreviated SHA-1 value</title>
<updated>2017-12-06T15:32:59Z</updated>
<author>
<name>Ann T Ropea</name>
<email>bedhanger@gmx.de</email>
</author>
<published>2017-12-03T21:27:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7cb6ac1e4b5c58b515ca503c972124e8b5a0d9ee'/>
<id>urn:sha1:7cb6ac1e4b5c58b515ca503c972124e8b5a0d9ee</id>
<content type='text'>
Neither Git nor the user are in need of this (visual) aid anymore, but
we must offer a transition period.

A follow-up patch (series) will rectify the situation by covering the
new output format as well as the backward compatible one.

Also, fix a typo: "abbbreviated" ---&gt; "abbreviated".

Signed-off-by: Ann T Ropea &lt;bedhanger@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff: support anchoring line(s)</title>
<updated>2017-11-28T01:40:04Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2017-11-27T19:47:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2477ab2ea8651920a9909f6d05b15ad9004a6c64'/>
<id>urn:sha1:2477ab2ea8651920a9909f6d05b15ad9004a6c64</id>
<content type='text'>
Teach diff a new algorithm, one that attempts to prevent user-specified
lines from appearing as a deletion or addition in the end result. The
end user can use this by specifying "--anchored=&lt;text&gt;" one or more
times when using Git commands like "diff" and "show".

Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/ignore-cr-at-eol'</title>
<updated>2017-11-27T02:06:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-11-27T02:06:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=10f65c239a885336b745cc9d2e1654980ffef41e'/>
<id>urn:sha1:10f65c239a885336b745cc9d2e1654980ffef41e</id>
<content type='text'>
The "diff" family of commands learned to ignore differences in
carriage return at the end of line.

* jc/ignore-cr-at-eol:
  diff: --ignore-cr-at-eol
  xdiff: reassign xpparm_t.flags bits
</content>
</entry>
</feed>
