request-pull: avoid mentioning that the start point is a single commit
Previously we ran shortlog on the start commit which always printed "(1)" after the start commit, which gives no information, but makes the output less easy to read. Instead of giving the author name of the commit, use the space for committer timestamp to help recipient judge the freshness of the offered branch more easily. Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
		 Miklos Vajna
					Miklos Vajna
				
			
				
					committed by
					
						 Junio C Hamano
						Junio C Hamano
					
				
			
			
				
	
			
			
			 Junio C Hamano
						Junio C Hamano
					
				
			
						parent
						
							b2c2e4c22c
						
					
				
				
					commit
					10eb00073f
				
			| @ -65,11 +65,11 @@ if [ -z "$branch" ]; then | |||||||
| 	status=1 | 	status=1 | ||||||
| fi | fi | ||||||
|  |  | ||||||
| echo "The following changes since commit $baserev:" | git show -s --format='The following changes since commit %H: | ||||||
| git shortlog --max-count=1 $baserev | sed -e 's/^\(.\)/  \1/' |  | ||||||
|  |  | ||||||
| echo "are available in the git repository at:" |   %s (%ci) | ||||||
| echo |  | ||||||
|  | are available in the git repository at:' $baserev | ||||||
| echo "  $url $branch" | echo "  $url $branch" | ||||||
| echo | echo | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user