submodule.c: fix indentation
The submodule subsystem is really bad at staying within 80 characters. Fix it while we are here. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
							parent
							
								
									161b1cf3bd
								
							
						
					
					
						commit
						25e3d28efd
					
				|  | @ -1271,7 +1271,8 @@ static int get_next_submodule(struct child_process *cp, | ||||||
| 		if (!submodule) { | 		if (!submodule) { | ||||||
| 			const char *name = default_name_or_path(ce->name); | 			const char *name = default_name_or_path(ce->name); | ||||||
| 			if (name) { | 			if (name) { | ||||||
| 				default_submodule.path = default_submodule.name = name; | 				default_submodule.path = name; | ||||||
|  | 				default_submodule.name = name; | ||||||
| 				submodule = &default_submodule; | 				submodule = &default_submodule; | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
|  | @ -1281,8 +1282,10 @@ static int get_next_submodule(struct child_process *cp, | ||||||
| 		default: | 		default: | ||||||
| 		case RECURSE_SUBMODULES_DEFAULT: | 		case RECURSE_SUBMODULES_DEFAULT: | ||||||
| 		case RECURSE_SUBMODULES_ON_DEMAND: | 		case RECURSE_SUBMODULES_ON_DEMAND: | ||||||
| 			if (!submodule || !unsorted_string_list_lookup(&changed_submodule_names, | 			if (!submodule || | ||||||
| 							 submodule->name)) | 			    !unsorted_string_list_lookup( | ||||||
|  | 					&changed_submodule_names, | ||||||
|  | 					submodule->name)) | ||||||
| 				continue; | 				continue; | ||||||
| 			default_argv = "on-demand"; | 			default_argv = "on-demand"; | ||||||
| 			break; | 			break; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Stefan Beller
						Stefan Beller