t7501-commit.sh: explicitly check that -F prevents invoking the editor
commit7eb5bbdb645e04d746bc0edea102744f50a5e529
authorAdeodato Simó <dato@net.com.org.es>
Fri, 9 Jan 2009 17:30:05 +0000 (9 18:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 11 Jan 2009 01:45:02 +0000 (10 17:45 -0800)
treed37d6fa74195b5ed5237ca9166f400688090ca01
parentdf3987717f1546719a1bf1828fb3714cd5ca9faa
t7501-commit.sh: explicitly check that -F prevents invoking the editor

The "--signoff" test case in t7500-commit.sh was setting VISUAL while
using -F -, which indeed tested that the editor is not spawned with -F.
However, having it there was confusing, since there was no obvious reason
to the casual reader for it to be there.

This commits removes the setting of VISUAL from the --signoff test, and
adds in t7501-commit.sh a dedicated test case, where the rest of tests for
-F are.

Signed-off-by: Adeodato Simó <dato@net.com.org.es>
Okay-then-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7500-commit.sh
t/t7501-commit.sh