X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=builtin-reflog.c;h=95198c5de41072bfb8adf7f29d9bbb44eec665ac;hb=e4d1afbcf2e39a997ae90befd629ee53e444c4c9;hp=249ad2a311f2e9680618870aed3ac053c9fcf7a1;hpb=58e93fa357006d9a231da48fb81eb23c417ed927;p=git.git diff --git a/builtin-reflog.c b/builtin-reflog.c index 249ad2a31..95198c5de 100644 --- a/builtin-reflog.c +++ b/builtin-reflog.c @@ -240,10 +240,10 @@ static int unreachable(struct expire_reflog_cb *cb, struct commit *commit, unsig static void mark_reachable(struct commit *commit, unsigned long expire_limit) { /* - * We need to compute if commit on either side of an reflog + * We need to compute whether the commit on either side of a reflog * entry is reachable from the tip of the ref for all entries. * Mark commits that are reachable from the tip down to the - * time threashold first; we know a commit marked thusly is + * time threshold first; we know a commit marked thusly is * reachable from the tip without running in_merge_bases() * at all. */ @@ -694,7 +694,7 @@ static int cmd_reflog_delete(int argc, const char **argv, const char *prefix) */ static const char reflog_usage[] = -"git reflog (expire | ...)"; +"git reflog [ show | expire | delete ]"; int cmd_reflog(int argc, const char **argv, const char *prefix) {