diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-06-07 00:04:01 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-06-07 00:04:01 -0700 |
commit | a6080a0a44d5ead84db3dabbbc80e82df838533d (patch) | |
tree | 37360b8334cf8459609d1fae72f8213947858cc0 /git-checkout.sh | |
parent | d44c782bbd6b0e806e056f9e8ff8cd8e426e67a3 (diff) | |
download | git-a6080a0a44d5ead84db3dabbbc80e82df838533d.tar.gz git-a6080a0a44d5ead84db3dabbbc80e82df838533d.tar.xz |
War on whitespace
This uses "git-apply --whitespace=strip" to fix whitespace errors that have
crept in to our source files over time. There are a few files that need
to have trailing whitespaces (most notably, test vectors). The results
still passes the test, and build result in Documentation/ area is unchanged.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-checkout.sh')
-rwxr-xr-x | git-checkout.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-checkout.sh b/git-checkout.sh index 6b6facfd5..d561c88dc 100755 --- a/git-checkout.sh +++ b/git-checkout.sh @@ -210,7 +210,7 @@ else esac # Match the index to the working tree, and do a three-way. - git diff-files --name-only | git update-index --remove --stdin && + git diff-files --name-only | git update-index --remove --stdin && work=`git write-tree` && git read-tree $v --reset -u $new || exit @@ -245,7 +245,7 @@ else (exit $saved_err) fi -# +# # Switch the HEAD pointer to the new branch if we # checked out a branch head, and remove any potential # old MERGE_HEAD's (subsequent commits will clearly not |