On Wed, May 27, 2015 at 9:47 AM, Linus Torvalds
<torva...@linux-foundation.org> wrote:
>
>                   The reason is sad: libgit2 doesn't have any sane
> authentication model. Real git will use your .ssh/config file to pick
> things like authentication keys and do proper user names and hostname
> translations, so you can set things up so that it "just works".
> libgit2 doesn't do any of that.

Just to clarify: real git doesn't actually do any authentication on
its own, it just depends on ssh - it executes an external program to
open the connection. So you get all the configurability that ssh has.
Per-site keys, per-site user-names etc etc.

libgit2, in contrast, wants to do everything by hand in C. It uses
libssh2, but that isn't the same thing at all as executing the ssh
program.

                       Linus
_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to