]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
also add the attributes file
authorRudolf Polzer <divverent@alientrap.org>
Wed, 21 Jul 2010 08:47:39 +0000 (10:47 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 21 Jul 2010 08:47:39 +0000 (10:47 +0200)
copy-gitattributes-to-branches.sh

index 03c4d2b0e35223477e77a756b9c0290d5c94430e..6ebe5e3ec14e59fdf8476780dad85a02b2fbc21d 100755 (executable)
@@ -24,6 +24,7 @@ case "$1" in
                        git reset --hard "$REFNAME"
                        echo "$attr" > "${me%/*}/.gitattributes"
                        git update-index --refresh
+                       git add .gitattributes
                        git commit -a -m"CRLF fixes, .gitattributes file updated"
                done
                git checkout master