diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-12-27 23:01:32 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-27 23:01:32 -0800 |
commit | c2ff10c98e22ae64d553273e6d67bb123a1c916f (patch) | |
tree | 7ac3dec7bc0eeb688b538932b4d30f64d245d252 /t/test-lib.sh | |
parent | 67834b924044101a5d25f047746cfce7301bff1c (diff) | |
parent | 3c5884536563518ce6cd4dc782b0ebb670bf3b6d (diff) | |
download | git-c2ff10c98e22ae64d553273e6d67bb123a1c916f.tar.gz |
Merge branch 'jk/1.7.0-status'
* jk/1.7.0-status:
status/commit: do not suggest "reset HEAD <path>" while merging
commit/status: "git add <path>" is not necessarily how to resolve
commit/status: check $GIT_DIR/MERGE_HEAD only once
t7508-status: test all modes with color
t7508-status: status --porcelain ignores relative paths setting
status: reduce duplicated setup code
status: disable color for porcelain format
status -s: obey color.status
builtin-commit: refactor short-status code into wt-status.c
t7508-status.sh: Add tests for status -s
status -s: respect the status.relativePaths option
docs: note that status configuration affects only long format
commit: support alternate status formats
status: add --porcelain output format
status: refactor format option parsing
status: refactor short-mode printing to its own function
status: typo fix in usage
git status: not "commit --dry-run" anymore
git stat -s: short status output
git stat: the beginning of "status that is not a dry-run of commit"
Conflicts:
t/t4034-diff-words.sh
wt-status.c
Diffstat (limited to 't/test-lib.sh')
-rw-r--r-- | t/test-lib.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index 2d523fe0f0..142f36f2e9 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -211,6 +211,17 @@ test_set_editor () { export EDITOR } +test_decode_color () { + sed -e 's/.\[1m/<WHITE>/g' \ + -e 's/.\[31m/<RED>/g' \ + -e 's/.\[32m/<GREEN>/g' \ + -e 's/.\[33m/<YELLOW>/g' \ + -e 's/.\[34m/<BLUE>/g' \ + -e 's/.\[35m/<MAGENTA>/g' \ + -e 's/.\[36m/<CYAN>/g' \ + -e 's/.\[m/<RESET>/g' +} + test_tick () { if test -z "${test_tick+set}" then |