tree-diff: convert diff_root_tree_sha1 to struct object_id
Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
		
				
					committed by
					
						
						Junio C Hamano
					
				
			
			
				
	
			
			
			
						parent
						
							09fae19aa8
						
					
				
				
					commit
					7b8dea0c75
				
			@ -803,7 +803,7 @@ static int log_tree_diff(struct rev_info *opt, struct commit *commit, struct log
 | 
			
		||||
	parents = get_saved_parents(opt, commit);
 | 
			
		||||
	if (!parents) {
 | 
			
		||||
		if (opt->show_root_diff) {
 | 
			
		||||
			diff_root_tree_sha1(oid->hash, "", &opt->diffopt);
 | 
			
		||||
			diff_root_tree_oid(oid, "", &opt->diffopt);
 | 
			
		||||
			log_tree_diff_flush(opt);
 | 
			
		||||
		}
 | 
			
		||||
		return !opt->loginfo;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user