mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	force 10 chars SHA1 display.
`make update-src` shows latest commit hash for convinience. However, `rev-parse --short` option shows different length (maybe) between git versions. This fix force 10 chars with `--short=10`.
This commit is contained in:
		
							parent
							
								
									19d454a957
								
							
						
					
					
						commit
						2ef6673708
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -217,5 +217,5 @@ clean-srcs-extra::
 | 
			
		|||
 | 
			
		||||
ifneq ($(filter $(VCS),git),)
 | 
			
		||||
update-src::
 | 
			
		||||
	@$(BASERUBY) $(srcdir)/tool/colorize.rb pass "Latest commit hash = $(shell $(filter-out svn,$(VCS)) -C $(srcdir) rev-parse --short HEAD)"
 | 
			
		||||
	@$(BASERUBY) $(srcdir)/tool/colorize.rb pass "Latest commit hash = $(shell $(filter-out svn,$(VCS)) -C $(srcdir) rev-parse --short=10 HEAD)"
 | 
			
		||||
endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue