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

Re: [PATCH v2] status: show the branch name if possible in in-progress info

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jan 29, 2013, 18:44 UTC
Message-ID
<20130129184435.GA18266@google.com>
In-Reply-To
<1359471493-32531-1-git-send-email-pclouds@gmail.com>
Hi Duy,
Nguyễn Thái Ngọc Duy wrote:
Show 8 quoted lines
> --- a/t/t7512-status-help.sh
> +++ b/t/t7512-status-help.sh
> @@ -76,7 +76,7 @@ test_expect_success 'status when rebase in progress before resolving conflicts'
>  	test_must_fail git rebase HEAD^ --onto HEAD^^ &&
>  	cat >expected <<-\EOF &&
>  	# Not currently on any branch.
> -	# 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'\''.
?

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?

Thanks. Jonathan

Previous: Nguyễn Thái Ngọc DuyNext: Duy Nguyen
Message 7 of 12 in “status: show branch name if possible in in-progress info”
  1. status: show branch name if possible in in-progress infoNguyễn Thái Ngọc Duy, Jan 29, 2013
  2. Matthieu MoyJan 29, 2013
  3. Duy NguyenJan 29, 2013
  4. Matthieu MoyJan 29, 2013
  5. Junio C HamanoJan 29, 2013
  6. status: show the branch name if possible in in-progress infoNguyễn Thái Ngọc Duy, Jan 29, 2013
  7. Jonathan NiederJan 29, 2013
  8. Duy NguyenJan 30, 2013
  9. status: show the branch name if possible in in-progress infoNguyễn Thái Ngọc Duy, Feb 3, 2013
  10. Jonathan NiederFeb 5, 2013
  11. Duy NguyenFeb 5, 2013
  12. Junio C HamanoFeb 5, 2013

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.