summaryrefslogtreecommitdiff
path: root/t/t2020-checkout-detach.sh
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2012-11-15 10:45:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-11-16 19:24:11 (GMT)
commitc190ced600223f0774f6ba33f608b1e1347e623e (patch)
tree024bc8fb007c2fa0a20fc0277a85cd163230c6de /t/t2020-checkout-detach.sh
parent8c7a786b6c8eae8eac91083cdc9a6e337bc133b0 (diff)
downloadgit-c190ced600223f0774f6ba33f608b1e1347e623e.zip
git-c190ced600223f0774f6ba33f608b1e1347e623e.tar.gz
git-c190ced600223f0774f6ba33f608b1e1347e623e.tar.bz2
status: add advice on how to push/pull to tracking branch
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2020-checkout-detach.sh')
-rwxr-xr-xt/t2020-checkout-detach.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t2020-checkout-detach.sh b/t/t2020-checkout-detach.sh
index 8100537..5d68729 100755
--- a/t/t2020-checkout-detach.sh
+++ b/t/t2020-checkout-detach.sh
@@ -151,6 +151,7 @@ test_expect_success 'checkout does not warn leaving reachable commit' '
cat >expect <<'EOF'
Your branch is behind 'master' by 1 commit, and can be fast-forwarded.
+ (use "git pull" to update your local branch)
EOF
test_expect_success 'tracking count is accurate after orphan check' '
reset &&