Tay Ray Chuan
38a94bb6ba
format-patch: page output with --stdout
...
Pass output through the pager if format-patch is run with --stdout. This
saves the user the trouble of running git with '-p' or piping through a
pager.
setup_pager() already checks if stdout is a tty, so we don't have to
worry about behaviour if the user redirects/pipes stdout. Paging can
also be disabled with the config
[pager]
format-patch = false
Add tests to check for these behaviour.
Helped-by: Jonathan Nieder <jrnieder@gmail.com >
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2010-11-23 12:17:03 -08:00
..
2010-07-12 15:13:54 -07:00
2010-10-29 14:13:33 -07:00
2010-11-17 14:59:27 -08:00
2010-06-21 06:02:47 -07:00
2010-10-08 12:29:52 -07:00
2010-09-29 16:53:25 -07:00
2010-08-06 10:01:45 -07:00
2010-10-08 12:31:08 -07:00
2010-10-26 21:40:54 -07:00
2010-11-17 13:26:38 -08:00
2010-08-24 09:28:02 -07:00
2010-10-21 17:16:10 -07:00
2010-08-20 12:53:09 -07:00
2010-08-31 16:23:31 -07:00
2010-08-09 09:11:44 -07:00
2010-08-09 09:11:44 -07:00
2010-08-09 09:11:44 -07:00
2010-08-09 09:11:44 -07:00
2010-09-08 08:54:01 -07:00
2010-10-08 12:31:07 -07:00
2010-09-29 13:48:20 -07:00
2010-08-26 16:42:25 -07:00
2010-10-08 12:29:52 -07:00
2010-07-25 23:14:18 -07:00
2010-10-08 12:31:07 -07:00
2010-10-06 10:46:05 -07:00
2010-11-23 12:17:03 -08:00
2010-10-08 12:31:07 -07:00
2010-08-15 20:00:02 -07:00
2010-10-08 12:29:52 -07:00
2010-10-08 12:31:07 -07:00
2010-08-18 14:02:03 -07:00
2010-10-18 16:10:57 -07:00
2010-10-26 21:40:54 -07:00
2010-07-14 12:56:49 -07:00
2010-10-26 21:40:54 -07:00
2010-07-05 11:47:57 -07:00
2010-08-29 22:42:49 -07:00
2010-08-31 11:07:34 -07:00
2010-10-08 12:31:08 -07:00
2010-08-09 10:13:18 -07:00
2010-08-12 18:07:09 -07:00
2010-09-10 08:37:14 -07:00
2010-07-07 10:25:15 -07:00
2010-10-08 12:31:07 -07:00
2010-09-03 09:43:41 -07:00
2010-08-21 23:17:35 -07:00
2010-11-17 14:59:33 -08:00
2010-07-07 11:18:26 -07:00
2010-09-27 10:39:54 -07:00
2010-11-17 15:01:00 -08:00
2010-08-11 09:24:01 -07:00
2010-10-08 12:31:07 -07:00
2010-07-05 11:47:57 -07:00
2010-10-06 11:10:07 -07:00
2010-10-08 12:31:08 -07:00
2010-08-15 20:00:02 -07:00