Re: [PATCH v2] status: show the branch name if possible in in-progress info
On Wed, Jan 30, 2013 at 1:44 AM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 13 quoted lines
>> - # You are currently rebasing.
>> + # You are currently rebasing branch '\''rebase_conflicts'\'' on '\''000106f'\''.
>
> SHA1-in-tests radar blinking.
>
> Would it be possible to compute the expected output, as in
>
> dest=$(git rev-parse --short HEAD^^)
> cat >expected <<-EOF &&
> # Not currently on any branch.
> # You are currently rebasing branch '\''rebase_conflicts'\'' on '\''$dest'\''.
>
> ?
That may be better. Yeah.
> I'm not sure what to think about the actual change itself yet. Can you
> give an example of when you felt the need for this, so it can be
> included in the commit message or documentation?
http://thread.gmane.org/gmane.comp.version-control.git/214932/focus=214937
--
Duy