Skip to content

folder name should be case sensitive when switch branches #1333

Open
@chucklu

Description

@chucklu

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options

git version 2.14.2.windows.3
built from commit: 924c19fc000d3759486b68bd73bc592fa02e367c
sizeof-long: 4
machine: x86_64

  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver

Microsoft Windows [Version 10.0.10586]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt

Path Option: Cmd
SSH Option: OpenSSH
CURL Option: WinSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled

Details

  • Description
    I have two branches, branch v1.6 and branch master.
    Here is a folder at the same location in both branches.
    On branch v1.6 ,the folder name is Test, the first character T is capital.
    On branch master, the folder name is test, the first character t is in lower case.
    I am on branch v1.6 now,and try to switch to master.

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
    Bash

  • What commands did you run to trigger this issue? If you can provide a
    Minimal, Complete, and Verifiable example
    this will help us understand the issue.

git checkout master
  • What did you expect to occur after running these commands?

checkout the source code with folder test

  • What actually happened instead?

the source code was checked out in Test folder,should rename folder name from Test to test.

  • If the problem was occurring with a specific repository, can you provide the
    URL to that repository to help us with testing?

not happened in specified repository, but you can check this repository

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions