{"thread":{"id":"49245","subject":"Trivial enhancement: All commands which require an author should accept --author","startedAt":"2018-08-28T21:15:14Z","lastAt":"2018-09-04T17:18:57Z","messageCount":9,"participants":["Ulrich Gemkow","Johannes Schindelin","Junio C Hamano","Ævar Arnfjörð Bjarmason","Jonathan Nieder"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"356739","messageId":"201808282305.29407.ulrich.gemkow@ikr.uni-stuttgart.de","threadId":"49245","inReplyTo":null,"subject":"Trivial enhancement: All commands which require an author should accept --author","fromName":"Ulrich Gemkow","fromEmail":"ulrich.gemkow@ikr.uni-stuttgart.de","sentAt":"2018-08-28T21:05:28Z","receivedAt":"2018-08-28T21:15:14Z","isPatch":false,"sender":{"key":"ulrich.gemkow@ikr.uni-stuttgart.de","avatar":null},"body":"Hello,\n\nA trivial enhancement request:\n\nAll commands which require that the author is set (and complain if\nit is not set) should accept the option --author.\n\nAt least the command stash does not accept this option. We are using\ngit version 2.17.1 (Ubuntu 18.04).\n\nThanks for the great work!\n\nBest regards\n\n-Ulrich\n\n-- \n| Ulrich Gemkow\n| University of Stuttgart\n| Institute of Communication Networks and Computer Engineering (IKR)\n"},{"id":"356852","messageId":"nycvar.QRO.7.76.6.1808291653190.71@tvgsbejvaqbjf.bet","threadId":"49245","inReplyTo":"201808282305.29407.ulrich.gemkow@ikr.uni-stuttgart.de","subject":"Re: Trivial enhancement: All commands which require an author should accept --author","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2018-08-29T16:14:22Z","receivedAt":"2018-08-29T16:14:29Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Ulrich,\n\nOn Tue, 28 Aug 2018, Ulrich Gemkow wrote:\n\n> A trivial enhancement request:\n> \n> All commands which require that the author is set (and complain if\n> it is not set) should accept the option --author.\n> \n> At least the command stash does not accept this option. We are using\n> git version 2.17.1 (Ubuntu 18.04).\n\nThe `stash` command only incidentally requires that the author is set, as\nit calls `git commit` internally (which records the author). As stashes\nare intended to be local only, that author information was never meant to\nbe a vital part of the `stash`.\n\nI could imagine that an even better enhancement request would ask for `git\nstash` to work even if `user.name` is not configured.\n\nHowever, to get you unblocked: what you ask for exists already, in some\nform:\n\n\tgit \\\n\t\t-c user.name=\"Ulrich Gemkow\" \\\n\t\t-c user.email=ulrich.gemkow@ikr.uni-stuttgart.de \\\n\t\tstash\n\nGranted, this is not the nicest way to specify it, but you are probably\nscripting things for environments where you do not really want to\nconfigure an author, right?\n\nCiao,\nJohannes\n"},{"id":"356869","messageId":"xmqqpny1at28.fsf@gitster-ct.c.googlers.com","threadId":"49245","inReplyTo":"nycvar.QRO.7.76.6.1808291653190.71@tvgsbejvaqbjf.bet","subject":"Re: Trivial enhancement: All commands which require an author should accept --author","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2018-08-29T19:09:19Z","receivedAt":"2018-08-29T19:09:24Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:\n\n> The `stash` command only incidentally requires that the author is set, as\n> it calls `git commit` internally (which records the author). As stashes\n> are intended to be local only, that author information was never meant to\n> be a vital part of the `stash`.\n>\n> I could imagine that an even better enhancement request would ask for `git\n> stash` to work even if `user.name` is not configured.\n\nThis would make a good bite-sized microproject, worth marking it as\n#leftoverbits unless somebody is already working on it ;-)\n"},{"id":"356966","messageId":"nycvar.QRO.7.76.6.1808301350340.71@tvgsbejvaqbjf.bet","threadId":"49245","inReplyTo":"xmqqpny1at28.fsf@gitster-ct.c.googlers.com","subject":"Re: Trivial enhancement: All commands which require an author should accept --author","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2018-08-30T11:51:38Z","receivedAt":"2018-08-30T11:51:56Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Junio,\n\nOn Wed, 29 Aug 2018, Junio C Hamano wrote:\n\n> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:\n> \n> > The `stash` command only incidentally requires that the author is set, as\n> > it calls `git commit` internally (which records the author). As stashes\n> > are intended to be local only, that author information was never meant to\n> > be a vital part of the `stash`.\n> >\n> > I could imagine that an even better enhancement request would ask for `git\n> > stash` to work even if `user.name` is not configured.\n> \n> This would make a good bite-sized microproject, worth marking it as\n> #leftoverbits unless somebody is already working on it ;-)\n\nRight.\n\nWhat is our currently-favored approach to this, again? Do we have a\nfavorite wiki page to list those, or do we have a bug tracker for such\nmini-projects?\n\nOnce I know, I will add this, with enough information to get anybody\ninterested started.\n\nCiao,\nDscho\n"},{"id":"356968","messageId":"87r2igca0s.fsf@evledraar.gmail.com","threadId":"49245","inReplyTo":"nycvar.QRO.7.76.6.1808301350340.71@tvgsbejvaqbjf.bet","subject":"Re: Trivial enhancement: All commands which require an author should accept --author","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2018-08-30T12:29:55Z","receivedAt":"2018-08-30T12:30:00Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"\nOn Thu, Aug 30 2018, Johannes Schindelin wrote:\n\n> Hi Junio,\n>\n> On Wed, 29 Aug 2018, Junio C Hamano wrote:\n>\n>> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:\n>>\n>> > The `stash` command only incidentally requires that the author is set, as\n>> > it calls `git commit` internally (which records the author). As stashes\n>> > are intended to be local only, that author information was never meant to\n>> > be a vital part of the `stash`.\n>> >\n>> > I could imagine that an even better enhancement request would ask for `git\n>> > stash` to work even if `user.name` is not configured.\n>>\n>> This would make a good bite-sized microproject, worth marking it as\n>> #leftoverbits unless somebody is already working on it ;-)\n>\n> Right.\n>\n> What is our currently-favored approach to this, again? Do we have a\n> favorite wiki page to list those, or do we have a bug tracker for such\n> mini-projects?\n>\n> Once I know, I will add this, with enough information to get anybody\n> interested started.\n\nI believe the \"official\" way, such as it is, is you just put\n#leftoverbits in your E-Mail, then search the list archives,\ne.g. https://public-inbox.org/git/?q=%23leftoverbits\n\nSo e.g. I've taken to putting this in my own E-Mails where I spot\nsomething I'd like to note as a TODO that I (or someone else) could work\non later:\nhttps://public-inbox.org/git/?q=%23leftoverbits+f%3Aavarab%40gmail.com\n"},{"id":"356975","messageId":"nycvar.QRO.7.76.6.1808301607030.71@tvgsbejvaqbjf.bet","threadId":"49245","inReplyTo":"87r2igca0s.fsf@evledraar.gmail.com","subject":"Re: Trivial enhancement: All commands which require an author should accept --author","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2018-08-30T14:08:33Z","receivedAt":"2018-08-30T14:08:50Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Ævar,\n\nOn Thu, 30 Aug 2018, Ævar Arnfjörð Bjarmason wrote:\n\n> On Thu, Aug 30 2018, Johannes Schindelin wrote:\n> \n> > On Wed, 29 Aug 2018, Junio C Hamano wrote:\n> >\n> >> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:\n> >>\n> >> > The `stash` command only incidentally requires that the author is set, as\n> >> > it calls `git commit` internally (which records the author). As stashes\n> >> > are intended to be local only, that author information was never meant to\n> >> > be a vital part of the `stash`.\n> >> >\n> >> > I could imagine that an even better enhancement request would ask for `git\n> >> > stash` to work even if `user.name` is not configured.\n> >>\n> >> This would make a good bite-sized microproject, worth marking it as\n> >> #leftoverbits unless somebody is already working on it ;-)\n> >\n> > Right.\n> >\n> > What is our currently-favored approach to this, again? Do we have a\n> > favorite wiki page to list those, or do we have a bug tracker for such\n> > mini-projects?\n> >\n> > Once I know, I will add this, with enough information to get anybody\n> > interested started.\n> \n> I believe the \"official\" way, such as it is, is you just put\n> #leftoverbits in your E-Mail, then search the list archives,\n> e.g. https://public-inbox.org/git/?q=%23leftoverbits\n> \n> So e.g. I've taken to putting this in my own E-Mails where I spot\n> something I'd like to note as a TODO that I (or someone else) could work\n> on later:\n> https://public-inbox.org/git/?q=%23leftoverbits+f%3Aavarab%40gmail.com\n\nThat is a poor way to list the current micro-projects, as it is totally\nnon-obvious to the casual interested person which projects are still\nrelevant, and which ones have been addressed already.\n\nIn a bug tracker, you can at least add a comment stating that something\nhas been addressed, or made a lot easier by another topic.\n\nIn a mailing list archive, those mails are immutable, and you cannot\nupdate squat.\n\nCiao,\nJohannes"},{"id":"356976","messageId":"xmqq1sag7wxx.fsf@gitster-ct.c.googlers.com","threadId":"49245","inReplyTo":"87r2igca0s.fsf@evledraar.gmail.com","subject":"Re: Trivial enhancement: All commands which require an author should accept --author","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2018-08-30T14:26:02Z","receivedAt":"2018-08-30T14:26:07Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:\n\n> I believe the \"official\" way, such as it is, is you just put\n> #leftoverbits in your E-Mail, then search the list archives,\n> e.g. https://public-inbox.org/git/?q=%23leftoverbits\n\nI think that technique has been around long enough to be called a\nrecognised way, but I do not think it is \"the\" official way.  It is\none of the efforts to allow us remember what we might want to work\non, and focuses on not wasting too much efforts in curating.\nAnother effort to allow us remember is http://crbug.com/git that is\nrun by Jonathan Nieder.\n\nAnybody can participate in curating the latter.  The former is\nuncurated and deliberately kept informal, but will stay a usable way\nuntil clueless people catch up with the practice and mark any random\ngarbage they come up with with the marking word.  I myself try to\nrefrain from using it when I raise the idea/issue for the first time\nto avoid \"ah, it turns out that it is not such a great idea after\nthinking about it for a while\"--rather I try to limit my use to my\nresponses as a reaction to somebody else's idea/issue.  That way, I\ncan make sure that messages with the marking word from me has idea\nsupported by at least two people, one of which is known to me to\nhave a good taste, so mailing list search \"from:me #leftoverbits\"\nwould stay meaningful.\n\n\n"},{"id":"357199","messageId":"87o9debty4.fsf@evledraar.gmail.com","threadId":"49245","inReplyTo":"nycvar.QRO.7.76.6.1808301607030.71@tvgsbejvaqbjf.bet","subject":"Re: Trivial enhancement: All commands which require an author should accept --author","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2018-09-03T13:18:27Z","receivedAt":"2018-09-03T13:18:32Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"\nOn Thu, Aug 30 2018, Johannes Schindelin wrote:\n\n> Hi Ævar,\n>\n> On Thu, 30 Aug 2018, Ævar Arnfjörð Bjarmason wrote:\n>\n>> On Thu, Aug 30 2018, Johannes Schindelin wrote:\n>>\n>> > On Wed, 29 Aug 2018, Junio C Hamano wrote:\n>> >\n>> >> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:\n>> >>\n>> >> > The `stash` command only incidentally requires that the author is set, as\n>> >> > it calls `git commit` internally (which records the author). As stashes\n>> >> > are intended to be local only, that author information was never meant to\n>> >> > be a vital part of the `stash`.\n>> >> >\n>> >> > I could imagine that an even better enhancement request would ask for `git\n>> >> > stash` to work even if `user.name` is not configured.\n>> >>\n>> >> This would make a good bite-sized microproject, worth marking it as\n>> >> #leftoverbits unless somebody is already working on it ;-)\n>> >\n>> > Right.\n>> >\n>> > What is our currently-favored approach to this, again? Do we have a\n>> > favorite wiki page to list those, or do we have a bug tracker for such\n>> > mini-projects?\n>> >\n>> > Once I know, I will add this, with enough information to get anybody\n>> > interested started.\n>>\n>> I believe the \"official\" way, such as it is, is you just put\n>> #leftoverbits in your E-Mail, then search the list archives,\n>> e.g. https://public-inbox.org/git/?q=%23leftoverbits\n>>\n>> So e.g. I've taken to putting this in my own E-Mails where I spot\n>> something I'd like to note as a TODO that I (or someone else) could work\n>> on later:\n>> https://public-inbox.org/git/?q=%23leftoverbits+f%3Aavarab%40gmail.com\n>\n> That is a poor way to list the current micro-projects, as it is totally\n> non-obvious to the casual interested person which projects are still\n> relevant, and which ones have been addressed already.\n\nI don't think this is ideal. To be clear and in reply to both yours and\nJunio's E-Mail. I meant \"official\" in scare quotes in the least official\nway possible.\n\nI.e. that you need to search the mailing list archive if you want to see\nwhat these #leftoverbits are, because the full set is stored nowhere\nelse.\n\n> In a bug tracker, you can at least add a comment stating that something\n> has been addressed, or made a lot easier by another topic.\n\nYeah, a bunch of things suck about it, although I will say at least for\nnotes I'm leaving for myself I'm using it in a way that I wouldn't\nbother to use a bugtracker, so in many cases it's the difference between\noffhandendly saying \"oh b.t.w. we should fix xyz in way abc\n#leftoverbits\" and not having a bug at all, because filing a bug /\ncurating a tracker etc. is a lot more work.\n\n> In a mailing list archive, those mails are immutable, and you cannot\n> update squat.\n\nIn a lot of bugtrackers you can't update existing comments either, you\nmake a new one noting some new status. Similarly you can send a new mail\nwith the correct In-Reply-To.\n\nThat doesn't solve all the issues, but helps in many cases.\n"},{"id":"357309","messageId":"20180904171850.GA34268@aiede.svl.corp.google.com","threadId":"49245","inReplyTo":"xmqq1sag7wxx.fsf@gitster-ct.c.googlers.com","subject":"Re: Trivial enhancement: All commands which require an author should accept --author","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2018-09-04T17:18:50Z","receivedAt":"2018-09-04T17:18:57Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Junio C Hamano wrote:\n> Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:\n\n>> I believe the \"official\" way, such as it is, is you just put\n>> #leftoverbits in your E-Mail, then search the list archives,\n>> e.g. https://public-inbox.org/git/?q=%23leftoverbits\n>\n> I think that technique has been around long enough to be called a\n> recognised way, but I do not think it is \"the\" official way.  It is\n> one of the efforts to allow us remember what we might want to work\n> on, and focuses on not wasting too much efforts in curating.\n> Another effort to allow us remember is http://crbug.com/git that is\n> run by Jonathan Nieder.\n>\n> Anybody can participate in curating the latter.\n\nYes, exactly.\n\nÆvar, if you would like to keep better track of #leftoverbits, please\nfeel free to make use of https://crbug.com/git/new. It even has a\n\"leftover bit\" template you can use.\n\nThanks and hope that helps,\nJonathan\n"}]}