make git-status use a pager
make git status act similar to git log and git diff by presenting long output in a pager. Signed-off-by: Bart Trojanowski <bart@jukie.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
		 Bart Trojanowski
					Bart Trojanowski
				
			
				
					committed by
					
						 Junio C Hamano
						Junio C Hamano
					
				
			
			
				
	
			
			
			 Junio C Hamano
						Junio C Hamano
					
				
			
						parent
						
							68951af30c
						
					
				
				
					commit
					c8af1de9cf
				
			
							
								
								
									
										2
									
								
								git.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								git.c
									
									
									
									
									
								
							| @ -347,7 +347,7 @@ static void handle_internal_command(int argc, const char **argv) | |||||||
| 		{ "shortlog", cmd_shortlog, USE_PAGER }, | 		{ "shortlog", cmd_shortlog, USE_PAGER }, | ||||||
| 		{ "show-branch", cmd_show_branch, RUN_SETUP }, | 		{ "show-branch", cmd_show_branch, RUN_SETUP }, | ||||||
| 		{ "show", cmd_show, RUN_SETUP | USE_PAGER }, | 		{ "show", cmd_show, RUN_SETUP | USE_PAGER }, | ||||||
| 		{ "status", cmd_status, RUN_SETUP | NEED_WORK_TREE }, | 		{ "status", cmd_status, RUN_SETUP | NEED_WORK_TREE | USE_PAGER }, | ||||||
| 		{ "stripspace", cmd_stripspace }, | 		{ "stripspace", cmd_stripspace }, | ||||||
| 		{ "symbolic-ref", cmd_symbolic_ref, RUN_SETUP }, | 		{ "symbolic-ref", cmd_symbolic_ref, RUN_SETUP }, | ||||||
| 		{ "tag", cmd_tag, RUN_SETUP }, | 		{ "tag", cmd_tag, RUN_SETUP }, | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user