Re: [PATCH 07/13] contrib/subtree: Fix whitespaces
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 5, 2013, 04:42 UTC
- Message-ID
- <7v6227xtf1.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1360037173-23291-8-git-send-email-greened@obbligato.org>
"David A. Greene" <greened@obbligato.org> writes:
Show 7 quoted lines
> From: Techlive Zheng <techlivezheng@gmail.com> > > Previous code does not fulfill Git's whitespace policy. > > Signed-off-by: Techlive Zheng <techlivezheng@gmail.com> > Signed-off-by: David A. Greene <greened@obbligato.org> > ---
This does not seem to apply; I hand-tweaked it to make it apply, but the reindentation of t/t7900 does not look correct.
Show 19 quoted lines
> diff --git a/contrib/subtree/t/t7900-subtree.sh b/contrib/subtree/t/t7900-subtree.sh
> index 3f17f55..e6a3702 100755
> --- a/contrib/subtree/t/t7900-subtree.sh
> +++ b/contrib/subtree/t/t7900-subtree.sh
> @@ -23,7 +23,7 @@ check_equal()
> {
> test_debug 'echo'
> test_debug "echo \"check a:\" \"{$1}\""
> - test_debug "echo \" b:\" \"{$2}\""
> + test_debug "echo \" b:\" \"{$2}\""
> if [ "$1" = "$2" ]; then
> return 0
> else
> @@ -61,17 +61,17 @@ last_commit_message()
> }
>
> test_expect_success 'init subproj' '
> - test_create_repo subproj
> + test_create_repo subprojPerhaps this was originally done with an editor whose tabwidth was set to 4? It gives too much indentation when standard tabwidth of 8 is used.