Comments (4)
git-config
author here, we can definitely parse this information out of the config :)
from gitoxide.
Thanks for making us aware of this git-config feature!
As @edward-shen already clarified, it's not a problem of parsing but rather a problem of missing logic to further process certain git-config
capabilities. Currently all we do is to read the single repository .git/config
file and expecting the remote.url
to be set.
In future as the git-config
crate matures, I would expect this to be handled transparently or that additional utilities exist to make handling this case easier.
from gitoxide.
Yeah, so the problem (maybe? I'm guessing blind here) with that is the aliases are defined in the global ~/.gitconfig
, not the repo's .git/config
, so you now need two sources to resolve the URL correctly. That said, I might just poke it myself and see what happens this weekend.
from gitoxide.
That's one of two problems. The first one is the lack of a cascading config file interface at least for reading values, and the second is the lack of additional logic on top of certain 'special' configuration values, like file includes and…this one :D. Probably there are more.
That said, I might just poke it myself and see what happens this weekend.
Contributions are definitely welcome!
from gitoxide.
Related Issues (20)
- OSS-Fuzz issue 64904 HOT 1
- update ring dependency HOT 4
- Inconsistency in gix clone with repo url with a dot. HOT 1
- oxidize `lilgit` HOT 1
- `gix-archive` - submodule support
- Updating packed-refs fails on Windows if `mmap`-ed (i.e. file size is over 32KiB) HOT 6
- OSS-Fuzz issue 65196 HOT 1
- Consider a `crates` folder HOT 1
- OSS-Fuzz issue 65229 HOT 1
- OSS-Fuzz issue 65231 HOT 1
- some dependencies are yanked HOT 1
- gitoxide requires miniz_oxide even when building with libz-ng HOT 3
- OSS-Fuzz issue 65351 HOT 1
- gix-index failing to build on NetBSD HOT 3
- Provide usage examples for the `Find` trait HOT 3
- Create a git wrapper that polyfill's unsupported behaviour HOT 1
- Rewrite tracker panics on BlobExecutable HOT 2
- OSS-Fuzz issue 65492 HOT 1
- make `ItemSliceSync` safe HOT 15
- OSS-Fuzz issue 65543 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitoxide.