Code

checkout: accord documentation to what git does
authorNicolas Sebrecht <nicolas.s.dev@gmx.fr>
Fri, 9 Jul 2010 20:27:48 +0000 (22:27 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Jul 2010 23:28:21 +0000 (16:28 -0700)
Signed-off-by: Nicolas Sebrecht <nicolas.s.dev@gmx.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-checkout.txt

index 7146288ad6b8a2bc8b44513e76d87cdb628827e9..7b831622239872b1567eada42fa03331a6b3494f 100644 (file)
@@ -238,7 +238,7 @@ the above checkout would fail like this:
 +
 ------------
 $ git checkout mytopic
-fatal: Entry 'frotz' not uptodate. Cannot merge.
+error: You have local changes to 'frotz'; not switching branches.
 ------------
 +
 You can give the `-m` flag to the command, which would try a