DORMANTno replies

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

From: Christian Couder <hidden>
Date: 2016-06-15 22:47:08
Subsystem: the rest · Maintainer: Linus Torvalds

Junio noticed that the removed code was useless.

Signed-off-by: Christian Couder <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help