Re: [PATCH 3/7] test patch hunk editing with "commit -p -m"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 17, 2014, 21:35 UTC
- Message-ID
- <xmqq61nccxvc.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CA+SSzV2qpQ+O0Ee7hrv+TM-j03BAvC1s_qJqOnyoBtVbCgxjtw@mail.gmail.com>
Benoit Pierre <benoit.pierre@gmail.com> writes:
> Isn't the point of using "when finished" to have each test leave the > tree clean after execution, to avoid "bleeding" onto the next test(s)?
But you cannot anticipate what other people will do in the future before you have a chance to run this piece. Your using when-finished is courtesy for others. Your explicitly making sure what you do not want to be stray behind is protecting yourself from others.
They serve different purposes, and you need both.