diff options
author | Michael Allen <michael@michaelallen.io> | 2015-03-10 16:25:20 +0000 |
---|---|---|
committer | Michael Allen <michael@michaelallen.io> | 2015-03-10 16:25:20 +0000 |
commit | ab16bac1dbe8c3c21049b52c5002930f6bde666e (patch) | |
tree | a94aadad4094e598242ac453b0e55f5d4e4a91e7 /test-files.sh | |
parent | 18c874f385e991552f71b93b9dc68bcdfd7d9c19 (diff) | |
download | git-sonar-ab16bac1dbe8c3c21049b52c5002930f6bde666e.tar.gz git-sonar-ab16bac1dbe8c3c21049b52c5002930f6bde666e.zip |
list files from the root, not current dir
Diffstat (limited to '')
-rwxr-xr-x | test-files.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test-files.sh b/test-files.sh index 270ee3b..4c5e9c4 100755 --- a/test-files.sh +++ b/test-files.sh @@ -248,6 +248,12 @@ test_is_dirty() { touch foo assertTrue "untracked files" is_dirty + mkdir sneakSubDir + cd sneakSubDir + assertTrue "untracked files while in an empty sub dir" is_dirty + + cd ../ + git add . assertTrue "staged addition files" is_dirty |