Thread (3 messages) flat view 3 messages, 2 authors, 2017-03-07

Re: [PATCH 4/4] git-prompt.sh: add tests for submodule indicator

From: Junio C Hamano <hidden>
Date: 2017-01-31 22:15:06

Possibly related (same subject, not in this thread)

SZEDER Gábor [off-list ref] writes:
On Mon, Jan 30, 2017 at 9:44 PM, Benjamin Fuchs [off-list ref] wrote:
quoted
Signed-off-by: Benjamin Fuchs <redacted>
---
 t/t9903-bash-prompt.sh | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
diff --git a/t/t9903-bash-prompt.sh b/t/t9903-bash-prompt.sh
index 97c9b32..4dce366 100755
--- a/t/t9903-bash-prompt.sh
+++ b/t/t9903-bash-prompt.sh
@@ -37,6 +37,11 @@ test_expect_success 'setup for prompt tests' '
        git commit -m "yet another b2" file &&
        mkdir ignored_dir &&
        echo "ignored_dir/" >>.gitignore &&
+       git checkout -b submodule &&
+       git submodule add ./. sub &&
./. ?
Good eyes.  This is a pattern we are trying to wean ourselves off
of.  E.g. cf.

    https://public-inbox.org/git/20170105192904.1107-2-sbeller@google.com/#t

Hopefully this reminds us to resurrect and finish the test fixes in
that thread?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help