mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-10-31 14:31:04 +00:00 
			
		
		
		
	fix(git): always get both tag and version
This commit is contained in:
		
					parent
					
						
							
								865ff414c7
							
						
					
				
			
			
				commit
				
					
						cb29427926
					
				
			
		
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -24,8 +24,7 @@ function M.info(repo, details) | |||
|       for tag, tag_ref in pairs(M.get_tag_refs(repo)) do | ||||
|         if tag_ref == ret.commit then | ||||
|           ret.tag = tag | ||||
|           ret.version = Semver.version(tag) | ||||
|           break | ||||
|           ret.version = ret.version or Semver.version(tag) | ||||
|         end | ||||
|       end | ||||
|     end | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue