Do not call git_pathdup if we have no repository
commitb348c917dd5e58d3bbeb1339f9593503c89d40a7
authorSven Strickroth <email@cs-ware.de>
Sun, 14 May 2017 11:22:37 +0000 (14 13:22 +0200)
committerSven Strickroth <email@cs-ware.de>
Sun, 14 May 2017 11:22:37 +0000 (14 13:22 +0200)
tree7025bff222341ff661d93cabe0c3bfbd82234d0e
parent352dd064e6a6da58dbbaff6e4b702e3844aa8426
Do not call git_pathdup if we have no repository

libgit recently added stricter checks.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
ext/gitdll/gitdll.c