Skip to content

Commit

Permalink
Merge pull request #114 from scrawl/master
Browse files Browse the repository at this point in the history
Show all untracked files in the repository instead of just from ./ on
  • Loading branch information
magicmonty committed Jan 25, 2015
2 parents 724d3dc + 4083a4b commit c66cdfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitstatus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ staged_files=`git diff --staged --name-status`
num_changed=$(( `all_lines "$gitstatus"` - `count_lines "$gitstatus" U` ))
num_conflicts=`count_lines "$staged_files" U`
num_staged=$(( `all_lines "$staged_files"` - num_conflicts ))
num_untracked=`git ls-files --others --exclude-standard | wc -l`
num_untracked=`git ls-files --others --exclude-standard $(git rev-parse --show-cdup) | wc -l`
if [[ "$__GIT_PROMPT_IGNORE_STASH" = "1" ]]; then
num_stashed=0
else
Expand Down

0 comments on commit c66cdfb

Please sign in to comment.