On Mon, May 7, 2012 at 12:42 AM, Marcus Karlsson <mk@xxxxxxxxxx> wrote: > As far as I can see that's the only argument that git-commit passes on > to the commit-msg hook. Can't you just call something like git-status > from the hook or do you need the information passed specifically as an > argument? I can always get last commit from `.git/COMMIT_EDITMSG'` - a fixed file. Isn't passing that as an argument a bit pointless? I want files I tried to commit specifically passed in as an argument. Are you suggesting me to run some plumbing command, parse the result and get the required data ? Is there an easier way to get this done? -- Jaseem Abid http://jaseemabid.github.com -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html