Thread (21 messages) flat view 21 messages, 6 authors, 2016-06-15

Re: What's in git.git (Aug 2009, #01; Wed, 05)

From: Nicolas Sebrecht <hidden>
Date: 2016-06-15 22:47:11
Subsystem: the rest · Maintainer: Linus Torvalds

The 06/08/09, Brandon Casey wrote:
quoted hunk ↗ jump to hunk
I think we should at least do this to fall back to mbox format:
diff --git a/git-am.sh b/git-am.sh
index d64d997..94fa9c9 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -187,6 +187,7 @@ check_patch_format () {
 				patch_format=stgit
 				;;
 			*)
+				patch_format=mbox
 				;;
 			esac
 			;;
This is even better that all my crap. But I think we should squash
this:

---
 git-am.sh |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/git-am.sh b/git-am.sh
index 94fa9c9..e8ec8d7 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -254,9 +254,6 @@ split_patches () {
                this=
                msgnum=
                ;;
-       *)
-               clean_abort "Patch format $patch_format is not supported."
-               ;;
        esac
 }

-- 
Nicolas Sebrecht
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help