Re: [PATCH 07/13] contrib/subtree: Fix whitespaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"David A. Greene" <greened@xxxxxxxxxxxxx> writes:

> From: Techlive Zheng <techlivezheng@xxxxxxxxx>
>
> Previous code does not fulfill Git's whitespace policy.
>
> Signed-off-by: Techlive Zheng <techlivezheng@xxxxxxxxx>
> Signed-off-by: David A. Greene <greened@xxxxxxxxxxxxx>
> ---

This does not seem to apply; I hand-tweaked it to make it apply, but
the reindentation of t/t7900 does not look correct.

> 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 subproj

Perhaps 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]