all repos — dotfiles @ 8cfa10f4d00b31be5057e20fded9b26eaa34acd1

my *nix dotfiles

Clean up StatusList flags
Anirudh Oppiliappan x@icyphox.sh
Wed, 11 Aug 2021 17:13:13 +0530
commit

8cfa10f4d00b31be5057e20fded9b26eaa34acd1

parent

e1f6aaaf6ffd35224b5d3f057c28fb2560e1c3b0

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M prompt/git.goprompt/git.go

@@ -39,7 +39,7 @@ // Returns • if clean, else ×.

func gitStatus(repo *git.Repository) string { sl, _ := repo.StatusList(&git.StatusOptions{ Show: git.StatusShowIndexAndWorkdir, - Flags: git.StatusOptIncludeUntracked | git.StatusOptRenamesHeadToIndex | git.StatusOptSortCaseSensitively, + Flags: git.StatusOptIncludeUntracked, }) n, _ := sl.EntryCount() if n != 0 {