Update git to v1.7.9.7
resolve_ref() is renamed to resolve_ref_unsafe(). CGit's usage is safe. Signed-off-by: John Keeping <john@keeping.me.uk>
这个提交包含在:
		
							
								
								
									
										2
									
								
								cgit.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								cgit.c
									
									
									
									
									
								
							| @@ -450,7 +450,7 @@ static char *guess_defbranch(const char *repo_path) | ||||
| 	const char *ref; | ||||
| 	unsigned char sha1[20]; | ||||
|  | ||||
| 	ref = resolve_ref("HEAD", sha1, 0, NULL); | ||||
| 	ref = resolve_ref_unsafe("HEAD", sha1, 0, NULL); | ||||
| 	if (!ref || prefixcmp(ref, "refs/heads/")) | ||||
| 		return "master"; | ||||
| 	return xstrdup(ref + 11); | ||||
|   | ||||
							
								
								
									
										2
									
								
								git
									
									
									
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								git
									
									
									
									
									
								
							 子模块 git 已更新:d9f5ef7a4a...d0f1ea6003
									
								
							
		在新工单中引用
	
	屏蔽一个用户
	 John Keeping
					John Keeping