# [PATCH v2 4/5] pick: remove useless PICK_REVERSE => PICK_ADD_NOTE code

1 messages from 2009-08-01 to 2009-08-01. Participants: Christian Couder.
Thread: https://gitlist.dev/t/20330

## Christian Couder, 2009-08-01 15:46

Subject: [PATCH v2 4/5] pick: remove useless PICK_REVERSE => PICK_ADD_NOTE code
Message-ID: <20090801154607.20922.74121.chriscool@tuxfamily.org>
URL: https://gitlist.dev/e/20090801154607.20922.74121.chriscool%40tuxfamily.org

```
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

```
