From: Daniel França <hidden> Date: 2016-06-15 22:49:13
Hi,
I recently migrate to Mac OS from Linux.
and now when I try to commito some file of my git project I get the
following error:
find: illegal option -- n
find: illegal option -- a
find: illegal option -- m
find: illegal option -- e
it seems to me that git calls find in a way that mac os doesn't support.
any idea how can I solve that?
Best Regards,
Daniel França
From: Jonathan Nieder <hidden> Date: 2016-06-15 22:49:13
Hi Daniel,
Daniel França wrote:
now when I try to commito some file of my git project I get the
following error:
find: illegal option -- n
find: illegal option -- a
find: illegal option -- m
find: illegal option -- e
Could you give the git version you use, the command you ran, and the
exact response? “git commit” is not a shell script and does not run
find, so it is hard to guess what is going on from the extract you
gave.
Jonathan
From: Daniel França <hidden> Date: 2016-06-15 22:49:13
Thanks for the fast reply
git version 1.7.2
git commit -a -m 'Teste'
Even when I try to commit using SmartGit or GitX, the same error of
commandline happen
2010/7/31 Jonathan Nieder [off-list ref]:
Hi Daniel,
Daniel França wrote:
quoted
now when I try to commito some file of my git project I get the
following error:
find: illegal option -- n
find: illegal option -- a
find: illegal option -- m
find: illegal option -- e
Could you give the git version you use, the command you ran, and the
exact response? “git commit” is not a shell script and does not run
find, so it is hard to guess what is going on from the extract you
gave.
Jonathan
From: Jonathan Nieder <hidden> Date: 2016-06-15 22:49:13
Daniel França wrote:
2010/7/31 Daniel França [off-list ref]:
quoted
git commit -a -m 'Teste'
[...]
the output:
find: illegal option -- n
find: illegal option -- a
find: illegal option -- m
find: illegal option -- e
find: *.pyc: No such file or directory
Ah, you have a pre- or post-commit hook. Take a look at
.git/hooks and you may find something interesting. :)
Good luck,
Jonathan
From: Daniel França <hidden> Date: 2016-06-15 22:49:13
thanks, I'll look that, I've the stupid habit of click reply instead
of reply to all :P
2010/7/31 Jonathan Nieder [off-list ref]:
Daniel França wrote:
quoted
2010/7/31 Daniel França [off-list ref]:
quoted
quoted
git commit -a -m 'Teste'
[...]
quoted
the output:
find: illegal option -- n
find: illegal option -- a
find: illegal option -- m
find: illegal option -- e
find: *.pyc: No such file or directory
Ah, you have a pre- or post-commit hook. Take a look at
.git/hooks and you may find something interesting. :)
Good luck,
Jonathan