reftable: remove name checks
In the preceding commit we have disabled name checks in the "reftable"
backend. These checks were responsible for verifying multiple things
when writing records to the reftable stack:
  - Detecting file/directory conflicts. Starting with the preceding
    commits this is now handled by the reftable backend itself via
    `refs_verify_refname_available()`.
  - Validating refnames. This is handled by `check_refname_format()` in
    the generic ref transacton layer.
The code in the reftable library is thus not used anymore and likely to
bitrot over time. Remove it.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
			
			
This commit is contained in:
		
				
					committed by
					
						
						Junio C Hamano
					
				
			
			
				
	
			
			
			
						parent
						
							4af31dc84a
						
					
				
				
					commit
					485c63cf5c
				
			@ -48,9 +48,6 @@ enum reftable_error {
 | 
			
		||||
	/* Wrote a table without blocks. */
 | 
			
		||||
	REFTABLE_EMPTY_TABLE_ERROR = -8,
 | 
			
		||||
 | 
			
		||||
	/* Dir/file conflict. */
 | 
			
		||||
	REFTABLE_NAME_CONFLICT = -9,
 | 
			
		||||
 | 
			
		||||
	/* Invalid ref name. */
 | 
			
		||||
	REFTABLE_REFNAME_ERROR = -10,
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user