Files
git/builtin
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-07-20 15:38:54 -07:00
2018-05-13 10:45:05 +09:00
2018-07-20 15:38:54 -07:00
2018-05-08 15:59:16 +09:00
2018-07-20 15:38:54 -07:00
2018-06-01 15:06:37 +09: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-07-20 15:38:54 -07:00
2018-05-30 14:04:05 +09:00
2018-07-20 15:38:54 -07:00
2018-04-16 13:52:29 +09:00
2018-05-30 14:04:05 +09:00
2018-03-15 12:01:08 -07:00
2018-05-29 00:28:22 +09:00
2018-05-30 14:04:07 +09:00
2018-05-08 15:59:16 +09:00