git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH/RFC 1/2] pull: pass the --no-ff-only flag through to merge, not fetch
@ 2011-12-01  1:38 Samuel Bronson
  2011-12-01  1:38 ` [PATCH/RFC 2/2] merge, pull: Document the --no-ff-only merge option Samuel Bronson
  2011-12-01  4:58 ` [PATCH/RFC 1/2] pull: pass the --no-ff-only flag through to merge, not fetch Junio C Hamano
  0 siblings, 2 replies; 6+ messages in thread
From: Samuel Bronson @ 2011-12-01  1:38 UTC (permalink / raw)
  To: git; +Cc: Samuel Bronson

Without this, pull becomes unusable for merging branches when the config
option `merge.ff` is set to `only`.

Signed-off-by: Samuel Bronson <naesten@gmail.com>
---
 git-pull.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/git-pull.sh b/git-pull.sh
index 9868a0b..a09fcbc 100755
--- a/git-pull.sh
+++ b/git-pull.sh
@@ -76,6 +76,8 @@ do
 		no_ff=--no-ff ;;
 	--ff-only)
 		ff_only=--ff-only ;;
+	--no-ff-only)
+		ff_only=--no-ff-only ;;
 	-s=*|--s=*|--st=*|--str=*|--stra=*|--strat=*|--strate=*|\
 		--strateg=*|--strategy=*|\
 	-s|--s|--st|--str|--stra|--strat|--strate|--strateg|--strategy)
-- 
1.7.7.3

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-12-01 18:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-01  1:38 [PATCH/RFC 1/2] pull: pass the --no-ff-only flag through to merge, not fetch Samuel Bronson
2011-12-01  1:38 ` [PATCH/RFC 2/2] merge, pull: Document the --no-ff-only merge option Samuel Bronson
2011-12-01  4:58 ` [PATCH/RFC 1/2] pull: pass the --no-ff-only flag through to merge, not fetch Junio C Hamano
2011-12-01 17:18   ` Samuel Bronson
2011-12-01 18:06     ` Junio C Hamano
2011-12-01 18:59       ` Samuel Bronson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).