Fix reading git notes from nested trees (#8026)
* 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:
parent
5e67e0100c
commit
52fda312df
23 changed files with 63 additions and 17 deletions
1
modules/git/tests/repos/repo3_notes/refs/heads/master
Normal file
1
modules/git/tests/repos/repo3_notes/refs/heads/master
Normal file
|
@ -0,0 +1 @@
|
|||
3e668dbfac39cbc80a9ff9c61eb565d944453ba4
|
1
modules/git/tests/repos/repo3_notes/refs/notes/commits
Normal file
1
modules/git/tests/repos/repo3_notes/refs/notes/commits
Normal file
|
@ -0,0 +1 @@
|
|||
654c8b6b63c08bf37f638d3f521626b7fbbd4d37
|
Loading…
Add table
Add a link
Reference in a new issue