Stefan Beller
a6a8431968
receive-pack.c: shorten the execute_commands loop over all commands
...
Make the main "execute_commands" loop in receive-pack easier to read
by splitting out some steps into helper functions. The new helper
'should_process_cmd' checks if a ref update is unnecessary, whether
due to an error having occurred or for another reason. The helper
'warn_if_skipped_connectivity_check' warns if we have forgotten to
run a connectivity check on a ref which is shallow for the client
which would be a bug.
This will help us to duplicate less code in a later patch when we make
a second copy of the "execute_commands" loop.
No functional change intended.
Signed-off-by: Stefan Beller <sbeller@google.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2015-01-07 19:56:42 -08:00
..
2014-10-01 13:56:14 -07:00
2014-07-16 11:10:11 -07:00
2014-10-14 10:50:07 -07:00
2013-12-05 14:13:21 -08:00
2013-08-05 11:32:19 -07:00
2014-10-15 10:47:24 -07:00
2014-10-21 13:28:10 -07:00
2014-10-07 11:09:16 -07:00
2014-03-18 14:03:03 -07:00
2013-09-20 12:37:32 -07:00
2013-07-13 10:19:37 -07:00
2014-10-01 13:56:14 -07:00
2014-10-15 10:47:24 -07:00
2014-10-20 12:23:48 -07:00
2014-10-24 14:59:10 -07:00
2013-12-05 14:13:21 -08:00
2014-06-12 10:29:41 -07:00
2014-10-21 13:28:10 -07:00
2014-10-20 12:23:48 -07:00
2014-10-16 10:10:41 -07:00
2014-10-01 13:56:14 -07:00
2013-07-15 10:56:08 -07:00
2013-07-15 10:56:08 -07:00
2014-07-28 10:14:34 -07:00
2014-10-01 13:56:14 -07:00
2014-08-27 10:42:16 -07:00
2014-01-17 12:21:20 -08:00
2014-11-06 10:52:32 -08:00
2014-10-15 10:47:24 -07:00
2014-10-21 13:28:10 -07:00
2014-10-15 10:47:24 -07:00
2014-10-01 13:56:14 -07:00
2014-10-07 11:09:16 -07:00
2014-10-16 10:10:44 -07:00
2014-09-11 14:23:51 -07:00
2014-10-10 16:02:26 -07:00
2014-10-13 12:33:30 -07:00
2014-09-02 13:28:44 -07:00
2014-10-13 13:55:27 -07:00
2014-10-21 13:28:10 -07:00
2014-09-02 12:00:30 -07:00
2014-05-27 14:00:43 -07:00
2014-02-24 14:37:14 -08:00
2014-09-22 13:46:43 -07:00
2014-10-07 10:49:57 -07:00
2014-02-13 13:38:59 -08:00
2013-08-05 11:32:19 -07:00
2013-07-09 09:12:48 -07:00
2013-12-05 14:13:21 -08:00
2014-09-02 11:02:58 -07:00
2014-10-15 10:47:24 -07:00
2014-03-03 14:54:45 -08:00
2014-10-01 13:56:14 -07:00
2014-06-19 15:20:54 -07:00
2014-10-15 10:47:24 -07:00
2014-10-29 10:07:56 -07:00
2014-06-10 13:09:24 -07:00
2014-10-16 10:10:40 -07:00
2014-10-16 10:10:42 -07:00
2014-10-24 10:50:05 -07:00
2014-10-01 13:56:14 -07:00
2015-01-07 19:56:42 -08:00
2014-12-22 10:11:40 -08:00
2014-10-07 11:09:16 -07:00
2014-10-15 10:47:26 -07:00
2014-10-19 15:07:07 -07:00
2014-10-15 10:47:22 -07:00
2014-04-30 10:30:02 -07:00
2014-10-01 13:56:14 -07:00
2014-06-13 12:09:38 -07:00
2014-09-19 10:46:15 -07:00
2014-03-24 10:43:34 -07:00
2014-10-01 13:56:14 -07:00
2014-10-08 13:05:25 -07:00
2013-12-05 14:13:21 -08:00
2014-10-15 10:47:24 -07:00
2013-12-05 14:13:21 -08:00
2013-09-06 13:33:17 -07:00
2014-10-15 10:47:24 -07:00
2014-10-15 10:47:22 -07:00
2014-09-10 13:54:21 -07:00
2014-10-01 13:56:14 -07:00
2014-10-15 10:47:22 -07:00
2013-12-05 14:13:21 -08:00
2014-06-23 15:50:31 -07:00
2014-08-20 09:53:37 -07:00