Skip to content

Commit

Permalink
Correct missing SP characters in grammar comment at top of fast-import.c
Browse files Browse the repository at this point in the history
Signed-off-by: Elijah Newren <newren@gmail.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Elijah Newren authored and Junio C Hamano committed Mar 25, 2009
1 parent d5b0c97 commit 98e1a41
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions fast-import.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/*
(See Documentation/git-fast-import.txt for maintained documentation.)
Format of STDIN stream:
stream ::= cmd*;
Expand All @@ -18,8 +19,8 @@ Format of STDIN stream:
new_commit ::= 'commit' sp ref_str lf
mark?
('author' sp name '<' email '>' when lf)?
'committer' sp name '<' email '>' when lf
('author' sp name sp '<' email '>' sp when lf)?
'committer' sp name sp '<' email '>' sp when lf
commit_msg
('from' sp (ref_str | hexsha1 | sha1exp_str | idnum) lf)?
('merge' sp (ref_str | hexsha1 | sha1exp_str | idnum) lf)*
Expand All @@ -43,7 +44,7 @@ Format of STDIN stream:
new_tag ::= 'tag' sp tag_str lf
'from' sp (ref_str | hexsha1 | sha1exp_str | idnum) lf
('tagger' sp name '<' email '>' when lf)?
('tagger' sp name sp '<' email '>' sp when lf)?
tag_msg;
tag_msg ::= data;
Expand Down

0 comments on commit 98e1a41

Please sign in to comment.