Derrick Stolee
1d614d41e5
commit-reach: move ref_newer from remote.c
...
There are several commit walks in the codebase. Group them together into
a new commit-reach.c file and corresponding header. After we group these
walks into one place, we can reduce duplicate logic by calling
equivalent methods.
The ref_newer() method is used by 'git push -f' to check if a force-push
is necessary. By making the method public, we make it possible to test
the method directly without setting up an envieronment where a 'git
push' call makes sense.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2018-07-20 15:38:54 -07:00
..
2018-05-30 14:04:05 +09:00
2018-06-29 10:43:39 -07:00
2018-06-29 10:43:28 -07:00
2018-07-20 15:38:54 -07:00
2018-06-29 10:43:28 -07:00
2018-06-29 10:43:39 -07:00
2018-05-29 14:51:28 +09:00
2018-06-29 10:43:39 -07:00
2018-05-13 10:45:05 +09:00
2018-07-17 15:47:48 -07:00
2018-06-29 10:43:39 -07:00
2018-07-20 15:38:54 -07:00
2018-05-30 21:51:27 +09:00
2018-05-02 13:59:49 +09:00
2018-06-29 10:43:39 -07:00
2018-06-29 10:43:39 -07:00
2018-06-29 10:43:39 -07:00
2018-06-29 10:43:28 -07:00
2018-06-29 10:43:39 -07:00
2018-05-08 15:59:16 +09:00
2018-07-20 15:38:54 -07:00
2018-07-20 15:38:54 -07:00
2018-07-17 15:47:48 -07:00
2018-06-27 10:29:10 -07:00
2018-06-29 10:43:39 -07:00
2018-06-29 10:43:28 -07:00
2018-06-01 15:06:37 +09:00
2018-06-29 10:43:38 -07:00
2018-06-01 15:06:40 +09:00
2018-07-20 15:38:54 -07:00
2018-06-01 15:06:38 +09:00
2018-05-23 14:38:15 +09:00
2018-05-16 11:42:03 +09:00
2018-07-20 15:38:54 -07:00
2018-06-29 10:43:38 -07:00
2018-07-20 15:38:54 -07:00
2018-05-16 11:42:03 +09:00
2018-05-16 11:42:03 +09:00
2018-05-30 14:04:05 +09:00
2018-06-29 10:43:39 -07:00
2018-06-29 10:43:39 -07:00
2018-06-29 10:43:39 -07:00
2018-05-02 13:59:50 +09:00
2018-04-12 11:38:56 +09:00
2018-05-02 13:59:49 +09:00
2018-06-29 10:43:38 -07:00
2018-07-20 15:38:54 -07:00
2018-05-18 06:19:44 +09:00
2018-05-10 14:55:40 +09:00
2018-04-26 12:28:43 +09:00
2018-07-20 15:38:54 -07:00
2018-06-29 10:43:39 -07:00
2018-07-20 15:38:54 -07:00
2018-04-16 13:52:29 +09:00
2018-06-29 10:43:39 -07:00
2018-06-29 10:43:39 -07:00
2018-06-29 10:43:38 -07:00
2018-07-20 15:38:54 -07:00
2018-05-30 14:04:05 +09:00
2018-06-28 12:53:30 -07:00
2018-03-15 12:01:08 -07:00
2018-04-10 16:28:20 +09:00
2018-06-29 10:43:39 -07:00
2018-05-29 00:28:22 +09:00
2018-05-16 11:42:03 +09:00
2018-06-25 13:22:41 -07:00
2018-06-29 10:43:39 -07:00
2018-05-16 11:42:03 +09:00
2018-06-29 10:43:38 -07:00
2018-05-30 14:04:07 +09:00
2018-06-04 12:26:01 +09:00
2018-05-08 15:59:16 +09:00
2018-06-29 10:43:39 -07:00
2018-04-09 06:14:45 +09:00
2018-05-23 14:38:18 +09:00
2018-03-14 09:23:47 -07:00