]> git.proxmox.com Git - libgit2.git/commit - src/transports/local.c
local transport: catch double-opens
authorCarlos Martín Nieto <cmn@dwim.me>
Fri, 7 Mar 2014 13:58:43 +0000 (14:58 +0100)
committerCarlos Martín Nieto <cmn@dwim.me>
Fri, 7 Mar 2014 15:03:10 +0000 (16:03 +0100)
commit5187b609ba203b5a62e3e54c1a323cc0647deff9
tree196be762a551aa218c63d0ae2b14678043cb24b2
parentc81e4adfd779a5bf8dd91539dda2dc0636abfc9d
local transport: catch double-opens

Combinations of connect + fetch can call local_open multiple
times. Detect this and skip the initialization stage.
src/transports/local.c