Skip to content

Commit e78cca4

Browse files
authored
Merge pull request #197 from jnareb/rn20-prettier-oneline
rn20: Discussion around git-log-compact
2 parents f55967b + 46e3648 commit e78cca4

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

rev_news/drafts/edition-20.md

+36
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,42 @@ One can find which regressions were there in the [followup on git mailing list](
189189
It is interesting to find the use of the [Scientist library](https://github.com/github/scientist)
190190
for ensuring the quality of Git code refactoring.
191191

192+
* [[PATCH/RFC] git log --oneline alternative with dates, times and initials](https://public-inbox.org/git/git-log-times@mackyle-at-gmail-com/) (*written by Jakub Narębski*)
193+
194+
Kyle J. McKay had have been wanting a compact one line output format that
195+
included dates, times and initials, and is compatible with `--graph`.
196+
197+
```
198+
=== 2015-09-17 ===
199+
* ee6ad5f4 12:16 jch (tag: v2.5.3) Git 2.5.3
200+
=== 2015-09-09 ===
201+
* b9d66899 14:22 js am --skip/--abort: merge HEAD/ORIG_HEAD tree into index
202+
| === 2015-09-04 ===
203+
| * 27ea6f85 10:46 jch (tag: v2.5.2) Git 2.5.2
204+
* 74b67638 10:36 jch (tag: v2.4.9) Git 2.4.9
205+
..........
206+
* ecad27cf 10:32 jch (tag: v2.3.9) Git 2.3.9
207+
```
208+
209+
![see above](https://gist.githubusercontent.com/mackyle/4c33e4802a8269b3f200f2c00352ce6a/raw/815de4ef4142e13ac0b5c7b55112afdf13391eee/git-log-times.gif "git log-times --graph --date-order --decorate --no-merges -n 5 v2.5.3")
210+
211+
To have all this, Kyle proposed `git-log-times` script for `contrib/`.
212+
213+
Jeff King was surprised to see this as a separate script, and proposed a
214+
[patch series](https://public-inbox.org/git/[email protected]/)
215+
adding support for features like `--commit-header` option for `git log`,
216+
making it possible to come close to what `git-log-times` provided.
217+
218+
Junio Hamano [reminded](https://public-inbox.org/git/[email protected]/)
219+
that `contrib/` area is not the place for random git-related things.
220+
221+
> Unlike the earlier days of Git, if a custom command that uses Git is
222+
> very userful, it can live its own life and flourish within the much
223+
> larger Git userbase we have these days.
224+
225+
The proposed script was then therefore published as
226+
**[git-log-compact](https://mackyle.github.io/git-log-compact/)** project.
227+
192228

193229
### Support
194230

0 commit comments

Comments
 (0)