You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to read repository information from a bare git repository? Currently only an error is printed that no repository can be found.
Motivation 馃敠
I have a server running where all of my Git repositories are stored for synchronization. These are only bare repositories and it would be really helpful to get the statistics without cloning them or installing onefetch on every machine (I am developing on Windows, Linux and Mac).
The text was updated successfully, but these errors were encountered:
Sorry, I got a bit tunnel-visioned, I just realized, besides building language stats, onefetch reads files from "non-bare" repositories for
Manifests (package.json, Cargo.toml)
License files
So, besides #1305 (supersedes #1152), we'd have to update those utilities to read from a git commit/index. I don't think these stats will break, but they won't be included until those are updated as well.
Also, if I'm not mistaken, our call to gix::ThreadSafeRepository::discover_opts doesn't currently support bare repos and would need to be updated:
Summary 馃挕
Would it be possible to read repository information from a bare git repository? Currently only an error is printed that no repository can be found.
Motivation 馃敠
I have a server running where all of my Git repositories are stored for synchronization. These are only bare repositories and it would be really helpful to get the statistics without cloning them or installing
onefetch
on every machine (I am developing on Windows, Linux and Mac).The text was updated successfully, but these errors were encountered: