Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloning error on case-insensitive filesystems #5891

Closed
1 of 4 tasks
aryanrawlani28 opened this issue Sep 30, 2020 · 3 comments
Closed
1 of 4 tasks

Cloning error on case-insensitive filesystems #5891

aryanrawlani28 opened this issue Sep 30, 2020 · 3 comments

Comments

@aryanrawlani28
Copy link
Contributor

This is a(n):

  • New algorithm
  • Update to an existing algorithm
  • Error
  • Proposal to the Repository

Details:

Hello.
I'm currently on a Windows platform, which is a case-insensitive filesystem. Upon cloning the repository, it gives me the below log:

$ git clone https:/OpenGenus/cosmos.git
Cloning into 'cosmos'...
remote: Enumerating objects: 12, done.
remote: Counting objects: 100% (12/12), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 64060 (delta 2), reused 2 (delta 0), pack-reused 64048
Receiving objects: 100% (64060/64060), 44.60 MiB | 988.00 KiB/s, done.
Resolving deltas: 100% (36899/36899), done.
Updating files: 100% (3742/3742), done.
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:

  'code/dynamic_programming/src/longest_common_substring/Longest_Common_Substring.cpp'
  'code/dynamic_programming/src/longest_common_substring/longest_common_substring.cpp'
  'scripts/metadata/code/design_pattern/src/OOP_patterns/data.json'
  'scripts/metadata/code/design_pattern/src/oop_patterns/data.json'

This is because these files are the same name, just capitalization is different. Thus,

  • scripts/metadata/code/design_pattern/src/oop_patterns/data.json needs to be deleted - because another OOP_patterns folder exists.
  • code/dynamic_programming/src/longest_common_substring/longest_common_substring.cpp needs to be renamed, because one solution already exists.

PR #5890 tries to fix this.

@aryanrawlani28 aryanrawlani28 changed the title Fix cloning error on case-insensitive filesystems Cloning error on case-insensitive filesystems Sep 30, 2020
@AdiChat
Copy link
Member

AdiChat commented Oct 1, 2020

Nice work on identifying and fixing the issue 👍

It is important to make things work across all different environments.

@Haricharan0310
Copy link

Hey @aryanrawlani28 @AdiChat I was wondering if this issue is open? If it is, I would like to Contribute to it and could you please guide me on this?

@beef-erikson
Copy link
Contributor

Just now noticed this was a closed issue. Followed the link from Octoberfest. Disregard my pull request; I shall look into current bugs!

Thanks!

AdiChat added a commit that referenced this issue Oct 6, 2022
Fix for issue #5891, removed file causing issue and renamed other con…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants