Skip to content

Commit

Permalink
Merge branch 'ds/completion-silence-in-tree-path-probe' into maint
Browse files Browse the repository at this point in the history
* ds/completion-silence-in-tree-path-probe:
  git-completion.bash: silence "not a valid object" errors
  • Loading branch information
Junio C Hamano committed Jan 28, 2013
2 parents 095d65d + ca87dd6 commit 7025616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ __git_complete_revlist_file ()
*) pfx="$ref:$pfx" ;;
esac

__gitcomp_nl "$(git --git-dir="$(__gitdir)" ls-tree "$ls" \
__gitcomp_nl "$(git --git-dir="$(__gitdir)" ls-tree "$ls" 2>/dev/null \
| sed '/^100... blob /{
s,^.* ,,
s,$, ,
Expand Down

0 comments on commit 7025616

Please sign in to comment.