Re: Git branch capitalisation bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 13, 2023 at 12:35:36PM +0200, Ilya Kamenshchikov wrote:
> What did you do before the bug happened? (Steps to reproduce your issue)
> Created a branch "feature/macos_tests", pushed to remote as
> "origin/feature/macos_tests".
>
> What did you expect to happen? (Expected behavior)
> remote branch "feature/macos_tests" to be created.
>
> What happened instead? (Actual behavior)
> remote branch name is "Feature/macos_tests" (capitalised). This
> doesn't play nicely with not case sensitive macos FS.
>
>
>
> [System Info]
> git version:
> git version 2.40.0
> cpu: x86_64
> no commit associated with this build
> sizeof-long: 8
> sizeof-size_t: 8
> shell-path: /bin/sh
> feature: fsmonitor--daemon
> uname: Darwin 21.6.0 Darwin Kernel Version 21.6.0: Mon Dec 19 20:44:01
> PST 2022; root:xnu-8020.240.18~2/RELEASE_X86_64 x86_64
> compiler info: clang: 14.0.0 (clang-1400.0.29.202)
> libc info: no libc information available
> $SHELL (typically, interactive shell): /usr/local/bin/fish
>
>
> [Enabled Hooks]
> pre-push
> (remark: reproduced also when uninstalling this hook)
>
> Raw output:
>
> ~ $ cd bosch/rlcore                                       (base) 12:11:42
> ~/b/rlcore (feature/macos_tests|✚2) $ git push            (base) 12:11:49
> fatal: The current branch feature/macos_tests has no upstream branch.
> To push the current branch and set the remote as upstream, use
>
>     git push --set-upstream origin feature/macos_tests
>
> To have this happen automatically for branches without a tracking
> upstream, see 'push.autoSetupRemote' in 'git help config'.
>
> ~/b/rlcore (feature/macos_tests|✚2) [128] $ git push --set-upstream
> origin feature/macos_tests
> Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
> Thank you for filling out a Git bug report!
> remote:
> remote: Create a pull request for 'feature/macos_tests' on GitHub by visiting:
> remote:      https://github.boschdevcloud.com/CR/rlcore/pull/new/feature/macos_tests
> remote:
> To https://github.boschdevcloud.com/CR/rlcore.git
>  * [new branch]        feature/macos_tests -> feature/macos_tests
> branch 'feature/macos_tests' set up to track 'origin/feature/macos_tests'.
> ~/b/rlcore (feature/macos_tests|✚2) $ gl                  (base) 12:16:10
> c001bc75 2023-04-13 | commit message (#514) (HEAD ->
> feature/macos_tests, origin/main, origin/git_problems, origin/HEAD,
> origin/Feature/macos_tests) [Rich..]
>
> Best Regards,
> --
> Ilya Kamen

I am not sure, where this Capitalizations comes from.
I don't have an account on boschdevcloud.com to test.
Is it possible to reproduce it with a public repo ?
Otherwise, should we suspect boschdevcloud.com for it ?

Any other thoughts from anybody ?




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux