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

Re: [PATCH v6] add --summary option to git-push and git-fetch

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Jan 31, 2010, 12:04 UTC
Message-ID
<be6fef0d1001310404n204ffa31g3cf0a6f170507b3e@mail.gmail.com>
In-Reply-To
<20100130020548.GA29343@cthulhu>
Hi,
On Sat, Jan 30, 2010 at 10:05 AM, Larry D'Anna <larry@elder-gods.org> wrote:
Show 10 quoted lines
> --summary will cause git-push to output a one-line of each commit pushed.
> --summary=n will display at most n commits for each ref pushed.
>
> $ git push --dry-run --summary origin :
> To /home/larry/gitsandbox/a
>   80f0e50..5593a38  master -> master
>    > 5593a38 foo
>    > 81c03f8 bar
>
> Fetch works the same way.

I'm sorry for being late to this discussion; I see the time and work you've put in this and all the previous revisions. But I do have an objection to implementing this behaviour using the option --summary, on the grounds of UI-consistency.

I believe git users are already familiar with --summary in git-diff and git-log, and it might confuse them when the output of --summary for git-push and git-fetch looks different.

Also, I wonder what is the motivation behind displaying this information. Perhaps you are including this to produce output for an IDE? If this is included upstream, then I believe this is the first instance of such verbose information being displayed. Even a fast-forward merge (the closest I can think of that matches this) doesn't show this - I still have to do git log rev1^..rev2 to see.the intervening revisions (inclusive).

-- 
Cheers,
Ray Chuan
Previous: Larry D'AnnaNext: Ilari Liusvaara
Message 15 of 23 in “add --summary option to git-push and git-fetch”
  1. add --summary option to git-push and git-fetchLarry D'Anna, Jul 3, 2009
  2. Junio C HamanoJul 3, 2009
  3. add --summary option to git-push and git-fetchLarry D'Anna, Jul 7, 2009
  4. Larry D'AnnaJul 9, 2009
  5. add --summary option to git-push and git-fetchLarry D'Anna, Jul 10, 2009
  6. Stephen BoydJul 10, 2009
  7. add --summary option to git-push and git-fetchLarry D'Anna, Jul 11, 2009
  8. Junio C HamanoJul 11, 2009
  9. Larry D'AnnaJan 30, 2010
  10. Junio C HamanoJan 30, 2010
  11. Junio C HamanoJan 30, 2010
  12. Junio C HamanoJan 30, 2010
  13. add --summary option to git-push and git-fetchLarry D'Anna, Jan 30, 2010
  14. add --summary option to git-push and git-fetchLarry D'Anna, Jan 30, 2010
  15. Tay Ray ChuanJan 31, 2010
  16. Ilari LiusvaaraJan 30, 2010
  17. Junio C HamanoJan 30, 2010
  18. Ilari LiusvaaraJan 30, 2010
  19. Daniel BarkalowFeb 1, 2010
  20. Larry D'AnnaFeb 1, 2010
  21. Larry D'AnnaFeb 4, 2010
  22. Junio C HamanoFeb 4, 2010
  23. Junio C HamanoFeb 4, 2010

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.