LocalRegistry.jl icon indicating copy to clipboard operation
LocalRegistry.jl copied to clipboard

Check remote is bare when creating repo from path

Open jakobnissen opened this issue 3 years ago • 2 comments

So this is not exactly elegant, but...

I can't figure out how to check if remote is bare. Instead, if the user specifies the remote URL as a path, it runs git rev-parse to check if the remote URL is bare.

jakobnissen avatar Aug 17 '21 09:08 jakobnissen

Codecov Report

Merging #41 (b34ffe1) into master (50b6733) will increase coverage by 0.05%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
+ Coverage   98.31%   98.36%   +0.05%     
==========================================
  Files           1        1              
  Lines         178      184       +6     
==========================================
+ Hits          175      181       +6     
  Misses          3        3              
Impacted Files Coverage Δ
src/LocalRegistry.jl 98.36% <100.00%> (+0.05%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 50b6733...b34ffe1. Read the comment docs.

codecov-commenter avatar Aug 18 '21 15:08 codecov-commenter

The CI failure is annoying. It's real to the extent that it happens in the new code but only for the combination of Windows and Julia 1.1.

GunnarFarneback avatar Aug 19 '21 18:08 GunnarFarneback