From c69c948d1e38505bfe79aff2a0e866990c1883c1 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 21 Jul 2010 10:47:39 +0200 Subject: [PATCH] also add the attributes file --- copy-gitattributes-to-branches.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/copy-gitattributes-to-branches.sh b/copy-gitattributes-to-branches.sh index 03c4d2b0..6ebe5e3e 100755 --- a/copy-gitattributes-to-branches.sh +++ b/copy-gitattributes-to-branches.sh @@ -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 -- 2.39.2