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

Re: [PATCH v4 0/7] git send-email suppress-cc=self fixes

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 10, 2013, 07:52 UTC
Message-ID
<7vk3m2l7w3.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20130610065324.GA26501@redhat.com>
"Michael S. Tsirkin" <mst@redhat.com> writes:
Show 6 quoted lines
>> Not needed with recent "git format-patch -v4" option.
>
> Unless I rerun with same vX :(
> Would it make sense for it to check for vX existance and fail?
> Same without -vX, when 000X exists ...
> Could be an option.

Oh, instead of exact -v$N, trigger it with "-v auto" or something? Sounds like a good addition.

And instead of ***BLURBHERE*** placeholder, text from old round could be copied as a new placeholder. I do not offhand think that needs much thought about compatibility but maybe there are people who trained their editors or scripts to find the known placeholder string and edit it? I dunno. It certainly sounds like a sensible thing to do to carry as much information forward from the older round if/when we know which one corresponds to which.

Discussions and patches welcome.
Show 11 quoted lines
>> > 	git branch|fgrep '*'
>> > 	# Figure out on which branch I am, manually specify the correct upstream I'm tracking,
>> > 	# otherwise I get a ton of unrelated patches.
>> 
>> git-prompt with PS1 you do not need this either.
>
> grep serves just as well but
> I still need to copy it to the next line manually...
>
> I vaguely remember there was some way to say
> "head of the remote I am tracking" - but I could not find it.
Do you mean @{upstream}?
> Where are all the tricks like foo^{} documented?
Documentation/revisions.txt?
> Additionally, or alternatively, would it make sense for git format-patch
> to format the diff against the tracking branch by default?

Meaning "git format-patch @{u}" without saying anything about @{u}? I am not sure if we want to go that far, but it certainly is worth a thought.

Previous: Michael S. Tsirkin
Message 8 of 8 in “git send-email suppress-cc=self fixes”
  1. 0/7 git send-email suppress-cc=self fixesMichael S. Tsirkin, Jun 5, 2013
  2. Junio C HamanoJun 5, 2013
  3. Michael S. TsirkinJun 5, 2013
  4. Junio C HamanoJun 9, 2013
  5. Michael S. TsirkinJun 10, 2013
  6. John KeepingJun 10, 2013
  7. Michael S. TsirkinJun 10, 2013
  8. Junio C HamanoJun 10, 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.