git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: error commiting in Git
       [not found] ` <AANLkTimqWF7gZHAXFOmz0URdDTF=CfMmjJrBwmFavUkK@mail.gmail.com>
@ 2010-07-31 22:25   ` Daniel França
  2010-07-31 22:33     ` Jonathan Nieder
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel França @ 2010-07-31 22:25 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: error commiting in Git
  2010-07-31 22:25   ` error commiting in Git Daniel França
@ 2010-07-31 22:33     ` Jonathan Nieder
  2010-07-31 22:38       ` Daniel França
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Nieder @ 2010-07-31 22:33 UTC (permalink / raw)
  To: Daniel França; +Cc: git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: error commiting in Git
  2010-07-31 22:33     ` Jonathan Nieder
@ 2010-07-31 22:38       ` Daniel França
  2010-07-31 22:43         ` Jonathan Nieder
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel França @ 2010-07-31 22:38 UTC (permalink / raw)
  To: Jonathan Nieder; +Cc: git

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 <jrnieder@gmail.com>:
> 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
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: error commiting in Git
  2010-07-31 22:38       ` Daniel França
@ 2010-07-31 22:43         ` Jonathan Nieder
  2010-07-31 22:50           ` Daniel França
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Nieder @ 2010-07-31 22:43 UTC (permalink / raw)
  To: Daniel França; +Cc: git

Daniel França wrote:
> 2010/7/31 Daniel França <daniel.franca@gmail.com>:

>> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: error commiting in Git
  2010-07-31 22:43         ` Jonathan Nieder
@ 2010-07-31 22:50           ` Daniel França
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel França @ 2010-07-31 22:50 UTC (permalink / raw)
  To: Jonathan Nieder; +Cc: git

thanks, I'll look that, I've the stupid habit of click reply instead
of reply to all :P

2010/7/31 Jonathan Nieder <jrnieder@gmail.com>:
> Daniel França wrote:
>> 2010/7/31 Daniel França <daniel.franca@gmail.com>:
>
>>> 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
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-07-31 22:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AANLkTimOZr8zq8uXdrzrpLMTDQqwJkZEyxB_zcWFEYBs@mail.gmail.com>
     [not found] ` <AANLkTimqWF7gZHAXFOmz0URdDTF=CfMmjJrBwmFavUkK@mail.gmail.com>
2010-07-31 22:25   ` error commiting in Git Daniel França
2010-07-31 22:33     ` Jonathan Nieder
2010-07-31 22:38       ` Daniel França
2010-07-31 22:43         ` Jonathan Nieder
2010-07-31 22:50           ` Daniel França

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).