mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	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:
		
							
								
								
									
										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 | ||||
		Reference in New Issue
	
	Block a user