Junio C Hamano
976b97e3fd
diff: spell DIFF_INDEX_CACHED out when calling run_diff_index()
...
Many callers of run_diff_index() passed literal "1" for the option
flag word, which should better be spelled out as DIFF_INDEX_CACHED
for readablity. Everybody else passes "0" that can stay as-is.
The other bit in the option flag word is DIFF_INDEX_MERGE_BASE, but
curiously there is only one caller that can pass it, which is "git
diff-index --merge-base" itself---no internal callers uses the
feature.
A bit tricky call to the function is in builtin/submodule--helper.c
where the .cached member in a private struct is set/reset as a plain
Boolean flag, which happens to be "1" and happens to match the value
of DIFF_INDEX_CACHED.
Signed-off-by: Junio C Hamano <gitster@pobox.com >
Signed-off-by: Jeff King <peff@peff.net >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2023-08-21 15:33:23 -07:00
..
2023-07-06 11:54:48 -07:00
2023-08-21 15:33:23 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-07-05 11:41:59 -07:00
2023-07-17 11:30:42 -07:00
2023-07-26 14:13:15 -07:00
2023-07-05 11:41:59 -07:00
2023-08-07 11:57:18 -07:00
2023-07-17 11:30:42 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:54 -07:00
2023-06-21 13:39:53 -07:00
2023-07-05 11:42:31 -07:00
2023-06-21 13:39:53 -07:00
2023-07-25 12:05:23 -07:00
2023-07-06 11:54:48 -07:00
2023-07-27 15:26:37 -07:00
2023-07-06 11:54:48 -07:00
2023-07-06 11:54:48 -07:00
2023-06-21 13:39:54 -07:00
2023-07-08 11:23:07 -07:00
2023-07-17 11:30:42 -07:00
2023-07-13 17:24:00 -07:00
2023-07-05 11:42:31 -07:00
2023-07-05 11:41:59 -07:00
2023-07-06 11:54:46 -07:00
2023-03-28 14:11:24 -07:00
2023-07-28 09:45:21 -07:00
2023-04-11 08:52:10 -07:00
2023-06-21 13:39:53 -07:00
2023-06-29 16:43:21 -07:00
2023-07-13 17:24:00 -07:00
2023-06-21 13:39:53 -07:00
2023-07-17 11:30:42 -07:00
2023-06-21 13:39:54 -07:00
2023-07-05 11:41:59 -07:00
2023-07-05 11:42:31 -07:00
2023-07-27 15:26:37 -07:00
2023-07-05 11:41:59 -07:00
2023-07-21 13:47:26 -07:00
2023-06-21 13:39:53 -07:00
2023-08-19 21:17:32 -07:00
2023-07-17 11:30:42 -07:00
2023-08-15 10:19:47 -07:00
2023-07-05 11:41:59 -07:00
2023-08-02 09:37:23 -07:00
2023-06-21 13:39:54 -07:00
2023-07-06 11:54:48 -07:00
2023-06-21 13:39:53 -07:00
2023-07-25 12:05:24 -07:00
2023-07-05 11:41:59 -07:00
2023-06-21 13:39:53 -07:00
2023-07-25 12:05:24 -07:00
2023-07-06 11:54:45 -07:00
2023-06-21 13:39:54 -07:00
2023-07-18 09:38:24 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-07-13 17:24:00 -07:00
2023-07-17 11:30:42 -07:00
2023-07-13 17:24:00 -07:00
2023-07-05 11:42:31 -07:00
2023-07-06 11:54:48 -07:00
2023-08-15 10:19:47 -07:00
2023-07-05 11:42:31 -07:00
2023-07-06 11:54:47 -07:00
2023-07-28 09:45:22 -07:00
2023-06-21 13:39:54 -07:00
2023-05-12 14:54:14 -07:00
2023-07-06 11:54:48 -07:00
2023-03-21 10:56:51 -07:00
2023-06-29 16:43:21 -07:00
2023-07-06 11:54:48 -07:00
2023-07-27 15:26:37 -07:00
2023-06-21 13:39:53 -07:00
2023-07-06 11:54:48 -07:00
2023-07-17 11:30:42 -07:00
2023-07-21 13:47:26 -07:00
2023-07-06 11:54:48 -07:00
2023-03-28 14:11:24 -07:00
2023-03-28 14:11:24 -07:00
2023-08-04 10:52:31 -07:00
2023-08-08 16:49:10 -07:00
2023-07-13 17:24:00 -07:00
2023-07-05 11:41:59 -07:00
2023-07-27 15:26:37 -07:00
2023-06-21 13:39:54 -07:00
2023-07-25 12:05:24 -07:00
2023-07-05 11:42:31 -07:00
2023-07-05 11:42:31 -07:00
2023-06-28 14:06:39 -07:00
2023-06-21 13:39:53 -07:00
2023-07-27 15:26:37 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:54 -07:00
2023-06-21 13:39:53 -07:00
2023-08-21 15:33:23 -07:00
2023-07-06 11:54:46 -07:00
2023-08-21 15:33:23 -07:00
2023-07-05 11:41:18 -07:00
2023-07-25 12:05:24 -07:00
2023-07-05 11:41:59 -07:00
2023-07-25 12:05:24 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-29 16:43:21 -07:00
2023-07-06 11:54:48 -07:00
2023-06-21 13:39:54 -07:00
2023-06-21 13:39:54 -07:00
2023-06-21 13:39:53 -07:00
2023-08-04 10:52:30 -07:00
2023-06-21 13:39:53 -07:00