Comments (5)
:/ yeah hitting this too underlying issue is we need path resolvepath/realpath (which seems to only be part of the rust compiler at this stage)
from git2-rs.
cc rust-lang/rust#11857 (issue for realpath)
from git2-rs.
So this (I assume) winds up screwing me when I do cargo new
:
> cargo new --travis --git --verbose glacier-rs
Failed to create project `glacier-rs` at `/Users/thom/projects/glacier-rs`
Caused by:
[2] Could not find '~/lib/git/' to stat: No such file or directory
> git config --get init.templatedir
~/lib/git
> ls -la ~/lib/git
lrwxr-xr-x 1 thom staff 29 25 Jun 18:20 /Users/thom/lib/git -> /Users/thom/.dotfiles/lib/git
Changing init.templatedir
to be /Users/thom/.dotfiles/lib/git
allows cargo new
to complete successfully.
from git2-rs.
Hm I'd be surprised if this affected cargo new
, as this specific issue I believe is only related to assertions in tests.
If you change init.templatedir
to /Users/thom/lib/git
, does that allow cargo new
to succeed? I'm curious if libgit2 is misinterpreting the ~
in the config option.
from git2-rs.
ah, my bad jumping on issues. Yes, it works correctly given the full path
to the symlink.
On Tue, Dec 23, 2014 at 7:39 PM, Alex Crichton [email protected]
wrote:
Hm I'd be surprised if this affected cargo new, as this specific issue I
believe is only related to assertions in tests.If you change init.templatedir to /Users/thom/lib/git, does that allow cargo
new to succeed? I'm curious if libgit2 is misinterpreting the ~ in the
config option.—
Reply to this email directly or view it on GitHub
https://github.com/alexcrichton/git2-rs/issues/20#issuecomment-67990067.
from git2-rs.
Related Issues (20)
- Find files added between two commits
- Issue linking with arm64 and musl (Alpine 3.18) HOT 1
- how can i see changes in merge request?
- Git2-rs on Android got error "the SSL certificate is invalid" HOT 1
- How to resolve `HEAD` on an empty repository? HOT 1
- License compatibility with libgit2 ? HOT 2
- Applying diff with renamed file to Index ignores delta callback and removes old file from index HOT 4
- Blobless / Treeless (partial) clones HOT 3
- `libgit2-sys` fails to build with vendored openssl because of misconfigured `cc` parallelism HOT 4
- support building USE_SSH=exec HOT 1
- self sign certificate
- Tree.walk() broken for subtrees with non-utf-8 names HOT 1
- using russh
- Signing a tag HOT 1
- Unclear documatation: branch_remote_name
- Build problems with installed libgit2 1.8.0 HOT 3
- The error caused by failed `push_negotiation` is strange: `"config value 'pack.windowMemory' was not found"` HOT 4
- git clone arguments HOT 1
- Segmentation fault when cloning invalid URL HOT 1
- rustls support? 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 git2-rs.