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

Re: [PATCH 0/2] format-patch: introduce option to suppress commit hashes

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 7, 2015, 08:22 UTC
Message-ID
<xmqq8u56oehi.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20151207033020.GA990758@vauxhall.crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
> The hash of the source file isn't generally as much of a problem,
> because the patch tends to change, even incidentally (line numbers and
> such), when the hash of the file changes.  It's also something that we
> have in our history, whereas the temporary branch we rebased in is not.

That is exactly the kind of workflow specific reasoning that tells you "object name of the commit that the patch was taken from is the only thing that is undesired" that makes me wonder if the feature is too workflow specific. You do something on a temporary branch without worrying about producing unnecessary object name churn, and end up wanting not to see object names.

But I can buy that a step in the workflow to rebuild the history on a temporary branch before going to the next step is a common thing to have, so let's decide to accept the goal as a good thing to have, and see how well the patched code implements, documents and tests the advertised new feature.

Thanks.
Previous: brian m. carlson
Message 10 of 10 in “format-patch: introduce option to suppress commit hashes”
  1. 0/2 format-patch: introduce option to suppress commit hashesbrian m. carlson, Dec 6, 2015
  2. 1/2 Introduce a null_oid constant.brian m. carlson, Dec 6, 2015
  3. 2/2 format-patch: add an option to suppress commit hashbrian m. carlson, Dec 6, 2015
  4. Junio C HamanoDec 7, 2015
  5. Junio C HamanoDec 7, 2015
  6. brian m. carlsonDec 8, 2015
  7. Junio C HamanoDec 8, 2015
  8. Junio C HamanoDec 7, 2015
  9. brian m. carlsonDec 7, 2015
  10. Junio C HamanoDec 7, 2015

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.