Thread (71 messages) flat view 71 messages, 8 authors, 2016-06-15

Re: [PATCH v6 4/4] git-rebase: add keep_empty flag

From: Neil Horman <nhorman@tuxdriver.com>
Date: 2016-06-15 22:53:37

On Tue, Apr 17, 2012 at 11:47:01PM +0200, Clemens Buchacher wrote:
On Tue, Apr 17, 2012 at 02:20:09PM -0400, Neil Horman wrote:
quoted
@@ -780,9 +793,17 @@ git rev-list $merges_option --pretty=oneline --abbrev-commit \
 	sed -n "s/^>//p" |
 while read -r shortsha1 rest
 do
+
+	if test -z "$keep_empty" && is_empty_commit $shortsha1
+	then
+		comment_out="# pick"
+	else
+		comment_out="pick"
+	fi
You forgot to change this to comment_out="# " and comment_out="".
Thanks, I'll fix that up when I modify the keep-redundant-commits commit message
Neil
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help