contrib/hooks/post-receive-email: remove cruft, $committer is not used
Signed-off-by: Gerrit Pape <pape@smarden.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
		
				
					committed by
					
						
						Junio C Hamano
					
				
			
			
				
	
			
			
			
						parent
						
							ad7638b2ed
						
					
				
				
					commit
					5c355059c3
				
			@ -156,10 +156,6 @@ generate_email()
 | 
				
			|||||||
	fi
 | 
						fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	# Email parameters
 | 
						# Email parameters
 | 
				
			||||||
	# The committer will be obtained from the latest existing rev; so
 | 
					 | 
				
			||||||
	# for a deletion it will be the oldrev, for the others, then newrev
 | 
					 | 
				
			||||||
	committer=$(git show --pretty=full -s $rev | sed -ne "s/^Commit: //p" |
 | 
					 | 
				
			||||||
		sed -ne 's/\(.*\) </"\1" </p')
 | 
					 | 
				
			||||||
	# The email subject will contain the best description of the ref
 | 
						# The email subject will contain the best description of the ref
 | 
				
			||||||
	# that we can build from the parameters
 | 
						# that we can build from the parameters
 | 
				
			||||||
	describe=$(git describe $rev 2>/dev/null)
 | 
						describe=$(git describe $rev 2>/dev/null)
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user