<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-am.sh, branch v1.7.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.7.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.7.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2010-06-27T19:07:44Z</updated>
<entry>
<title>Merge branch 'js/maint-am-rebase-invalid-author'</title>
<updated>2010-06-27T19:07:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-06-27T19:07:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bcdfb20ae94138eac863b4c40263dc10f29917e5'/>
<id>urn:sha1:bcdfb20ae94138eac863b4c40263dc10f29917e5</id>
<content type='text'>
* js/maint-am-rebase-invalid-author:
  am: use get_author_ident_from_commit instead of mailinfo when rebasing
</content>
</entry>
<entry>
<title>Merge branch 'rr/am-help'</title>
<updated>2010-06-18T18:16:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-06-18T18:16:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8b8063cef3933c25288f2ab78d2adf1a4a2149ce'/>
<id>urn:sha1:8b8063cef3933c25288f2ab78d2adf1a4a2149ce</id>
<content type='text'>
* rr/am-help:
  git am: Remove stray error message from sed
  git am: Display some help text when patch is empty
  git am: Set cmdline globally
</content>
</entry>
<entry>
<title>am: use get_author_ident_from_commit instead of mailinfo when rebasing</title>
<updated>2010-06-16T17:00:58Z</updated>
<author>
<name>Jay Soffian</name>
<email>jaysoffian@gmail.com</email>
</author>
<published>2010-06-16T07:12:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=43c23251f924db4188cf74361cb7cc3257accce3'/>
<id>urn:sha1:43c23251f924db4188cf74361cb7cc3257accce3</id>
<content type='text'>
In certain situations, commit authorship can consist of an invalid
e-mail address. For example, this is the case when working with git svn
repos where the author email has had the svn repo UUID appended such as:

 author@example.com &lt;author@example.com@deadbeef-dead-beef-dead-beefdeadbeef&gt;

Given such an address, mailinfo extracts the authorship incorrectly as
it assumes a valid domain. However, when rebasing the original
authorship should be preserved irrespective of its validity as an email
address.

Using get_author_ident_from_commit instead of mailinfo when rebasing
preserves the original authorship.

Signed-off-by: Jay Soffian &lt;jaysoffian@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git am: Remove stray error message from sed</title>
<updated>2010-06-02T16:53:45Z</updated>
<author>
<name>Ramkumar Ramachandra</name>
<email>artagnon@gmail.com</email>
</author>
<published>2010-06-02T08:33:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=92f65e6ab6185aae241d1388b54429d171a9d0f5'/>
<id>urn:sha1:92f65e6ab6185aae241d1388b54429d171a9d0f5</id>
<content type='text'>
When --continue is invoked without any changes, the following stray
error message appears- sed: can't read $dotest/final-commit: No such
file or directory. Remove this by making sure that the file actually
exists.

Signed-off-by: Ramkumar Ramachandra &lt;artagnon@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git am: Display some help text when patch is empty</title>
<updated>2010-06-02T16:51:48Z</updated>
<author>
<name>Ramkumar Ramachandra</name>
<email>artagnon@gmail.com</email>
</author>
<published>2010-06-02T08:33:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dc267b1ab4f8f6ac33c9145c3e24fe3a96f1394b'/>
<id>urn:sha1:dc267b1ab4f8f6ac33c9145c3e24fe3a96f1394b</id>
<content type='text'>
When a patch is found to be empty, prompt the user to use either
--skip or --abort.

Signed-off-by: Ramkumar Ramachandra &lt;artagnon@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git am: Set cmdline globally</title>
<updated>2010-06-02T16:51:39Z</updated>
<author>
<name>Ramkumar Ramachandra</name>
<email>artagnon@gmail.com</email>
</author>
<published>2010-06-02T08:33:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d2c46310618ab0fefe4641b5a0d71899c918bf47'/>
<id>urn:sha1:d2c46310618ab0fefe4641b5a0d71899c918bf47</id>
<content type='text'>
Set the $cmdline variable globally, and not in stop_here_user_resolve
so it can be used in other code fragments as well.

Signed-off-by: Ramkumar Ramachandra &lt;artagnon@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-am: suggest what to do with superfluous patches</title>
<updated>2010-06-01T00:48:38Z</updated>
<author>
<name>Jan Krüger</name>
<email>jk@jk.gs</email>
</author>
<published>2010-05-30T08:19:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=05bdcfe5fc3d626b752c2cb574f05ed30b279bcf'/>
<id>urn:sha1:05bdcfe5fc3d626b752c2cb574f05ed30b279bcf</id>
<content type='text'>
Particularly in the context of rebase, conflicts frequently occur
because the change in the patch to be applied was made obsolete by new
upstream commits. In this case, solving the conflict effectively means
skipping the patch. However, it's not always readily apparent that the
patch needs to be skipped, and when people solve the conflict and try
git rebase --continue, they get confronted with a message of

  No changes - did you forget to use 'git add'?

That's not very helpful if you did actually stage your changes and they
happen to turn the patch into a no-op. This extends the message to point
out what's going on.

Signed-off-by: Jan KrÃ¼ger &lt;jk@jk.gs&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/am-3-show-corrupted-patch'</title>
<updated>2010-05-21T11:02:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-05-21T11:02:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=edea184a585c9bda560995f676092879a42e3e7a'/>
<id>urn:sha1:edea184a585c9bda560995f676092879a42e3e7a</id>
<content type='text'>
* jc/am-3-show-corrupted-patch:
  am -3: recover the diagnostic messages for corrupt patches
</content>
</entry>
<entry>
<title>am -3: recover the diagnostic messages for corrupt patches</title>
<updated>2010-04-14T18:20:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-04-09T23:58:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0ba17dd0229582481d048388024741cfef3298a3'/>
<id>urn:sha1:0ba17dd0229582481d048388024741cfef3298a3</id>
<content type='text'>
"git am -3" first tries to apply the patch without any extra trick, and
applies it to a synthesized tree for 3-way merge after the first attempt
fails.  "git apply" exits with status 1 for a patch that is well-formed
but is not applicable (and it dies on other errors with non-zereo, non-1
status) and has an optimization to fall back to the 3-way merge only in
the case.

An earlier patch 3ddd170 (am: suppress apply errors when using 3-way,
2009-06-16) squelched diagnostic messages from the first attempt, not to
be shown to the end user.  This worked reasonably well if the reason the
first application failed was because the patch was made against a wrong
version.

When the patch is corrupt (e.g. line-wrapped or leading whitespaces got
dropped), however, because the second patch application is not even
attempted, the error message from the first application is never shown
and is forever lost.  This message is necessary to locate where the patch
is corrupt and fix it up.

We could fix this issue by reverting 3dd170, or keeping the error message
to somewhere and showing it, but because this is an error codepath, the
easiest is to disable the optimization.  The second patch application is
attempted even when the input is corrupt, and it will notice, diagnose,
and stop with an error message.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'tr/notes-display'</title>
<updated>2010-03-24T23:26:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-03-24T23:26:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a86ed83cce0fc0b9a9fe4e17ac1bf4f719028d20'/>
<id>urn:sha1:a86ed83cce0fc0b9a9fe4e17ac1bf4f719028d20</id>
<content type='text'>
* tr/notes-display:
  git-notes(1): add a section about the meaning of history
  notes: track whether notes_trees were changed at all
  notes: add shorthand --ref to override GIT_NOTES_REF
  commit --amend: copy notes to the new commit
  rebase: support automatic notes copying
  notes: implement helpers needed for note copying during rewrite
  notes: implement 'git notes copy --stdin'
  rebase -i: invoke post-rewrite hook
  rebase: invoke post-rewrite hook
  commit --amend: invoke post-rewrite hook
  Documentation: document post-rewrite hook
  Support showing notes from more than one notes tree
  test-lib: unset GIT_NOTES_REF to stop it from influencing tests

Conflicts:
	git-am.sh
	refs.c
</content>
</entry>
</feed>
