Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH/RFC] improve no-op push output

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:53:57

Junio C Hamano [off-list ref] writes:
quoted
would just print:

  Everything up-to-date

and now you get:

  To /tmp/push-message/parent
   = [up to date]      master -> master
[...]

	Everything up-to-date (the current branch not pushed)
I like both. They don't really take more screen space (1 more line for
Jeff, which is acceptable IMHO), and do add information.

I'd add the number of branches pushed in case it's not one, so it could
say one of:

  To /tmp/push-message/parent
   = [up to date]      master -> master

or

  Everything up-to-date (X branches pushed, including the current)

or

  Everything up-to-date (X branches pushed, not including the current)

It would give a clue to a user having created many local branches that
his local branches were not pushed, and vice-versa, may help people who
did not understand that "push.default=matching" was pushing multiple
branches.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help