Zulip Chat Archive
Stream: mathlib4
Topic: Weird git behavior
Sebastien Gouezel (Nov 30 2023 at 08:32):
Whenever I pull from mathlib4
, I get the message
PS C:\Users\Sebastien\Desktop\mathlib4_2> git pull
From https://github.com/leanprover-community/mathlib4
* [new branch] ClausenCl/UniformDistribution -> origin/ClausenCl/UniformDistribution
Already up to date.
(So if I pull three times in a row I get three times this message). Is there something fishy with this branch?
Sebastien Gouezel (Nov 30 2023 at 08:37):
(And it appears twice on the branch list on github)
Sebastien Gouezel (Nov 30 2023 at 08:40):
I think I get it: there are two branches ClausenCl/UniformDistribution
and ClausenCl/Uniformdistribution
, with D
and d
respectively. On some filesystems, it has to create some confusion. Could we delete one of the two branches? @Claus Clausen
Eric Wieser (Nov 30 2023 at 09:08):
Another option (on Windows) is maybe to run
fsutil.exe file setCaseSensitiveInfo path/to/mathlib enable
as an administrator
Oliver Nash (Nov 30 2023 at 12:26):
I just encountered this issue now. I think Sebtastian's suggestion is the way to go since it should fix the issue for all users. I find it rather strange that is has not surfaced before: neither branch has had any commits added for two days.
Oliver Nash (Nov 30 2023 at 12:27):
image.png
@Claus Clausen Can one of these branches be safely deleted?
Eric Wieser (Nov 30 2023 at 12:27):
We had exactly this problem before with a previous branch of Kevin's
Floris van Doorn (Nov 30 2023 at 12:42):
I went ahead and deleted branch#ClausenCl/UniformDistribution, since the other one is the same, but with 3 more commits.
Claus Clausen (Nov 30 2023 at 15:03):
Oliver Nash schrieb:
image.png
Claus Clausen Can one of these branches be safely deleted?
Yes sorry, I had some trouble with my commits. I thought closing it would be sufficient! Sorry for the trouble and thank you @Floris van Doorn for your quick thinking!
Last updated: Dec 20 2023 at 11:08 UTC