Code

checkout: mention '--' in the docs
authorSZEDER Gábor <szeder@ira.uka.de>
Wed, 23 Jul 2008 11:49:21 +0000 (13:49 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 Jul 2008 06:29:38 +0000 (23:29 -0700)
'git checkout' uses '--' to separate options from paths, but it was not
mentioned in the documentation

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-checkout.txt

index 2abfbdaadb27ca9a97c23c9c00cc18fb07232d00..5aa69c0e12a6756fd6f79c117008a373f65ba5f5 100644 (file)
@@ -9,7 +9,7 @@ SYNOPSIS
 --------
 [verse]
 'git checkout' [-q] [-f] [[--track | --no-track] -b <new_branch> [-l]] [-m] [<branch>]
-'git checkout' [<tree-ish>] <paths>...
+'git checkout' [<tree-ish>] [--] <paths>...
 
 DESCRIPTION
 -----------