Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCHv6 2/4] t7512-status-help.sh: better advices for git status

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:58

konglu@minatec.inpg.fr writes:
Junio C Hamano [off-list ref]:
...
quoted
Please be consistent.  If you want _me_ to pick one, I'd say

	test_when_finished 'rm -fr git' &&
        git init git &&
        (
        	cd git &&
                ... do everything in git subdirectory ...
	)

would be my choice.
Btw, should each test be independant with the others?
It would be ideal if you can make them independent with each other,
so that after one fails, later ones do not have to.
Wouldn't it be better if we remove the "git init git" part?
If you do not need to keep your tests from using the test repository
in $TRASH_DIRECTORY (e.g. "t/trash directory.t7512-status-help"),
you do not have to create a new one with "git init".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help