{"thread":{"id":"12536","subject":"[RFC] git add -a","startedAt":"2008-03-06T10:23:04Z","lastAt":"2008-03-06T12:19:37Z","messageCount":5,"participants":["Marc-André Lureau","Michele Ballabio","Johannes Schindelin","Pekka Kaitaniemi"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"71216","messageId":"e29894ca0803060223p6de78b1br1aab956c2c99fc1f@mail.gmail.com","threadId":"12536","inReplyTo":null,"subject":"[RFC] git add -a","fromName":"Marc-André Lureau","fromEmail":"marcandre.lureau@gmail.com","sentAt":"2008-03-06T10:23:04Z","receivedAt":"2008-03-06T10:23:04Z","isPatch":false,"sender":{"key":"marcandre.lureau@gmail.com","avatar":"https://avatars.githubusercontent.com/u/9381?v=4"},"body":"Hello,\n\nWhat about \"git add -a\" ? I am in a situation where I'd like it :)\n\nOf course, I could do a commit -a and amend later, but that does not\nhave the same meaning for me. Tell me what you think.\n\nThanks\n\n-- \nMarc-André Lureau\n"},{"id":"71218","messageId":"200803061146.00500.barra_cuda@katamail.com","threadId":"12536","inReplyTo":"e29894ca0803060223p6de78b1br1aab956c2c99fc1f@mail.gmail.com","subject":"Re: [RFC] git add -a","fromName":"Michele Ballabio","fromEmail":"barra_cuda@katamail.com","sentAt":"2008-03-06T10:46:00Z","receivedAt":"2008-03-06T10:46:00Z","isPatch":false,"sender":{"key":"barra_cuda@katamail.com","avatar":"https://avatars.githubusercontent.com/u/16371673?v=4"},"body":"On Thursday 06 March 2008, Marc-André Lureau wrote:\n> What about \"git add -a\" ? I am in a situation where I'd like it \n\nThere's \"git add -u\". It should do what you want.\n"},{"id":"71227","messageId":"e29894ca0803060257u19c98074t789f87e1f8c120e7@mail.gmail.com","threadId":"12536","inReplyTo":"200803061146.00500.barra_cuda@katamail.com","subject":"Re: [RFC] git add -a","fromName":"Marc-André Lureau","fromEmail":"marcandre.lureau@gmail.com","sentAt":"2008-03-06T10:57:27Z","receivedAt":"2008-03-06T10:57:27Z","isPatch":false,"sender":{"key":"marcandre.lureau@gmail.com","avatar":"https://avatars.githubusercontent.com/u/9381?v=4"},"body":"Hi,\n\nOn Thu, Mar 6, 2008 at 12:46 PM, Michele Ballabio\n<barra_cuda@katamail.com> wrote:\n>\n>  There's \"git add -u\". It should do what you want.\n>\n\nThanks for this answer :) I wonder why \"-u\" and not \"-a\".. After all\ngit commit \"-a\" could be \"-s\" if we follow that distinction\n(Update/Stage/All).\n\nRegards,\n\n-- \nMarc-André Lureau\n"},{"id":"71233","messageId":"alpine.LSU.1.00.0803061235060.15786@racer.site","threadId":"12536","inReplyTo":"e29894ca0803060257u19c98074t789f87e1f8c120e7@mail.gmail.com","subject":"Re: [RFC] git add -a","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2008-03-06T11:35:58Z","receivedAt":"2008-03-06T11:35:58Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Thu, 6 Mar 2008, Marc-André Lureau wrote:\n\n> Hi,\n> \n> On Thu, Mar 6, 2008 at 12:46 PM, Michele Ballabio\n> <barra_cuda@katamail.com> wrote:\n> >\n> >  There's \"git add -u\". It should do what you want.\n> >\n> \n> Thanks for this answer :) I wonder why \"-u\" and not \"-a\".. After all\n> git commit \"-a\" could be \"-s\" if we follow that distinction\n> (Update/Stage/All).\n\nProbably because some people would expect \"git add -a\" to do the same as \n\"git add .\", i.e. add _all_ files (even the untracked ones), as opposed to \n\"git add -u\", which updates all _tracked_ files.\n\nHth,\nDscho\n"},{"id":"71242","messageId":"20080306121937.GA11882@localdomain","threadId":"12536","inReplyTo":"alpine.LSU.1.00.0803061235060.15786@racer.site","subject":"Re: [RFC] git add -a","fromName":"Pekka Kaitaniemi","fromEmail":"kaitanie@cc.helsinki.fi","sentAt":"2008-03-06T12:19:37Z","receivedAt":"2008-03-06T12:19:37Z","isPatch":false,"sender":{"key":"kaitanie@cc.helsinki.fi","avatar":null},"body":"Hi,\n\nOn Thu, Mar 06, 2008 at 12:35:58PM +0100, Johannes Schindelin wrote:\n> Hi,\n> \n> On Thu, 6 Mar 2008, Marc-André Lureau wrote:\n> \n> > Hi,\n> > \n> > On Thu, Mar 6, 2008 at 12:46 PM, Michele Ballabio\n> > <barra_cuda@katamail.com> wrote:\n> > >\n> > >  There's \"git add -u\". It should do what you want.\n> > >\n> > \n> > Thanks for this answer :) I wonder why \"-u\" and not \"-a\".. After all\n> > git commit \"-a\" could be \"-s\" if we follow that distinction\n> > (Update/Stage/All).\n> \n> Probably because some people would expect \"git add -a\" to do the same as \n> \"git add .\", i.e. add _all_ files (even the untracked ones), as opposed to \n> \"git add -u\", which updates all _tracked_ files.\n\nActually \"git add -u\" updates all tracked files in the _current_\ndirectory and its subdirectories. So the current working directory\nacts as a \"path limiter\".\n\nPekka\n"}]}