Eric Sunshine writes:
>> +test_expect_failure 'edit hunk "commit -p -m message"' '
>> + echo e | env GIT_EDITOR="sed s/+line3\$/+line2/ -i" git commit -p -m
>> commit2 file &&
>> + git diff HEAD^ HEAD >diff &&
>> + test_cmp expected diff
>> +'
>
> If you ever add more tests, is
On Thu, Mar 6, 2014 at 9:50 AM, Benoit Pierre wrote:
> Add (failing) test: with commit changing the environment to let hooks
> now that no editor will be used (by setting GIT_EDITOR to ":"), the
> "edit hunk" functionality does not work (no editor is launched and the
> whole hunk is committed).
>
2 matches
Mail list logo