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

Re: Trivial enhancement: All commands which require an author should accept --author

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Sep 3, 2018, 13:18 UTC
Message-ID
<87o9debty4.fsf@evledraar.gmail.com>
In-Reply-To
<nycvar.QRO.7.76.6.1808301607030.71@tvgsbejvaqbjf.bet>
On Thu, Aug 30 2018, Johannes Schindelin wrote:
Show 42 quoted lines
> Hi Ævar,
>
> On Thu, 30 Aug 2018, Ævar Arnfjörð Bjarmason wrote:
>
>> On Thu, Aug 30 2018, Johannes Schindelin wrote:
>>
>> > On Wed, 29 Aug 2018, Junio C Hamano wrote:
>> >
>> >> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>> >>
>> >> > The `stash` command only incidentally requires that the author is set, as
>> >> > it calls `git commit` internally (which records the author). As stashes
>> >> > are intended to be local only, that author information was never meant to
>> >> > be a vital part of the `stash`.
>> >> >
>> >> > I could imagine that an even better enhancement request would ask for `git
>> >> > stash` to work even if `user.name` is not configured.
>> >>
>> >> This would make a good bite-sized microproject, worth marking it as
>> >> #leftoverbits unless somebody is already working on it ;-)
>> >
>> > Right.
>> >
>> > What is our currently-favored approach to this, again? Do we have a
>> > favorite wiki page to list those, or do we have a bug tracker for such
>> > mini-projects?
>> >
>> > Once I know, I will add this, with enough information to get anybody
>> > interested started.
>>
>> I believe the "official" way, such as it is, is you just put
>> #leftoverbits in your E-Mail, then search the list archives,
>> e.g. https://public-inbox.org/git/?q=%23leftoverbits
>>
>> So e.g. I've taken to putting this in my own E-Mails where I spot
>> something I'd like to note as a TODO that I (or someone else) could work
>> on later:
>> https://public-inbox.org/git/?q=%23leftoverbits+f%3Aavarab%40gmail.com
>
> That is a poor way to list the current micro-projects, as it is totally
> non-obvious to the casual interested person which projects are still
> relevant, and which ones have been addressed already.

I don't think this is ideal. To be clear and in reply to both yours and Junio's E-Mail. I meant "official" in scare quotes in the least official way possible.

I.e. that you need to search the mailing list archive if you want to see what these #leftoverbits are, because the full set is stored nowhere else.

> In a bug tracker, you can at least add a comment stating that something
> has been addressed, or made a lot easier by another topic.

Yeah, a bunch of things suck about it, although I will say at least for notes I'm leaving for myself I'm using it in a way that I wouldn't bother to use a bugtracker, so in many cases it's the difference between offhandendly saying "oh b.t.w. we should fix xyz in way abc #leftoverbits" and not having a bug at all, because filing a bug / curating a tracker etc. is a lot more work.

> In a mailing list archive, those mails are immutable, and you cannot
> update squat.

In a lot of bugtrackers you can't update existing comments either, you make a new one noting some new status. Similarly you can send a new mail with the correct In-Reply-To.

That doesn't solve all the issues, but helps in many cases.
Previous: Johannes SchindelinNext: Junio C Hamano
Message 7 of 9 in “Trivial enhancement: All commands which require an author should accept --author”
  1. Ulrich GemkowAug 28, 2018
  2. Johannes SchindelinAug 29, 2018
  3. Junio C HamanoAug 29, 2018
  4. Johannes SchindelinAug 30, 2018
  5. Ævar Arnfjörð BjarmasonAug 30, 2018
  6. Johannes SchindelinAug 30, 2018
  7. Ævar Arnfjörð BjarmasonSep 3, 2018
  8. Junio C HamanoAug 30, 2018
  9. Jonathan NiederSep 4, 2018

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.