<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/git-am.sh, branch v1.7.7.4</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.7.7.4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.7.7.4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2011-09-02T20:18:11Z</updated>
<entry>
<title>Merge branch 'gb/maint-am-stgit-author-to-from-fix'</title>
<updated>2011-09-02T20:18:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-09-02T20:18:11Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=fee6bc5f031a9d18d09463d96d7df562d62438f7'/>
<id>urn:sha1:fee6bc5f031a9d18d09463d96d7df562d62438f7</id>
<content type='text'>
* gb/maint-am-stgit-author-to-from-fix:
  am: fix stgit patch mangling
</content>
</entry>
<entry>
<title>Merge branch 'gb/maint-am-patch-format-error-message'</title>
<updated>2011-09-02T20:18:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-09-02T20:18:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e7734c6c9b04d78e970b8de4765cdebd984ec6e6'/>
<id>urn:sha1:e7734c6c9b04d78e970b8de4765cdebd984ec6e6</id>
<content type='text'>
* gb/maint-am-patch-format-error-message:
  am: format is in $patch_format, not parse_patch

Conflicts:
	git-am.sh
</content>
</entry>
<entry>
<title>am: fix stgit patch mangling</title>
<updated>2011-08-29T16:51:44Z</updated>
<author>
<name>Giuseppe Bilotta</name>
<email>giuseppe.bilotta@gmail.com</email>
</author>
<published>2011-08-29T16:44:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=45d51dc9695a52222fc900e3c7ae8b9ee66c3db7'/>
<id>urn:sha1:45d51dc9695a52222fc900e3c7ae8b9ee66c3db7</id>
<content type='text'>
Signed-off-by: Giuseppe Bilotta &lt;giuseppe.bilotta@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>am: format is in $patch_format, not parse_patch</title>
<updated>2011-08-29T16:07:54Z</updated>
<author>
<name>Giuseppe Bilotta</name>
<email>giuseppe.bilotta@gmail.com</email>
</author>
<published>2011-08-29T15:22:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=dff4b0ef30cd3f06e1f2383ce09f81b8da94d5b3'/>
<id>urn:sha1:dff4b0ef30cd3f06e1f2383ce09f81b8da94d5b3</id>
<content type='text'>
The error message given when the patch format was not recognized was
wrong, since the variable checked was $parse_patch rather than
$patch_format. Fix by checking the non-emptyness of the correct
variable.

Signed-off-by: Giuseppe Bilotta &lt;giuseppe.bilotta@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'js/i18n-scripts'</title>
<updated>2011-08-25T23:00:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-08-25T23:00:16Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=957450054cfbbe0d4ae8d33f7b74eace6e290f16'/>
<id>urn:sha1:957450054cfbbe0d4ae8d33f7b74eace6e290f16</id>
<content type='text'>
* js/i18n-scripts:
  submodule: take advantage of gettextln and eval_gettextln.
  stash: take advantage of eval_gettextln
  pull: take advantage of eval_gettextln
  git-am: take advantage of gettextln and eval_gettextln.
  gettext: add gettextln, eval_gettextln to encode common idiom
</content>
</entry>
<entry>
<title>Merge branch 'db/am-skip-blank-at-the-beginning'</title>
<updated>2011-08-19T05:07:57Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-08-19T05:07:57Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=beace29a0437068a36bc5963d905fac482724196'/>
<id>urn:sha1:beace29a0437068a36bc5963d905fac482724196</id>
<content type='text'>
* db/am-skip-blank-at-the-beginning:
  am: ignore leading whitespace before patch
</content>
</entry>
<entry>
<title>Merge branch 'ma/am-exclude'</title>
<updated>2011-08-19T05:07:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-08-19T05:07:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=d8308c79fc2cae2d1891f92b9e0f9ec0361fe7df'/>
<id>urn:sha1:d8308c79fc2cae2d1891f92b9e0f9ec0361fe7df</id>
<content type='text'>
* ma/am-exclude:
  am: Document new --exclude=&lt;path&gt; option
  am: pass exclude down to apply
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2011-08-16T21:22:26Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-08-16T21:22:26Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=50b68aeb392537a730a86349293acf046a778b74'/>
<id>urn:sha1:50b68aeb392537a730a86349293acf046a778b74</id>
<content type='text'>
* maint:
  Prepare for 1.7.6.1
  am: refresh the index at start and --resolved

Conflicts:
	GIT-VERSION-GEN
	RelNotes
</content>
</entry>
<entry>
<title>am: refresh the index at start and --resolved</title>
<updated>2011-08-16T18:15:41Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2011-08-16T00:13:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=2a6f08ac1f6949ed0072aed3240bc04d80051851'/>
<id>urn:sha1:2a6f08ac1f6949ed0072aed3240bc04d80051851</id>
<content type='text'>
If a file is unchanged but stat-dirty, we may erroneously
fail to apply patches, thinking that they conflict with a
dirty working tree.

This patch adds a call to "update-index --refresh". It comes
as late as possible, so that we don't bother with it for
thinks like "git rebase --abort", or when mbox-splitting
fails. However, it does come before we actually start
applying patches, meaning we will only call it once when we
start applying patches (or any time we return to "am" after
having resolved conflicts), and not once per patch.

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>am: ignore leading whitespace before patch</title>
<updated>2011-08-11T20:01:18Z</updated>
<author>
<name>David Barr</name>
<email>davidbarr@google.com</email>
</author>
<published>2011-08-08T02:49:04Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=0e8341f29d6541f661cc52f27f96877c0fd469c2'/>
<id>urn:sha1:0e8341f29d6541f661cc52f27f96877c0fd469c2</id>
<content type='text'>
Some web-based email clients prepend whitespace to raw message
transcripts to workaround content-sniffing in some browsers.  Adjust
the patch format detection logic to ignore leading whitespace.

So now you can apply patches from GMail with "git am" in three steps:

 1. choose "show original"
 2. tell the browser to "save as" (for example by pressing Ctrl+S)
 3. run "git am" on the saved file

This fixes a regression introduced by v1.6.4-rc0~15^2~2 (git-am
foreign patch support: autodetect some patch formats, 2009-05-27).
GMail support was first introduced to "git am" by v1.5.4-rc0~274^2
(Make mailsplit and mailinfo strip whitespace from the start of the
input, 2007-11-01).

Signed-off-by: David Barr &lt;davidbarr@google.com&gt;
Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
