From: Duy Nguyen Date: Wed, 30 Jan 2013 01:13:49 GMT Subject: Re: [PATCH v2] status: show the branch name if possible in in-progress info Message-ID: In-Reply-To: <20130129184435.GA18266@google.com> On Wed, Jan 30, 2013 at 1:44 AM, Jonathan Nieder wrote: >> - # 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