login
Header Space

 
 

Re: [PATCH] git-merge: add option --no-ff

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Lars Hjemli <hjemli@...>
Cc: Junio C Hamano <gitster@...>, Andreas Ericsson <ae@...>, Johannes Schindelin <Johannes.Schindelin@...>, Chris Shoemaker <c.shoemaker@...>, <git@...>
Date: Monday, September 17, 2007 - 8:50 pm

Lars Hjemli <hjemli@gmail.com> wrote:

Would automatically enabling --no-ff when it detects merging of two (or
more) SVN branches be a good thing?  We can add scripting support to
git-svn for detecting if any given commit is really from SVN or not.
Then we could do something like this in git-merge

---------------------------- 8< --------------------------------
if git-svn test-svn-commits "$@"
then
	no_ff=t
	no_fast_forward_strategies=$all_strategies
fi
---------------------------- 8< --------------------------------

It'd probably prevent a lot of users from shooting themselves in the
foot if they forget to read or learn about the --no-ff option.


Yeah.  That's very much out of date.  I'll update it in a bit.

-- 
Eric Wong
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] git-merge: add option --no-ff, Lars Hjemli, (Mon Sep 17, 8:17 am)
Re: [PATCH] git-merge: add option --no-ff, Andreas Ericsson, (Mon Sep 17, 8:39 am)
Re: [PATCH] git-merge: add option --no-ff, Lars Hjemli, (Mon Sep 17, 9:16 am)
Re: [PATCH] git-merge: add option --no-ff, Johannes Schindelin, (Mon Sep 17, 9:23 am)
Re: [PATCH] git-merge: add option --no-ff, Lars Hjemli, (Mon Sep 17, 9:38 am)
Re: [PATCH] git-merge: add option --no-ff, Johannes Schindelin, (Mon Sep 17, 9:57 am)
Re: [PATCH] git-merge: add option --no-ff, Lars Hjemli, (Mon Sep 17, 10:12 am)
Re: [PATCH] git-merge: add option --no-ff, Chris Shoemaker, (Mon Sep 17, 12:07 pm)
Re: [PATCH] git-merge: add option --no-ff, Lars Hjemli, (Mon Sep 17, 12:14 pm)
Re: [PATCH] git-merge: add option --no-ff, Johannes Schindelin, (Mon Sep 17, 11:05 am)
Re: [PATCH] git-merge: add option --no-ff, Lars Hjemli, (Mon Sep 17, 11:17 am)
[PATCH] git-merge: add option --no-ff, Lars Hjemli, (Mon Sep 17, 12:23 pm)
Re: [PATCH] git-merge: add option --no-ff, Peter Baumann, (Tue Sep 18, 6:51 pm)
Re: [PATCH] git-merge: add option --no-ff, Lars Hjemli, (Wed Sep 19, 3:09 am)
Re: [PATCH] git-merge: add option --no-ff, Eric Wong, (Mon Sep 17, 8:50 pm)
Re: [PATCH] git-merge: add option --no-ff, Lars Hjemli, (Tue Sep 18, 2:12 am)
Re: [PATCH] git-merge: add option --no-ff, Junio C Hamano, (Tue Sep 18, 2:53 am)
Re: [PATCH] git-merge: add option --no-ff, Lars Hjemli, (Tue Sep 18, 4:02 am)
Re: [PATCH] git-merge: add option --no-ff, Sam Vilain, (Tue Sep 18, 3:30 am)
Re: [PATCH] git-merge: add option --no-ff, Sam Vilain, (Tue Sep 18, 5:12 am)
Re: [PATCH] git-merge: add option --no-ff, Lars Hjemli, (Tue Sep 18, 7:19 am)
Re: [PATCH] git-merge: add option --no-ff, Johannes Schindelin, (Tue Sep 18, 8:29 am)
Re: [PATCH] git-merge: add option --no-ff, Lars Hjemli, (Tue Sep 18, 8:38 am)
Re: [PATCH] git-merge: add option --no-ff, Sam Vilain, (Tue Sep 18, 7:50 am)
Re: [PATCH] git-merge: add option --no-ff, Lars Hjemli, (Tue Sep 18, 8:03 am)
Re: [PATCH] git-merge: add option --no-ff, Sam Vilain, (Tue Sep 18, 9:22 am)
Re: [PATCH] git-merge: add option --no-ff, Lars Hjemli, (Tue Sep 18, 10:01 am)
Re: [PATCH] git-merge: add option --no-ff, Sam Vilain, (Tue Sep 18, 10:34 am)
Re: [PATCH] git-merge: add option --no-ff, Eric Wong, (Tue Sep 18, 2:23 am)
Re: [PATCH] git-merge: add option --no-ff, Junio C Hamano, (Mon Sep 17, 9:09 pm)
Re: [PATCH] git-merge: add option --no-ff, Eric Wong, (Mon Sep 17, 9:39 pm)
Re: [PATCH] git-merge: add option --no-ff, Chris Shoemaker, (Mon Sep 17, 9:37 am)
Re: [PATCH] git-merge: add option --no-ff, Johannes Schindelin, (Mon Sep 17, 9:52 am)
Re: [PATCH] git-merge: add option --no-ff, Lars Hjemli, (Mon Sep 17, 9:40 am)
speck-geostationary