{"thread":{"id":"19936","subject":"feature suggestion: git commit -a -o ...","startedAt":"2009-06-25T20:39:32Z","lastAt":"2009-06-26T06:34:35Z","messageCount":2,"participants":["David Reitter","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"116965","messageId":"F9B3FF44-FC23-4ADA-A933-9BED857AB469@gmail.com","threadId":"19936","inReplyTo":null,"subject":"feature suggestion: git commit -a -o ...","fromName":"David Reitter","fromEmail":"david.reitter@gmail.com","sentAt":"2009-06-25T20:39:32Z","receivedAt":"2009-06-25T20:39:32Z","isPatch":false,"sender":{"key":"david.reitter@gmail.com","avatar":"https://gravatar.com/avatar/0b9f43c735737567aec3272fea5afa461ffa049f180103c1aab629aa6c1207f1?d=mp&s=160"},"body":"I'm wondering why \"git commit -a -o *\" is not supported.\nWith this command I'd like to commit the intersection of all changed,  \ntracked files and those in the current directory.\n\nI found that \"git commit .\" does what I want and it even detects  \ndeleted files (excellent, thank you).\n\n\n\n\n"},{"id":"117004","messageId":"20090626063435.GA12283@coredump.intra.peff.net","threadId":"19936","inReplyTo":"F9B3FF44-FC23-4ADA-A933-9BED857AB469@gmail.com","subject":"Re: feature suggestion: git commit -a -o ...","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2009-06-26T06:34:35Z","receivedAt":"2009-06-26T06:34:35Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Thu, Jun 25, 2009 at 04:39:32PM -0400, David Reitter wrote:\n\n> I'm wondering why \"git commit -a -o *\" is not supported.\n> With this command I'd like to commit the intersection of all changed,\n> tracked files and those in the current directory.\n> \n> I found that \"git commit .\" does what I want and it even detects\n> deleted files (excellent, thank you).\n\nI don't understand what \"-a\" is supposed to be doing there. It means\n\"all tracked files in the whole repo\".  But from your \"git commit .\"\nexample, it sounds like you just want \"git commit -o *\" (in fact, \"git\ncommit .\" is more or less equivalent (with the except of dot-files) to\n\"git commit *\", which is in turn the same as \"git commit -o *\").\n\nCan you be more clear about the set of files you have, the set you want\nto commit, and how \"git commit\" differs from your expectations?\n\n-Peff\n"}]}