<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/commit.h, branch v1.6.3.1</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.6.3.1</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.6.3.1'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2009-01-28T19:33:03Z</updated>
<entry>
<title>Make has_commit() non-static</title>
<updated>2009-01-28T19:33:03Z</updated>
<author>
<name>Jake Goulding</name>
<email>goulding@vivisimo.com</email>
</author>
<published>2009-01-26T14:13:24Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=7fcdb36e29f9a5e779bc9e44cd69f8f69fac9426'/>
<id>urn:sha1:7fcdb36e29f9a5e779bc9e44cd69f8f69fac9426</id>
<content type='text'>
Move has_commit() from branch to a common location, in preparation for
using it in "git-tag". Rename it to is_descendant_of() to make it more
unique and descriptive.

Signed-off-by: Jake Goulding &lt;goulding@vivisimo.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>builtin-blame: Reencode commit messages according to git-log rules.</title>
<updated>2008-10-21T21:09:34Z</updated>
<author>
<name>Alexander Gavrilov</name>
<email>angavrilov@gmail.com</email>
</author>
<published>2008-10-21T20:55:57Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=69cd8f63427c65c65d9cd66bb8c05ca93dc3edef'/>
<id>urn:sha1:69cd8f63427c65c65d9cd66bb8c05ca93dc3edef</id>
<content type='text'>
Currently git-blame outputs text from the commit messages
(e.g. the author name and the summary string) as-is, without
even providing any information about the encoding used for
the data. It makes interpreting the data in multilingual
environment very difficult.

This commit changes the blame implementation to recode the
messages using the rules used by other commands like git-log.
Namely, the target encoding can be specified through the
i18n.commitEncoding or i18n.logOutputEncoding options, or
directly on the command line using the --encoding parameter.

Converting the encoding before output seems to be more
friendly to the porcelain tools than simply providing the
value of the encoding header, and does not require changing
the output format.

If anybody needs the old behavior, it is possible to
achieve it by specifying --encoding=none.

Signed-off-by: Alexander Gavrilov &lt;angavrilov@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>commit.c: make read_graft_file() static</title>
<updated>2008-10-03T01:03:35Z</updated>
<author>
<name>Nanako Shiraishi</name>
<email>nanako3@lavabit.com</email>
</author>
<published>2008-10-02T10:14:30Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c5ae6439d454288a809dd7c916e44ec4a5ae0b3b'/>
<id>urn:sha1:c5ae6439d454288a809dd7c916e44ec4a5ae0b3b</id>
<content type='text'>
This function is not called by any other file.

Signed-off-by: Nanako Shiraishi &lt;nanako3@lavabit.com&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2008-08-29T07:16:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-08-29T07:16:39Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=445cac18c015809a7fcb4a570d3c6571b1ddaf7d'/>
<id>urn:sha1:445cac18c015809a7fcb4a570d3c6571b1ddaf7d</id>
<content type='text'>
* maint:
  tutorial: gentler illustration of Alice/Bob workflow using gitk
  pretty=format: respect date format options
  make git-shell paranoid about closed stdin/stdout/stderr
  Document gitk --argscmd flag.
  Fix '--dirstat' with cross-directory renaming
  for-each-ref: Allow a trailing slash in the patterns
</content>
</entry>
<entry>
<title>pretty=format: respect date format options</title>
<updated>2008-08-29T07:14:29Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2008-08-29T00:54:59Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=d36f8679e94c2a0d4d15d6adcea434634af6d627'/>
<id>urn:sha1:d36f8679e94c2a0d4d15d6adcea434634af6d627</id>
<content type='text'>
When running a command like:

  git log --pretty=format:%ad --date=short

the date option was ignored. This patch causes it to use whatever
format was specified by --date (or by --relative-date, etc), just
as the non-user formats would do.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>merge-base: teach "git merge-base" to drive underlying merge_bases_many()</title>
<updated>2008-07-30T06:17:35Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2008-07-30T05:04:14Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=53eda89b2fe13e974ca85367255f9a5e9ab9171f'/>
<id>urn:sha1:53eda89b2fe13e974ca85367255f9a5e9ab9171f</id>
<content type='text'>
Even though the underlying function for get_merge_bases() can compute
a merge base between one existing commit and another (possibly
nonexistent) commit that would be created by merging many commits,
the facility was not available to git-merge-base.

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>Merge branch 'mv/merge-in-c'</title>
<updated>2008-07-16T02:09:46Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-07-16T02:09:46Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=fcab40a389e99786a8276108cdbc1cda8caf502f'/>
<id>urn:sha1:fcab40a389e99786a8276108cdbc1cda8caf502f</id>
<content type='text'>
* mv/merge-in-c:
  reduce_heads(): protect from duplicate input
  reduce_heads(): thinkofix
  Add a new test for git-merge-resolve
  t6021: add a new test for git-merge-resolve
  Teach merge.log to "git-merge" again
  Build in merge
  Fix t7601-merge-pull-config.sh on AIX
  git-commit-tree: make it usable from other builtins
  Add new test case to ensure git-merge prepends the custom merge message
  Add new test case to ensure git-merge reduces octopus parents when possible
  Introduce reduce_heads()
  Introduce get_merge_bases_many()
  Add new test to ensure git-merge handles more than 25 refs.
  Introduce get_octopus_merge_bases() in commit.c
  git-fmt-merge-msg: make it usable from other builtins
  Move read_cache_unmerged() to read-cache.c
  Add new test to ensure git-merge handles pull.twohead and pull.octopus
  Move parse-options's skip_prefix() to git-compat-util.h
  Move commit_list_count() to commit.c
  Move split_cmdline() to alias.c

Conflicts:
	Makefile
	parse-options.c
</content>
</entry>
<entry>
<title>rerere: Separate libgit and builtin functions</title>
<updated>2008-07-10T07:26:29Z</updated>
<author>
<name>Stephan Beyer</name>
<email>s-beyer@gmx.net</email>
</author>
<published>2008-07-09T12:58:57Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=5b2fd95606cd6d564f96d9d253e7cd19263bc352'/>
<id>urn:sha1:5b2fd95606cd6d564f96d9d253e7cd19263bc352</id>
<content type='text'>
This patch moves rerere()-related functions into a newly created
rerere.c file.
The setup_rerere() function is needed by both rerere() and cmd_rerere(),
so this function is moved to rerere.c and declared non-static (and "extern")
in newly created rerere.h file.

Signed-off-by: Stephan Beyer &lt;s-beyer@gmx.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Introduce reduce_heads()</title>
<updated>2008-07-01T05:45:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-06-27T16:22:03Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=98cf9c3bd7504d36e6049939bf9cc624f2cf5b9f'/>
<id>urn:sha1:98cf9c3bd7504d36e6049939bf9cc624f2cf5b9f</id>
<content type='text'>
The new function reduce_heads() is given a list of commits, and removes
ones that can be reached from other commits in the list.  It is useful for
reducing the commits randomly thrown at the git-merge command and remove
redundant commits that the user shouldn't have given to it.

The implementation uses the get_merge_bases_many() introduced in the
previous commit.  If the merge base between one commit taken from the list
and the remaining commits is the commit itself, that means the commit is
reachable from some of the other commits.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Introduce get_octopus_merge_bases() in commit.c</title>
<updated>2008-07-01T05:45:51Z</updated>
<author>
<name>Miklos Vajna</name>
<email>vmiklos@frugalware.org</email>
</author>
<published>2008-06-27T16:22:00Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=5240c9d75d8e1b747da427ba6320432d3201168a'/>
<id>urn:sha1:5240c9d75d8e1b747da427ba6320432d3201168a</id>
<content type='text'>
This is like get_merge_bases() but it works for multiple heads, like
show-branch --merge-base.

Signed-off-by: Miklos Vajna &lt;vmiklos@frugalware.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
