git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 4/5] pick: remove useless PICK_REVERSE => PICK_ADD_NOTE code
@ 2009-08-01 15:46 Christian Couder
  0 siblings, 0 replies; only message in thread
From: Christian Couder @ 2009-08-01 15:46 UTC (permalink / raw)
  To: Junio C Hamano
  Cc: git, Johannes Schindelin, Stephan Beyer, Daniel Barkalow,
	Jakub Narebski

Junio noticed that the removed code was useless.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 pick.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/pick.c b/pick.c
index 13bf793..a6b1d6f 100644
--- a/pick.c
+++ b/pick.c
@@ -84,9 +84,6 @@ int pick_commit(struct commit *pick_commit, int mainline, int flags,
 	strbuf_init(msg, 0);
 	commit = pick_commit;
 
-	if (flags & PICK_REVERSE) /* REVERSE implies ADD_NOTE */
-		flags |= PICK_ADD_NOTE;
-
 	/*
 	 * We do not intend to commit immediately.  We just want to
 	 * merge the differences in, so let's compute the tree
-- 
1.6.4.133.g8a5c8

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-01 15:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-01 15:46 [PATCH v2 4/5] pick: remove useless PICK_REVERSE => PICK_ADD_NOTE code Christian Couder

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).