<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/commit.c, branch v2.0.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.0.0</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.0.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-04-03T19:38:11Z</updated>
<entry>
<title>Merge branch 'nd/log-show-linear-break'</title>
<updated>2014-04-03T19:38:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-04-03T19:38:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b407d40933f9c37af16ca3dc275e615ab4fdd8c5'/>
<id>urn:sha1:b407d40933f9c37af16ca3dc275e615ab4fdd8c5</id>
<content type='text'>
Attempts to show where a single-strand-of-pearls break in "git log"
output.

* nd/log-show-linear-break:
  log: add --show-linear-break to help see non-linear history
  object.h: centralize object flag allocation
</content>
</entry>
<entry>
<title>object.h: centralize object flag allocation</title>
<updated>2014-03-25T22:09:24Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2014-03-25T13:23:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=208acbfb82f722fb22320c381e7da8c8fb2e37e8'/>
<id>urn:sha1:208acbfb82f722fb22320c381e7da8c8fb2e37e8</id>
<content type='text'>
While the field "flags" is mainly used by the revision walker, it is
also used in many other places. Centralize the whole flag allocation to
one place for a better overview (and easier to move flags if we have
too).

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 'dd/use-alloc-grow'</title>
<updated>2014-03-18T20:50:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-18T20:50:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fe9122a35213827348c521a16ffd0cf2652c4ac5'/>
<id>urn:sha1:fe9122a35213827348c521a16ffd0cf2652c4ac5</id>
<content type='text'>
Replace open-coded reallocation with ALLOC_GROW() macro.

* dd/use-alloc-grow:
  sha1_file.c: use ALLOC_GROW() in pretend_sha1_file()
  read-cache.c: use ALLOC_GROW() in add_index_entry()
  builtin/mktree.c: use ALLOC_GROW() in append_to_tree()
  attr.c: use ALLOC_GROW() in handle_attr_line()
  dir.c: use ALLOC_GROW() in create_simplify()
  reflog-walk.c: use ALLOC_GROW()
  replace_object.c: use ALLOC_GROW() in register_replace_object()
  patch-ids.c: use ALLOC_GROW() in add_commit()
  diffcore-rename.c: use ALLOC_GROW()
  diff.c: use ALLOC_GROW()
  commit.c: use ALLOC_GROW() in register_commit_graft()
  cache-tree.c: use ALLOC_GROW() in find_subtree()
  bundle.c: use ALLOC_GROW() in add_to_ref_list()
  builtin/pack-objects.c: use ALLOC_GROW() in check_pbase_path()
</content>
</entry>
<entry>
<title>Merge branch 'dd/find-graft-with-sha1-pos'</title>
<updated>2014-03-18T20:50:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-18T20:50:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a8e1d711cc9531463fe312875553d56624eb9c37'/>
<id>urn:sha1:a8e1d711cc9531463fe312875553d56624eb9c37</id>
<content type='text'>
Replace a hand-rolled binary search with a call to our generic
binary search helper function.

* dd/find-graft-with-sha1-pos:
  commit.c: use the generic "sha1_pos" function for lookup
</content>
</entry>
<entry>
<title>commit.c: use skip_prefix() instead of starts_with()</title>
<updated>2014-03-04T21:26:42Z</updated>
<author>
<name>Tanay Abhra</name>
<email>tanayabh@gmail.com</email>
</author>
<published>2014-03-04T21:06:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=147972b1a67425aefb949630d3b97d547f561654'/>
<id>urn:sha1:147972b1a67425aefb949630d3b97d547f561654</id>
<content type='text'>
In record_author_date() &amp; parse_gpg_output(), the callers of
starts_with() not just want to know if the string starts with the
prefix, but also can benefit from knowing the string that follows
the prefix.

By using skip_prefix(), we can do both at the same time.

Helped-by: Max Horn &lt;max@quendi.de&gt;
Helped-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Helped-by: Michael Haggerty &lt;mhagger@alum.mit.edu&gt;
Signed-off-by: Tanay Abhra &lt;tanayabh@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>commit.c: use ALLOC_GROW() in register_commit_graft()</title>
<updated>2014-03-03T22:47:07Z</updated>
<author>
<name>Dmitry S. Dolzhenko</name>
<email>dmitrys.dolzhenko@yandex.ru</email>
</author>
<published>2014-03-03T22:31:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d6e82b575a7dc16be03f67fc3c4b648bc18df09f'/>
<id>urn:sha1:d6e82b575a7dc16be03f67fc3c4b648bc18df09f</id>
<content type='text'>
Signed-off-by: Dmitry S. Dolzhenko &lt;dmitrys.dolzhenko@yandex.ru&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>commit.c: use the generic "sha1_pos" function for lookup</title>
<updated>2014-02-27T18:55:27Z</updated>
<author>
<name>Dmitry S. Dolzhenko</name>
<email>dmitrys.dolzhenko@yandex.ru</email>
</author>
<published>2014-02-26T18:49:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0a9136f32758a785fe552adc58bba5824f85e5b7'/>
<id>urn:sha1:0a9136f32758a785fe552adc58bba5824f85e5b7</id>
<content type='text'>
Refactor binary search in "commit_graft_pos" function: use
generic "sha1_pos" function.

Signed-off-by: Dmitry S. Dolzhenko &lt;dmitrys.dolzhenko@yandex.ru&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'vm/octopus-merge-bases-simplify'</title>
<updated>2014-01-10T18:33:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-01-10T18:33:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4243b2d1e45a8d0d9b1ccc9d860235e7b9543a7f'/>
<id>urn:sha1:4243b2d1e45a8d0d9b1ccc9d860235e7b9543a7f</id>
<content type='text'>
* vm/octopus-merge-bases-simplify:
  get_octopus_merge_bases(): cleanup redundant variable
</content>
</entry>
<entry>
<title>Merge branch 'js/lift-parent-count-limit'</title>
<updated>2014-01-10T18:33:36Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-01-10T18:33:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3b9d69ec22b8821fecc44c07ea49adc749484335'/>
<id>urn:sha1:3b9d69ec22b8821fecc44c07ea49adc749484335</id>
<content type='text'>
There is no reason to have a hardcoded upper limit of the number of
parents for an octopus merge, created via the graft mechanism.

* js/lift-parent-count-limit:
  Remove the line length limit for graft files
</content>
</entry>
<entry>
<title>Merge branch 'nd/commit-tree-constness'</title>
<updated>2014-01-10T18:33:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-01-10T18:33:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=34aacf30a39570e58de7c499f102b7196f2a9744'/>
<id>urn:sha1:34aacf30a39570e58de7c499f102b7196f2a9744</id>
<content type='text'>
Code clean-up.

* nd/commit-tree-constness:
  commit.c: make "tree" a const pointer in commit_tree*()
</content>
</entry>
</feed>
