You've already forked pgbackrest
							
							
				mirror of
				https://github.com/pgbackrest/pgbackrest.git
				synced 2025-10-30 23:37:45 +02:00 
			
		
		
		
	The code is not completely reflowed yet so there are some cases that uncrustify will not catch. The formatting will be improved over time.
Some block of code require special formatting so have been surrounded with the {uncrustify-off}/{uncrustify-on} markers. These exceptions should be kept to a minimum.
Add --code-format (to reformat code) and --code-format-check (to check formatting) to test.pl.
Add a CI test that will check code formatting. Code must be correctly formatted before it can be merge to integration.
Add documentation to the coding standards for code formatting.
		
	
		
			
				
	
	
		
			6 lines
		
	
	
		
			141 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			141 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Reformat code with uncrustify.
 | |
| d4070c90641a61fa3cb1169f3bd53067193bab4e
 | |
| 
 | |
| # Fix formatting errors.
 | |
| b2202c36d9e7c4557ac37087757df80193d516b5
 |