Skip to content
Snippets Groups Projects
Commit 665c8d8c authored by nimrod's avatar nimrod
Browse files

Fix git-uncomitted.

Now it will list modified and staged files, modified and unstaged files
and entirely new files not yet staged (that aren't in the ignore list).
parent b0475437
Branches
No related tags found
No related merge requests found
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
set -eu set -eu
{ {
git diff --name-only git ls-files --modified --others --exclude-standard
git diff --name-only --cached git diff --name-only --cached
} | sort -u } | sort -u
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment