Stephen Boyd
a8f6855f48
format-patch: make --base patch-id output stable
...
We weren't flushing the context each time we processed a hunk in the
patch-id generation code in diff.c, but we were doing that when we
generated "stable" patch-ids with the 'patch-id' tool. Let's port that
similar logic over from patch-id.c into diff.c so we can get the same
hash when we're generating patch-ids for 'format-patch --base=' types of
command invocations.
Cc: Xiaolong Ye <xiaolong.ye@intel.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-05-08 19:27:43 +09:00
..
2019-02-06 22:05:23 -08:00
2019-04-25 16:41:17 +09:00
2018-08-13 14:14:44 -07:00
2019-01-02 13:05:30 -08:00
2019-02-11 12:58:06 -08:00
2019-04-25 16:41:21 +09:00
2019-03-21 12:03:35 +09:00
2019-01-24 12:35:44 -08:00
2019-02-06 22:05:27 -08:00
2019-01-24 11:55:06 -08:00
2019-01-24 11:55:06 -08:00
2019-02-06 22:05:23 -08:00
2019-04-25 16:41:14 +09:00
2019-01-24 11:55:06 -08:00
2019-02-06 22:05:23 -08:00
2019-04-01 12:14:50 +09:00
2019-03-08 10:31:24 +09:00
2019-04-25 16:41:13 +09:00
2019-01-29 12:47:54 -08:00
2018-11-13 14:22:02 +09:00
2019-02-06 22:05:29 -08:00
2019-01-24 11:55:06 -08:00
2019-01-24 11:55:06 -08:00
2019-03-07 09:59:54 +09:00
2019-04-25 16:41:12 +09:00
2019-04-25 16:41:17 +09:00
2019-01-04 13:33:33 -08:00
2019-03-20 18:34:09 +09:00
2019-03-20 15:16:06 +09:00
2018-10-19 13:34:02 +09:00
2019-03-21 12:03:35 +09:00
2019-03-20 15:16:06 +09:00
2019-04-01 12:51:51 +09:00
2019-04-01 11:57:39 +09:00
2019-02-06 22:05:23 -08:00
2019-01-24 11:55:06 -08:00
2019-02-20 12:31:56 -08:00
2019-04-01 18:08:05 +09:00
2019-04-16 19:28:05 +09:00
2018-11-06 12:56:29 +09:00
2019-05-08 19:27:43 +09:00
2019-04-25 16:41:20 +09:00
2019-03-21 12:03:35 +09:00
2019-01-14 15:29:28 -08:00
2018-11-02 11:04:55 +09:00
2018-11-06 12:56:29 +09:00
2019-01-24 11:55:06 -08:00
2019-01-24 11:55:06 -08:00
2019-02-06 22:05:23 -08:00
2019-02-06 22:05:23 -08:00
2019-03-07 09:59:52 +09:00
2018-10-15 12:53:15 +09:00
2019-03-22 14:31:11 +09:00
2019-01-24 11:55:06 -08:00
2019-04-01 11:57:38 +09:00
2019-01-15 15:38:29 -08:00
2019-04-01 11:57:37 +09:00
2019-04-01 11:57:38 +09:00
2019-05-08 19:27:43 +09:00
2019-03-07 09:59:55 +09:00
2019-02-14 15:25:33 -08:00
2019-04-01 11:57:38 +09:00
2019-01-18 13:49:52 -08:00
2019-03-24 22:21:24 +09:00
2019-03-24 21:35:34 +09:00
2019-04-25 16:41:11 +09:00
2019-04-16 19:28:09 +09:00
2019-03-07 09:59:57 +09:00
2019-02-06 22:05:27 -08:00
2018-09-24 10:30:52 -07:00
2019-01-18 13:49:57 -08:00
2019-02-20 12:31:56 -08:00
2019-01-15 15:38:29 -08:00
2019-04-25 16:41:11 +09:00
2019-03-20 15:16:07 +09:00
2019-01-24 11:55:06 -08:00
2019-01-04 13:33:33 -08:00
2019-01-24 11:55:06 -08:00
2019-01-02 13:05:30 -08:00
2018-12-15 12:24:33 +09:00
2018-11-06 12:56:29 +09:00
2018-05-29 00:28:22 +09:00
2019-01-08 09:41:06 -08:00
2019-04-25 16:41:12 +09:00
2018-12-26 15:41:47 -08:00
2019-04-25 16:41:24 +09:00
2017-11-06 10:31:08 +09:00
2019-03-21 12:03:35 +09:00
2018-08-29 11:32:49 -07:00
2019-04-25 16:41:12 +09:00
2018-09-12 15:17:17 -07:00
2018-10-26 10:17:59 +09:00
2018-07-18 15:45:14 -07:00
2018-06-29 10:43:39 -07:00
2019-04-10 02:14:24 +09:00
2019-01-24 11:55:06 -08:00