Closed grahamc closed 5 years ago
ok I misread the bug report
it's tricky. How about using only lower-cased folder in the filesystem? It wouldn't be backward-compatible but I think it's ok.
That wouldn't work if other tools are checking out folders like go get
. I guess the mkdir -p
really has to be made case-insensitive.
Another option for this GitHub special casing is attempt an API call to determine the canonical capitalization?
Sent from my iPhone
On Mar 17, 2019, at 09:43, zimbatm notifications@github.com wrote:
That wouldn't work if other tools are checking out folders like go get. I guess the mkdir -p really has to be made case-insensitive.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
good idea
well now h nixos/nixpkgs
doesn't work when I have ~/code/github.com/nixos/nixpkgs
, it tries to clone NixOS/nixpkgs
. To be clear, I've renamed NixOS
to nixos
manually, because I try to avoid mixed-case.
This is minor though.
don't rename NixOS to nixos! :D
but yeah, I don't know that all cases can be satisfied easily.
Almost certainly done by a clone via
h nixos/foo
and then anh git@github.com:NixOS/bar.git
.Maybe we could check if the
owner
already exists as a lowercased option?