Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Re: [git#] Cloning error

Shawn,

Thanks a lot for your answer.


Em.



On Mon, Mar 8, 2010 at 3:50 PM, Shawn O. Pearce <spearce@xxxxxxxxxxx> wrote:
> Emeric Fermas <emeric.fermas@xxxxxxxxx> wrote:
>> After some investigation, it looks like the "tools/GitSharp" TreeEntry
>> points to a submodule.
>>
>> AFAIK JGit doesn't support yet submodules which may explain this.
>> Could anyone confirm this ?
>
> Correct, it does not.
>
>> However, maybe a nice NotSupportedException("submodule support is not
>> implemented yet.") would have been much more explicit than a
>> NullPointerException() ;-)
>
> IIRC the code in question predates submodule support in Git itself,
> and has not been touched since.  So at the time it was written,
> this conditon was deemed to be impossible and thus not worthy of
> an explicit exception handling.
>
> --
> Shawn.
> _______________________________________________
> jgit-dev mailing list
> jgit-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jgit-dev
>


Back to the top