<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/sequencer.h, branch v2.3.7</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.3.7</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.3.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-11-10T17:56:39Z</updated>
<entry>
<title>Merge branch 'jc/conflict-hint' into cc/interpret-trailers-more</title>
<updated>2014-11-10T17:56:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-11-10T17:56:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=216d29ef257e48f95bc14765d5da17e7854a3109'/>
<id>urn:sha1:216d29ef257e48f95bc14765d5da17e7854a3109</id>
<content type='text'>
* jc/conflict-hint:
  merge &amp; sequencer: turn "Conflicts:" hint into a comment
  builtin/commit.c: extract ignore_non_trailer() helper function
  merge &amp; sequencer: unify codepaths that write "Conflicts:" hint
  builtin/merge.c: drop a parameter that is never used
  git-tag.txt: Add a missing hyphen to `-s`
</content>
</entry>
<entry>
<title>merge &amp; sequencer: unify codepaths that write "Conflicts:" hint</title>
<updated>2014-10-24T18:34:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-24T18:34:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=75c961b767ec061696634c1079dbe5f1a9e10f93'/>
<id>urn:sha1:75c961b767ec061696634c1079dbe5f1a9e10f93</id>
<content type='text'>
Two identical loops in suggest_conflicts() in merge, and
do_recursive_merge() in sequencer, can use a single helper function
extracted from the latter that prepares the "Conflicts:" hint that
is meant to remind the user the paths for which merge conflicts had
to be resolved to write a better commit log message.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cherry-pick, revert: add the --gpg-sign option</title>
<updated>2014-01-27T23:15:52Z</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@mars-attacks.org</email>
</author>
<published>2014-01-24T00:50:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3253553e12d40da3bca818528f49a63c95f43aa3'/>
<id>urn:sha1:3253553e12d40da3bca818528f49a63c95f43aa3</id>
<content type='text'>
Signed-off-by: Nicolas Vigier &lt;boklm@mars-attacks.org&gt;
Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>sequencer.c: teach append_signoff how to detect duplicate s-o-b</title>
<updated>2013-02-12T19:17:10Z</updated>
<author>
<name>Brandon Casey</name>
<email>drafnel@gmail.com</email>
</author>
<published>2013-02-12T10:17:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bab4d1097c8be7d688a53b992232063dbf300fd4'/>
<id>urn:sha1:bab4d1097c8be7d688a53b992232063dbf300fd4</id>
<content type='text'>
Teach append_signoff how to detect a duplicate s-o-b in the commit footer.
This is in preparation to unify the append_signoff implementations in
log-tree.c and sequencer.c.

Fixes test in t3511.

Signed-off-by: Brandon Casey &lt;bcasey@nvidia.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/make-static'</title>
<updated>2012-09-18T21:37:46Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-09-18T21:37:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=06e211acc61c52a2e1709ea8b62a0b0f6dcb492b'/>
<id>urn:sha1:06e211acc61c52a2e1709ea8b62a0b0f6dcb492b</id>
<content type='text'>
Turn many file-scope private symbols to static to reduce the
global namespace contamination.

* jc/make-static:
  sequencer.c: mark a private file-scope symbol as static
  ident.c: mark private file-scope symbols as static
  trace.c: mark a private file-scope symbol as static
  wt-status.c: mark a private file-scope symbol as static
  read-cache.c: mark a private file-scope symbol as static
  strbuf.c: mark a private file-scope symbol as static
  sha1-array.c: mark a private file-scope symbol as static
  symlinks.c: mark private file-scope symbols as static
  notes.c: mark a private file-scope symbol as static
  rerere.c: mark private file-scope symbols as static
  graph.c: mark private file-scope symbols as static
  diff.c: mark a private file-scope symbol as static
  commit.c: mark a file-scope private symbol as static
  builtin/notes.c: mark file-scope private symbols as static
</content>
</entry>
<entry>
<title>sequencer.c: mark a private file-scope symbol as static</title>
<updated>2012-09-16T06:20:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-09-16T06:20:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=250f2492a408be1ed79c563f304a0d43752d032c'/>
<id>urn:sha1:250f2492a408be1ed79c563f304a0d43752d032c</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cherry-pick: don't forget -s on failure</title>
<updated>2012-09-14T17:04:29Z</updated>
<author>
<name>Miklos Vajna</name>
<email>vmiklos@suse.cz</email>
</author>
<published>2012-09-14T06:52:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5ed75e2a3fb30f93fea7772e481ec6091e9a2c5f'/>
<id>urn:sha1:5ed75e2a3fb30f93fea7772e481ec6091e9a2c5f</id>
<content type='text'>
In case 'git cherry-pick -s &lt;commit&gt;' failed, the user had to use 'git
commit -s' (i.e. state the -s option again), which is easy to forget
about.  Instead, write the signed-off-by line early, so plain 'git
commit' will have the same result.

Also update 'git commit -s', so that in case there is already a relevant
Signed-off-by line before the Conflicts: line, it won't add one more at
the end of the message. If there is no such line, then add it before the
the Conflicts: line.

Signed-off-by: Miklos Vajna &lt;vmiklos@suse.cz&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cherry-pick: add --allow-empty-message option</title>
<updated>2012-08-06T16:59:53Z</updated>
<author>
<name>Chris Webb</name>
<email>chris@arachsys.com</email>
</author>
<published>2012-08-02T10:38:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4bee958479bed1d3a8f20a75f33422ee49939dbf'/>
<id>urn:sha1:4bee958479bed1d3a8f20a75f33422ee49939dbf</id>
<content type='text'>
Scripts such as "git rebase -i" cannot currently cherry-pick commits
which have an empty commit message, as git cherry-pick calls git
commit without the --allow-empty-message option.

Add an --allow-empty-message option to git cherry-pick which is passed
through to git commit, so this behaviour can be overridden.

Signed-off-by: Chris Webb &lt;chris@arachsys.com&gt;
Reviewed-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-cherry-pick: Add keep-redundant-commits option</title>
<updated>2012-04-24T21:52:12Z</updated>
<author>
<name>Neil Horman</name>
<email>nhorman@tuxdriver.com</email>
</author>
<published>2012-04-20T14:36:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b27cfb0d8d4cbb6d079c70ffeadac9c0dcfff250'/>
<id>urn:sha1:b27cfb0d8d4cbb6d079c70ffeadac9c0dcfff250</id>
<content type='text'>
The git-cherry-pick --allow-empty command by default only preserves empty
commits that were originally empty, i.e only those commits for which
&lt;commit&gt;^{tree} and &lt;commit&gt;^^{tree} are equal.  By default commits which are
non-empty, but were made empty by the inclusion of a prior commit on the current
history are filtered out.  This option allows us to override that behavior and
include redundant commits as empty commits in the change history.

Note that this patch changes the default behavior of git cherry-pick slightly.
Prior to this patch all commits in a cherry-pick sequence were applied and git
commit was run.  The implication here was that, if a commit was redundant, and
the commit did not trigger the fast forward logic, the git commit operation, and
therefore the git cherry-pick operation would fail, displaying the cherry pick
advice (i.e. run git commit --allow-empty).  With this patch however, such
redundant commits are automatically skipped without stopping, unless
--keep-redundant-commits is specified, in which case, they are automatically
applied as empty commits.

Signed-off-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-cherry-pick: add allow-empty option</title>
<updated>2012-04-11T20:46:08Z</updated>
<author>
<name>Neil Horman</name>
<email>nhorman@tuxdriver.com</email>
</author>
<published>2012-04-11T20:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=df478b744cee9821eb2abbe2202d262b87a34289'/>
<id>urn:sha1:df478b744cee9821eb2abbe2202d262b87a34289</id>
<content type='text'>
git cherry-pick fails when picking a non-ff commit that is empty.  The advice
given with the failure is that a git-commit --allow-empty should be issued to
explicitly add the empty commit during the cherry pick.  This option allows a
user to specify before hand that they want to keep the empty commit.  This
eliminates the need to issue both a cherry pick and a commit operation.

Signed-off-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
