{"thread":{"id":"24595","subject":"Re: error commiting in Git","startedAt":"2010-07-31T22:25:29Z","lastAt":"2010-07-31T22:50:17Z","messageCount":5,"participants":["Daniel França","Jonathan Nieder"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"146876","messageId":"AANLkTi=n-J5rMOz0pkcxQZ7VgGs_EtXpotO=wZoDyz=C@mail.gmail.com","threadId":"24595","inReplyTo":"AANLkTimqWF7gZHAXFOmz0URdDTF=CfMmjJrBwmFavUkK@mail.gmail.com","subject":"Re: error commiting in Git","fromName":"Daniel França","fromEmail":"daniel.franca@gmail.com","sentAt":"2010-07-31T22:25:29Z","receivedAt":"2010-07-31T22:25:29Z","isPatch":false,"sender":{"key":"daniel.franca@gmail.com","avatar":"https://gravatar.com/avatar/4d4721e0b66e36e8c57f25b030ab594588f9c68c41aef5080680697789b79a2b?d=mp&s=160"},"body":"Hi,\nI recently migrate to Mac OS from Linux.\nand now when I try to commito some file of my git project I get the\nfollowing error:\nfind: illegal option -- n\nfind: illegal option -- a\nfind: illegal option -- m\nfind: illegal option -- e\nit seems to me that git calls find in a way that mac os doesn't support.\nany idea how can I solve that?\n\n\nBest Regards,\nDaniel França\n"},{"id":"146877","messageId":"20100731223356.GB7490@burratino","threadId":"24595","inReplyTo":"AANLkTi=n-J5rMOz0pkcxQZ7VgGs_EtXpotO=wZoDyz=C@mail.gmail.com","subject":"Re: error commiting in Git","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2010-07-31T22:33:56Z","receivedAt":"2010-07-31T22:33:56Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Hi Daniel,\n\nDaniel França wrote:\n\n> now when I try to commito some file of my git project I get the\n> following error:\n> find: illegal option -- n\n> find: illegal option -- a\n> find: illegal option -- m\n> find: illegal option -- e\n\nCould you give the git version you use, the command you ran, and the\nexact response?  “git commit” is not a shell script and does not run\nfind, so it is hard to guess what is going on from the extract you\ngave.\n\nJonathan\n"},{"id":"146879","messageId":"AANLkTi=ExhKbUC4yqmPudD_=SpGxxV6MUm-bhaycSJOu@mail.gmail.com","threadId":"24595","inReplyTo":"20100731223356.GB7490@burratino","subject":"Re: error commiting in Git","fromName":"Daniel França","fromEmail":"daniel.franca@gmail.com","sentAt":"2010-07-31T22:38:41Z","receivedAt":"2010-07-31T22:38:41Z","isPatch":false,"sender":{"key":"daniel.franca@gmail.com","avatar":"https://gravatar.com/avatar/4d4721e0b66e36e8c57f25b030ab594588f9c68c41aef5080680697789b79a2b?d=mp&s=160"},"body":"Thanks for the fast reply\ngit version 1.7.2\n\n\ngit commit -a -m 'Teste'\n\nEven when I try to commit using SmartGit or GitX, the same error of\ncommandline happen\n\n2010/7/31 Jonathan Nieder <jrnieder@gmail.com>:\n> Hi Daniel,\n>\n> Daniel França wrote:\n>\n>> now when I try to commito some file of my git project I get the\n>> following error:\n>> find: illegal option -- n\n>> find: illegal option -- a\n>> find: illegal option -- m\n>> find: illegal option -- e\n>\n> Could you give the git version you use, the command you ran, and the\n> exact response?  “git commit” is not a shell script and does not run\n> find, so it is hard to guess what is going on from the extract you\n> gave.\n>\n> Jonathan\n>\n"},{"id":"146880","messageId":"20100731224351.GB7678@burratino","threadId":"24595","inReplyTo":"AANLkTi=ExhKbUC4yqmPudD_=SpGxxV6MUm-bhaycSJOu@mail.gmail.com","subject":"Re: error commiting in Git","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2010-07-31T22:43:51Z","receivedAt":"2010-07-31T22:43:51Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Daniel França wrote:\n> 2010/7/31 Daniel França <daniel.franca@gmail.com>:\n\n>> git commit -a -m 'Teste'\n[...]\n> the output:\n> find: illegal option -- n\n> find: illegal option -- a\n> find: illegal option -- m\n> find: illegal option -- e\n> find: *.pyc: No such file or directory\n\nAh, you have a pre- or post-commit hook.  Take a look at\n.git/hooks and you may find something interesting. :)\n\nGood luck,\nJonathan\n"},{"id":"146881","messageId":"AANLkTimmgU1SJaWZuDmSfuU05yBsUzvcnd9i4c7p2d5+@mail.gmail.com","threadId":"24595","inReplyTo":"20100731224351.GB7678@burratino","subject":"Re: error commiting in Git","fromName":"Daniel França","fromEmail":"daniel.franca@gmail.com","sentAt":"2010-07-31T22:50:17Z","receivedAt":"2010-07-31T22:50:17Z","isPatch":false,"sender":{"key":"daniel.franca@gmail.com","avatar":"https://gravatar.com/avatar/4d4721e0b66e36e8c57f25b030ab594588f9c68c41aef5080680697789b79a2b?d=mp&s=160"},"body":"thanks, I'll look that, I've the stupid habit of click reply instead\nof reply to all :P\n\n2010/7/31 Jonathan Nieder <jrnieder@gmail.com>:\n> Daniel França wrote:\n>> 2010/7/31 Daniel França <daniel.franca@gmail.com>:\n>\n>>> git commit -a -m 'Teste'\n> [...]\n>> the output:\n>> find: illegal option -- n\n>> find: illegal option -- a\n>> find: illegal option -- m\n>> find: illegal option -- e\n>> find: *.pyc: No such file or directory\n>\n> Ah, you have a pre- or post-commit hook.  Take a look at\n> .git/hooks and you may find something interesting. :)\n>\n> Good luck,\n> Jonathan\n>\n"}]}