Re: [PATCH 2/2] Added tests for git reset -
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 10, 2015, 17:36 UTC
- Message-ID
- <xmqqfv9c21qj.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CAPig+cRgA5ZMM8d+ep8cyoZpK8FubzDBNVACgGWyWdRgF+nq7w@mail.gmail.com>
Eric Sunshine <sunshine@sunshineco.com> writes:
>> +test_expect_success 'reset - with no @{-1}' '
>> + git init new --quiet &&
>
> Why --quiet?Also, to make sure tests serve as good examples, tests should stick to "options first and then arguments", i.e. "git init --quiet new", if it passes options.