git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH/RFC] git log --oneline alternative with dates, times and initials

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 29, 2016, 18:50 UTC
Message-ID
<xmqqeg42fslw.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160929183006.exyaikr4ijiq5tp3@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> But I also buy the argument that contrib/ is simply a hassle. This
> script can live in its own repository somewhere, and handle
> announcements and patches on the list.

I think the output of this script is largely personal preference, which can be made to a project preference for a project enough of whose participant so desires.

For example, I would not be surprised if this appeared next to checkpatch.pl script in the kernel archive. When a project that uses Git to store its sources finds a need to summarize its log in a standardized way that is not produced natively by Git, such a project may add this script to its scripts/ area, just like a project that wants to have a standard way to help its contributors to avoid common style errors a lot more than our "diff" (which only highlights whitespace errors) does may ship checkpatch.pl in it.

So in that sense, while I do not mean to say that the script itself must become a standalone project that has only one script in it, I do not think it belongs "our" contrib/, as we do not see a need to standardize its output as the log summary standard we the Git project uses on its own history.

On the other hand, your illustration of the needed bits to express this particular output format used by Kyle's script, when polished, does fit in our codebase. We are interested in making it possible for projects and users to do more by using Git with its standard customization features.

Previous: Jeff King
Message 20 of 20 in “git log --oneline alternative with dates, times and initials”
  1. git log --oneline alternative with dates, times and initialsKyle J. McKay, Sep 29, 2016
  2. Jeff KingSep 29, 2016
  3. 1/5 pretty: allow formatting DATE_SHORTJeff King, Sep 29, 2016
  4. Jacob KellerSep 30, 2016
  5. SZEDER GáborSep 30, 2016
  6. Jacob KellerSep 30, 2016
  7. Jeff KingOct 1, 2016
  8. 3/5 graph: fix extra spaces in graph_padding_lineJeff King, Sep 29, 2016
  9. 4/5 graph: helper functions for printing commit headerJeff King, Sep 29, 2016
  10. 2/5 pretty: allow formatting names as initialsJeff King, Sep 29, 2016
  11. Junio C HamanoSep 29, 2016
  12. Jeff KingSep 29, 2016
  13. 5/5 log: add --commit-header optionJeff King, Sep 29, 2016
  14. Junio C HamanoSep 29, 2016
  15. Jeff KingSep 29, 2016
  16. Kyle J. McKaySep 29, 2016
  17. Jeff KingSep 29, 2016
  18. Junio C HamanoSep 29, 2016
  19. Jeff KingSep 29, 2016
  20. Junio C HamanoSep 29, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.