Add support for --scan-path command line option
This is an alias for --scan-tree (which might be deprecated in the future). Signed-off-by: Lars Hjemli <hjemli@gmail.com>
这个提交包含在:
		
							
								
								
									
										3
									
								
								cgit.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								cgit.c
									
									
									
									
									
								
							| @@ -547,7 +547,8 @@ static void cgit_parse_args(int argc, const char **argv) | ||||
| 		if (!strncmp(argv[i], "--ofs=", 6)) { | ||||
| 			ctx.qry.ofs = atoi(argv[i]+6); | ||||
| 		} | ||||
| 		if (!strncmp(argv[i], "--scan-tree=", 12)) { | ||||
| 		if (!strncmp(argv[i], "--scan-tree=", 12) || | ||||
| 		    !strncmp(argv[i], "--scan-path=", 12)) { | ||||
| 			scan++; | ||||
| 			scan_tree(argv[i] + 12); | ||||
| 		} | ||||
|   | ||||
		在新工单中引用
	
	屏蔽一个用户
	 Lars Hjemli
					Lars Hjemli