{"thread":{"id":"6364","subject":"Re: Importing from tarballs; add, rm, update-index?","startedAt":"2007-01-13T22:04:45Z","lastAt":"2007-01-15T12:37:24Z","messageCount":3,"participants":["Horst H. von Brand"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"31658","messageId":"200701132204.l0DM4jpE010938@laptop13.inf.utfsm.cl","threadId":"6364","inReplyTo":"spearce@spearce.org","subject":"Re: Importing from tarballs; add, rm, update-index?","fromName":"Horst H. von Brand","fromEmail":"vonbrand@inf.utfsm.cl","sentAt":"2007-01-13T22:04:45Z","receivedAt":"2007-01-13T22:04:45Z","isPatch":false,"sender":{"key":"vonbrand@inf.utfsm.cl","avatar":"https://avatars.githubusercontent.com/u/211384?v=4"},"body":"Shawn O. Pearce <spearce@spearce.org> wrote:\n> \"Horst H. von Brand\" <vonbrand@inf.utfsm.cl> wrote:\n> > Please don't. It would add e.g. the .class and .o and all ~ files, and all\n> > other junk you have lying around (test cases, test run output, ...). It\n> > isn't /that/ much more work after creating a new file to record its\n> > existence...\n> \n>   echo \\*.class >>.gitignore\n>   echo \\*.o >>.gitignore\n>   git add .gitignore\n> \n> doesn't work for some reason?\n\nBecause each time I build a bit of scaffolding, or have a new test output,\nor... I'd have to add them to .gitignore. I'd very much prefer tracking\nreal contents and not junk.\n-- \nDr. Horst H. von Brand                   User #22616 counter.li.org\nDepartamento de Informatica                    Fono: +56 32 2654431\nUniversidad Tecnica Federico Santa Maria             +56 32 2654239\nCasilla 110-V, Valparaiso, Chile               Fax:  +56 32 2797513\n"},{"id":"31737","messageId":"200701142349.l0ENnUk9009229@laptop13.inf.utfsm.cl","threadId":"6364","inReplyTo":"spearce@spearce.org","subject":"Re: Importing from tarballs; add, rm, update-index?","fromName":"Horst H. von Brand","fromEmail":"vonbrand@inf.utfsm.cl","sentAt":"2007-01-14T23:49:30Z","receivedAt":"2007-01-14T23:49:30Z","isPatch":false,"sender":{"key":"vonbrand@inf.utfsm.cl","avatar":"https://avatars.githubusercontent.com/u/211384?v=4"},"body":"Shawn O. Pearce <spearce@spearce.org> wrote:\n> Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:\n> > You mean, you _ignored_ the text \"git commit -a\" gives you? It really \n> > shows you the output of \"git status\", exactly so you know what you \n> > committed, and sometimes more importantly, what you didn't.\n\n> Because I'm a moron and forgot what files I had created recently.\n> Consequently I don't see them missing from the output of git commit.\n> Consequently I think the commit is OK.  :-)\n\nThat can't be fixed by software... better get the habit of \"git add\"ing new\nfiles ASAP.\n-- \nDr. Horst H. von Brand                   User #22616 counter.li.org\nDepartamento de Informatica                    Fono: +56 32 2654431\nUniversidad Tecnica Federico Santa Maria             +56 32 2654239\nCasilla 110-V, Valparaiso, Chile               Fax:  +56 32 2797513\n"},{"id":"31724","messageId":"200701151237.l0FCbOYK007378@laptop13.inf.utfsm.cl","threadId":"6364","inReplyTo":"spearce@spearce.org","subject":"Re: Commit signing","fromName":"Horst H. von Brand","fromEmail":"vonbrand@inf.utfsm.cl","sentAt":"2007-01-15T12:37:24Z","receivedAt":"2007-01-15T12:37:24Z","isPatch":false,"sender":{"key":"vonbrand@inf.utfsm.cl","avatar":"https://avatars.githubusercontent.com/u/211384?v=4"},"body":"Shawn O. Pearce <spearce@spearce.org> wrote:\n> Andy Parkins <andyparkins@gmail.com> wrote:\n\n[...]\n\n> > The more I think about it, the more it could be a reasonable question.\n> > In my own repository I can obviously create whatever commits i like,\n> > claiming them to be from whomever I like just by altering a few config\n> > settings.  If I put a few of those in my own repository and then\n> > managed to persuade Junio to pull from me - wouldn't I have faked\n> > commits from another developer? However, I wouldn't be able to fake a\n> > gpg signature.\n\n[...]\n\n> What I'm actually doing in one particular environment is checking\n> the committer string against a database of known committer strings\n> associated with the current UNIX uid.  My update hook[*1*] performs\n> a `git log --pretty=raw $3 --not --all` query to determine any\n> commits which are coming in as part of this push and which are not\n> already referenced by an existing head or tag in this repository.\n> For each of those the committer line *must* match one stored in\n> the allowed-committers file for the current user, as these are\n> brand new commits being introduced to the repository.\n\nThis only covers the \"pure star\" (centralized, CVS-like) topology: Each one\nonly pushes their own changes, nobody collects changes from others and\npushes the sum.\n-- \nDr. Horst H. von Brand                   User #22616 counter.li.org\nDepartamento de Informatica                    Fono: +56 32 2654431\nUniversidad Tecnica Federico Santa Maria             +56 32 2654239\nCasilla 110-V, Valparaiso, Chile               Fax:  +56 32 2797513\n"}]}