[Question] git cat-file --batch cannot handle irregular path

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

 



Hi, all

When I use "git cat-file --batch" command, with the form
<tree-ish>:path, here path is the working tree in my repository,
but it is irregular, such as "法律\(Law\)/民法\(civil\ law$'\n'\)\",
this kind of path is unintentionally created.  
The process cannot correctly handle this kind of case:

$ git cat-file --batch
d071ea971fb93ebc937517736c2a63d64ddbe0d9:法律(Law)/民法(civil law)
d071ea971fb93ebc937517736c2a63d64ddbe0d9:法律(Law)/民法(civil law) missing

How can I deal with this case when irregular paths cannot be avoided?

Thanks in advance.




[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