Skip to content

Commit

Permalink
tests: add tests for the bash prompt functions in the completion script
Browse files Browse the repository at this point in the history
The tests cover the discovery of the '.git' directory in the
__gitdir() function in different scenarios, and the prompt itself,
i.e. branch name, detached heads, operations (rebase, merge,
cherry-pick, bisect), and status indicators (dirty, stash, untracked
files; but not the upstream status).

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
SZEDER Gábor authored and Junio C Hamano committed May 9, 2012
1 parent f8891cf commit 963c040
Showing 1 changed file with 448 additions and 0 deletions.
Loading

0 comments on commit 963c040

Please sign in to comment.