Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v2 1/5] notes: only clean up message file when editing

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:11

Thomas Rast [off-list ref] writes:
+	MESSAGE="$GIT_DIR"/new-notes-$COMMIT
+	trap '
+		test -f "$MESSAGE" && rm "$MESSAGE"
+	' 0
+
Hmph, why not unconditionally rm -f "$MESSAGE" without test?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help