From 665c8d8c59e25121f90ef77d6297db97cfc7dc66 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 1 Jan 2022 21:32:41 +0200
Subject: [PATCH] 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).
---
 Documents/bin/git-uncommitted | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documents/bin/git-uncommitted b/Documents/bin/git-uncommitted
index 073bb0e..cb58e3a 100755
--- a/Documents/bin/git-uncommitted
+++ b/Documents/bin/git-uncommitted
@@ -2,6 +2,6 @@
 set -eu
 
 {
-    git diff --name-only
+    git ls-files --modified --others --exclude-standard
     git diff --name-only --cached
 } | sort -u
-- 
GitLab