Re: [PATCH] git-status: show short sequencer state

2012-10-24 Thread Matthieu Moy
Phil Hord ho...@cisco.com writes: + if (state-substate==WT_SUBSTATE_NOMINAL) status_printf_ln(s, color, _(The current patch is empty.)); This looks weird. First, spaces around == (here and below). Then, the logic is unintuitive. The if suggests everything is

Re: [PATCH] git-status: show short sequencer state

2012-10-23 Thread Matthieu Moy
Phil Hord ho...@cisco.com writes: + merge a git-merge is in progress + am a git-am is in progress + rebase a git-rebase is in progress + rebase-interactive a git-rebase--interactive is in progress + cherry-picka

Re: [PATCH] git-status: show short sequencer state

2012-10-23 Thread Phil Hord
Matthieu Moy wrote: Phil Hord ho...@cisco.com writes: +merge a git-merge is in progress +am a git-am is in progress +rebase a git-rebase is in progress +rebase-interactive a git-rebase--interactive is in progress +cherry-pick

[PATCH] git-status: show short sequencer state

2012-10-23 Thread Phil Hord
Recently git-status learned to display the state of the git sequencer in long form to help the user remember an interrupted command. This information is also useful in short form to humans and scripts, but no option is available to boil it down. Teach git-status to report the sequencer state in

[PATCH] git-status: show short sequencer state

2012-10-22 Thread Phil Hord
Recently git-status learned to display the state of the git sequencer in long form to help the user remember an interrupted command. This information is also useful in short form to humans and scripts, but no option is available to boil it down. Teach git-status to report the sequencer state in