summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Delaite <antoine.delaite@ensimag.grenoble-inp.fr>2015-06-23 14:54:40 +0200
committerJunio C Hamano <gitster@pobox.com>2015-06-23 11:41:56 -0700
commitf6216c2c5c113bc6b1ed008c5ed01062042382e1 (patch)
tree6a942e3e8a1b3bf42a9cc8e26739da7e45089cd5
parent5b1d901c0173b41010856e30776c92d02987ea25 (diff)
downloadgit-f6216c2c5c113bc6b1ed008c5ed01062042382e1.tar.gz
bisect: correction of typo
Signed-off-by: Antoine Delaite <antoine.delaite@ensimag.grenoble-inp.fr> Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--bisect.c2
-rwxr-xr-xt/t6030-bisect-porcelain.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/bisect.c b/bisect.c
index 03d5cd9454..5b8357d4b3 100644
--- a/bisect.c
+++ b/bisect.c
@@ -743,7 +743,7 @@ static void handle_bad_merge_base(void)
fprintf(stderr, "Some good revs are not ancestor of the bad rev.\n"
"git bisect cannot work properly in this case.\n"
- "Maybe you mistake good and bad revs?\n");
+ "Maybe you mistook good and bad revs?\n");
exit(1);
}
diff --git a/t/t6030-bisect-porcelain.sh b/t/t6030-bisect-porcelain.sh
index 06b4868109..9e2c203747 100755
--- a/t/t6030-bisect-porcelain.sh
+++ b/t/t6030-bisect-porcelain.sh
@@ -362,7 +362,7 @@ test_expect_success 'bisect starting with a detached HEAD' '
test_expect_success 'bisect errors out if bad and good are mistaken' '
git bisect reset &&
test_must_fail git bisect start $HASH2 $HASH4 2> rev_list_error &&
- grep "mistake good and bad" rev_list_error &&
+ grep "mistook good and bad" rev_list_error &&
git bisect reset
'