* [PATCH] checkout: Fix grammar in inline comment.
@ 2014-04-12 22:41 Brian Gesiak
0 siblings, 0 replies; only message in thread
From: Brian Gesiak @ 2014-04-12 22:41 UTC (permalink / raw)
To: git; +Cc: Brian Gesiak
Inline comment had incorrect grammar. Fix grammatical mistakes and
reflect actual behavior of the function.
Signed-off-by: Brian Gesiak <modocache@gmail.com>
---
builtin/checkout.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/builtin/checkout.c b/builtin/checkout.c
index 63151e0..abe1161 100644
--- a/builtin/checkout.c
+++ b/builtin/checkout.c
@@ -888,8 +888,8 @@ static int parse_branchname_arg(int argc, const char **argv,
*
* case 3: git checkout <something> [--]
*
- * (a) If <something> is a commit, that is to
- * switch to the branch or detach HEAD at it. As a special case,
+ * (a) If <something> is a commit, switch to that branch or
+ * detach HEAD at that commit. As a special case,
* if <something> is A...B (missing A or B means HEAD but you can
* omit at most one side), and if there is a unique merge base
* between A and B, A...B names that merge base.
--
1.9.0.259.gc5d75e8.dirty
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-12 22:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-12 22:41 [PATCH] checkout: Fix grammar in inline comment Brian Gesiak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).