X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=copy-gitattributes-to-branches.sh;h=03c4d2b0e35223477e77a756b9c0290d5c94430e;hp=90b98ed413c8b5e7729b87286822a27f3bad0db3;hb=6b94755796296e5edbdf79ffb1bf937d240c4435;hpb=e27b6944b15b7d1847011770d6393fb78f3d1efa diff --git a/copy-gitattributes-to-branches.sh b/copy-gitattributes-to-branches.sh index 90b98ed4..03c4d2b0 100755 --- a/copy-gitattributes-to-branches.sh +++ b/copy-gitattributes-to-branches.sh @@ -26,6 +26,8 @@ case "$1" in git update-index --refresh git commit -a -m"CRLF fixes, .gitattributes file updated" done + git checkout master + true ;; *) attr=`cat .gitattributes`