author | Adeodato Simó <dato@net.com.org.es> | |
Fri, 9 Jan 2009 17:30:05 +0000 (18:30 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 11 Jan 2009 01:45:02 +0000 (17:45 -0800) | ||
commit | 7eb5bbdb645e04d746bc0edea102744f50a5e529 | |
tree | d37d6fa74195b5ed5237ca9166f400688090ca01 | tree | snapshot |
parent | df3987717f1546719a1bf1828fb3714cd5ca9faa | commit | diff |
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>
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 | diff | blob | history | |
t/t7501-commit.sh | diff | blob | history |