]> granicus.if.org Git - git/commit
t7900-subtree: test the "space in a subdirectory name" case
authorAlexey Shumkin <alex.crezoff@gmail.com>
Fri, 4 Sep 2015 22:24:10 +0000 (01:24 +0300)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Sep 2015 18:09:10 +0000 (11:09 -0700)
commitc61eb4106d9ea77ba770c28a018cafa3b81b927e
tree415a99d042561b796693c6c030f60bb8ec10018e
parentec371ff6e382d660458eeb8c337d4744985bf308
t7900-subtree: test the "space in a subdirectory name" case

In common case there can be spaces in a subdirectory name. Change tests
accorgingly to this statement.

Also, as far as a call to the `rejoin_msg` function (in `cmd_split`)
does not take into account such a case this patch fixes commit message
when `--rejoin` option is set .

Besides, as `fixnl` and `multiline` functions did not take into account
the "new" tested "space in a subdirectory name" case they become unused
and redundant, so they are removed.

Signed-off-by: Alexey Shumkin <Alex.Crezoff@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/subtree/git-subtree.sh
contrib/subtree/t/t7900-subtree.sh