1
1
mirror of https://github.com/go-gitea/gitea synced 2025-12-07 13:28:25 +00:00

[backport/v1.9] Fix reading git notes from nested trees (#8189)

* Fix reading notes from nested trees

The GIT documentation for notes states "Permitted pathnames have the
form ab/cd/ef/.../abcdef...: a sequence of directory names of two
hexadecimal digits each followed by a filename with the rest of
the object ID."

* Add test case

* Fix new lines
This commit is contained in:
Filip Navara
2019-09-15 23:59:08 +02:00
committed by techknowlogick
parent 91ea086ebe
commit 6883c007d3
23 changed files with 62 additions and 18 deletions

View File

@@ -0,0 +1,3 @@
xťŽ;Â0 @™s
ďH•ă&v*!ÄÄČś4<C59B>JôŁ(p~
G`|oxziťç©;´š3Đ ÂČŢ÷6  ś$`¦"NRäŃşXlałiÍK<C38D>¨¨ĺŢ÷4rň$§\P0"yĚŁPQ'F_í±V¸NĎi<C48E>ľµ*śĘ—şĺG—ű¬ÓłKë|ëY„eŔŽH<C5BD>f·űfË ÜăEm

View File

@@ -0,0 +1 @@
x<01><>;ֲ0©}<7D>ם"ַ¿u$„RQr‡•<E280A1>K1Fֹש1<1C>nf<6E>קR-%w˜ׁzcב´{ה%7ְ¢h#ׁx¶ˆֹQ₪איfXׁ»?jƒK<C692>ע ®´S#8ֹ׳¦חֿײ{¡¼M©3ּ> †¨<E280A0>…£6Z«Qַmח¿װ<0E>