Re: [PATCH 2/2] pretty-formats.txt: add missing space
From: Martin Ågren <hidden>
Date: 2021-05-09 15:28:10
On Sun, 9 May 2021 at 16:13, ZheNing Hu [off-list ref] wrote:
Martin Ågren [off-list ref] 于2021年5月9日周日 下午5:10写道:quoted
The description of "%ch" is missing a space after "human style", before the parenthetical remark. This description was introduced in b722d4560e ("pretty: provide human date format", 2021-04-25). That commit also added "%ah", which does have the space already.
quoted
--- a/Documentation/pretty-formats.txt +++ b/Documentation/pretty-formats.txt@@ -208,7 +208,7 @@ The placeholders are: '%ci':: committer date, ISO 8601-like format '%cI':: committer date, strict ISO 8601 format '%cs':: committer date, short format (`YYYY-MM-DD`) -'%ch':: committer date, human style(like the `--date=human` option of +'%ch':: committer date, human style (like the `--date=human` option of linkgit:git-rev-list[1])
Sorry, but in here:[1], I have fixed this space missing error. Junio, this patch have not been merged to master? [1]: https://lore.kernel.org/git/pull.939.v4.git.1620056221874.gitgitgadget@gmail.com/ (local)
Ah, thanks for the pointer. It looks like this was merged to "next" in
2320ad8fb0 ("Merge branch 'zh/pretty-date-human' into next", 2021-04-30), so a
few days before you sent v4.
Junio probably missed v4 entirely, or he might have responded with something
like "v3 is already in next, so please build incrementally on top of it".
Thanks for contributing this functionality. I quite like the "human" format.
Martin