From e34f7b33e14451db947c3be628112c70618b8567 Mon Sep 17 00:00:00 2001 From: Taylor Blau Date: Tue, 5 Jul 2016 13:46:32 -0600 Subject: [PATCH] test/track: touch and stage files --- test/test-track.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test-track.sh b/test/test-track.sh index 57d34e6a..1ee48be5 100755 --- a/test/test-track.sh +++ b/test/test-track.sh @@ -230,6 +230,9 @@ begin_test "track blacklisted files by name" cd "$repo" git init + touch .gitattributes + git add .gitattributes + git lfs track .gitattributes 2>&1 > track.log grep "Pattern .gitattributes matches forbidden file .gitattributes" track.log ) @@ -244,6 +247,9 @@ begin_test "track blacklisted files with glob" cd "$repo" git init + touch .gitattributes + git add .gitattributes + git lfs track ".git*" 2>&1 > track.log grep "Pattern .git\* matches forbidden file" track.log )