From 52fda312dfd2ed93e512c8e210c5646e4ae53dbc Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Thu, 12 Sep 2019 03:14:41 +0200 Subject: 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 --- modules/git/tests/repos/repo3_notes/description | 1 + 1 file changed, 1 insertion(+) create mode 100644 modules/git/tests/repos/repo3_notes/description (limited to 'modules/git/tests/repos/repo3_notes/description') diff --git a/modules/git/tests/repos/repo3_notes/description b/modules/git/tests/repos/repo3_notes/description new file mode 100644 index 0000000000..498b267a8c --- /dev/null +++ b/modules/git/tests/repos/repo3_notes/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. -- cgit v1.2.3