summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-09-02 13:18:07 -0700
committerJunio C Hamano <gitster@pobox.com>2011-09-02 13:18:07 -0700
commite7734c6c9b04d78e970b8de4765cdebd984ec6e6 (patch)
tree5b82e7fdb271f0f414e56916bb5dd7d653ed2e93
parentc33e30675b601d6707dc4022a8f64812509c7566 (diff)
parentdff4b0ef30cd3f06e1f2383ce09f81b8da94d5b3 (diff)
downloadgit-e7734c6c9b04d78e970b8de4765cdebd984ec6e6.tar.gz
Merge branch 'gb/maint-am-patch-format-error-message'
* gb/maint-am-patch-format-error-message: am: format is in $patch_format, not parse_patch Conflicts: git-am.sh
-rw-r--r--Documentation/RelNotes/1.7.7.txt13
-rwxr-xr-xgit-am.sh3
2 files changed, 15 insertions, 1 deletions
diff --git a/Documentation/RelNotes/1.7.7.txt b/Documentation/RelNotes/1.7.7.txt
index 82dc9292c3..6b3264aa7e 100644
--- a/Documentation/RelNotes/1.7.7.txt
+++ b/Documentation/RelNotes/1.7.7.txt
@@ -69,6 +69,9 @@ Updates since v1.7.6
generation machinery stolen from jgit, which might give better
performance.
+ * "git diff" had a wierd worst case behaviour that can be triggered
+ when comparing files with potentially many places that could match.
+
* "git fetch", "git push" and friends no longer show connection
errors for addresses that couldn't be connected when at least one
address succeeds (this is arguably a regression but a deliberate
@@ -86,12 +89,22 @@ Updates since v1.7.6
* "git rebase master topci" no longer spews usage hints after giving
"fatal: no such branch: topci" error message.
+ * The recursive merge strategy implementation got a fairly large
+ fixes for many corner cases that may rarely happen in real world
+ projects (it has been verified that none of the 16000+ merges in
+ the Linux kernel history back to v2.6.12 is affected with the
+ corner case bugs this update fixes).
+
* "git stash" learned --include-untracked option.
* "git submodule update" used to stop at the first error updating a
submodule; it now goes on to update other submodules that can be
updated, and reports the ones with errors at the end.
+ * "git push" can be told with --recurse-submodules=check option to
+ refuse pushing of the supermodule, if any of its submodules'
+ commits hasn't been pushed out to their remotes.
+
* "git upload-pack" and "git receive-pack" learned to pretend only a
subset of the refs exist in a repository. This may help a site to
put many tiny repositories into one repository (this would not be
diff --git a/git-am.sh b/git-am.sh
index e78cb547b7..745fda9cbd 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -312,7 +312,8 @@ split_patches () {
msgnum=
;;
*)
- if test -n "$parse_patch" ; then
+ if test -n "$patch_format"
+ then
clean_abort "$(eval_gettext "Patch format \$patch_format is not supported.")"
else
clean_abort "$(gettext "Patch format detection failed.")"