Re: Newbie falls at first hurdle

From: Junio C Hamano <junkio@cox.net>
Date: 2005-09-18 02:13:44
Alan Chandler <alan@chandlerfamily.org.uk> writes:

> So 'git-update-cache --add *' would seem to be the next step.
>
> However this fails with a message 
>
> error: JavaSource: is a directory
> fatal: Unable to add JavaSource to database; maybe you want to use --add 
> option?

Sorry, that is not a very helpful error message.

We do not track 'directories'.  Only files and symlinks, which
could live within subdirectories, and that's why you got that
error message -- you told it to add a directory.  You'd need
something like this:

    $ find * ! -type d -print0 | xargs -0 git add

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sun Sep 18 02:14:23 2005

This archive was generated by hypermail 2.1.8 : 2005-09-18 02:14:26 EST