Creation of a branch named that has a directory prefix equal to the name of another branch fail.

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

 



As per compiled bug report, creation of a branch that has a prefix that map to a folder, when that prefix is just an existing branch in the repo fails.

I.E. 'a/b/c' when 'a/b' just exists.

Best regards,
Tommaso Ercole 
Head Programmer
Content Delivery

Mobile: +39 328 7182833
Email:  mailto:tommaso.ercole@xxxxxxxx 
Skype:  live:tommaso.ercole

Qlik
via Brescia 31
36040 Torri di Quartesolo - Vicenza - Italy 

http://www.qlik.com/
http://qlik.com/

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

Creating a branch a/b/c when a/b exists fails complaining that a ref 'a/b' just exists.

This is probably due to the fact that when creating a/b a directory 'a' is created inside 
'refs/heads' and a file 'b' is created under the a directory, avoiding the subsequent possibility 
to create a folder 'b' in the same directory that is needed to create the ref for 'a/b/c'

The solution seems to append to the file an extension to disambiguate the file from the folder.

[System Info]
git version:
git version 2.27.0.windows.1
cpu: x86_64
built from commit: 907ab1011dce9112700498e034b974ba60f8b407
sizeof-long: 4
sizeof-size_t: 8
uname: Windows 10.0 18363 
compiler info: gnuc: 10.1
libc info: no libc information available


[Enabled Hooks]

[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