Re: [PATCH v2 1/5] notes: only clean up message file when editing
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 15, 2009, 07:54 UTC
- Message-ID
- <7vr620nnid.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <4655551d70d8829a7a15219aef384deb4e63371a.1234642638.git.trast@student.ethz.ch>
Thomas Rast <trast@student.ethz.ch> writes:
Show 5 quoted lines
> + MESSAGE="$GIT_DIR"/new-notes-$COMMIT > + trap ' > + test -f "$MESSAGE" && rm "$MESSAGE" > + ' 0 > +
Hmph, why not unconditionally rm -f "$MESSAGE" without test?