Martin Ågren
2e85a0c8ab
http-fetch: make -a standard behaviour
...
This is a follow-up to a6c786fce8 (Mark http-fetch without -a as
deprecated, 2011-08-23). For more than six years, we have been warning
when `-a` is not provided, and the documentation has been saying that
`-a` will become the default.
It is a bit unclear what "default" means here. There is no such thing as
`http-fetch --no-a`. But according to my searches, no-one has been
asking on the mailing list how they should silence the warning and
prepare for overriding the flipped default. So let's assume that
everybody is happy with `-a`. They should be, since not using it may
break the repo in such a way that Git itself is unable to fix it.
Always behave as if `-a` was given. Since `-a` implies `-c` (get commit
objects) and `-t` (get trees), all three options are now unnecessary.
Document all of these as historical artefacts that have no effect.
Leave no-op code for handling these options in http-fetch.c. The
options-handling is currently rather loose. If someone tightens it, we
will not want these ignored options to accidentally turn into hard
errors.
Since `-a` was the only safe and sane usage and we have been pushing
people towards it for a long time, refrain from warning when it is used
"unnecessarily" now. Similarly, do not add anything scary-looking to the
man-page about how it will be removed in the future. We can always do so
later. (It is not like we are in desperate need of freeing up
one-letter arguments.)
Signed-off-by: Martin Ågren <martin.agren@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2018-04-24 10:55:02 +09:00
..
2017-04-20 22:05:37 -07:00
2018-03-22 14:36:51 -07:00
2018-03-14 12:01:06 -07:00
2017-11-13 13:25:19 +09:00
2017-01-31 12:18:18 -08:00
2017-02-24 10:48:08 -08:00
2017-01-23 10:56:47 -08:00
2015-05-21 13:03:37 -07:00
2018-02-08 14:20:43 -08:00
2018-03-29 15:39:59 -07:00
2017-01-17 15:19:08 -08:00
2017-07-25 14:30:49 -07:00
2017-03-02 11:40:51 -08:00
2017-03-02 11:40:51 -08:00
2018-03-14 12:01:02 -07:00
2016-05-09 15:44:14 -07:00
2018-02-09 13:10:13 -08:00
2015-05-28 12:38:46 -07:00
2017-11-17 10:31:05 +09:00
2018-03-06 14:54:02 -08:00
2017-11-02 14:51:24 +09:00
2017-08-23 12:17:22 -07:00
2017-04-20 22:05:38 -07:00
2014-02-28 09:55:35 -08:00
2017-05-09 21:13:13 -07:00
2017-11-13 10:51:14 +09:00
2017-11-02 14:51:24 +09:00
2017-12-06 09:23:36 -08:00
2016-02-01 13:07:41 -08:00
2018-01-10 15:08:14 -08:00
2015-10-16 15:27:52 -07:00
2016-05-09 15:44:14 -07:00
2013-07-13 10:19:37 -07:00
2017-12-19 10:00:45 -08:00
2017-12-13 13:28:57 -08:00
2016-07-28 11:25:54 -07:00
2013-11-27 12:16:49 -08:00
2016-06-28 08:20:52 -07:00
2017-12-05 11:30:38 -08:00
2014-01-27 08:34:34 -08:00
2016-07-28 11:25:54 -07:00
2017-12-22 13:10:24 -08:00
2018-02-21 14:27:30 -08:00
2016-10-10 13:52:37 -07:00
2014-09-16 11:11:58 -07:00
2017-03-17 11:19:40 -07:00
2016-06-28 08:36:45 -07:00
2013-09-06 14:49:06 -07:00
2016-10-03 13:22:25 -07:00
2017-08-23 12:17:22 -07:00
2018-02-05 10:30:44 -08:00
2017-12-19 11:17:16 -08:00
2017-08-23 12:17:22 -07:00
2016-06-28 08:36:45 -07:00
2017-04-13 16:15:25 -07:00
2017-02-08 13:30:28 -08:00
2015-05-12 22:14:46 -07:00
2017-06-12 09:50:33 -07:00
2016-11-18 13:06:14 -08:00
2018-02-09 13:10:13 -08:00
2017-10-19 14:45:45 +09:00
2016-10-28 05:51:51 -07:00
2017-11-15 12:14:32 +09:00
2017-08-14 14:09:45 -07:00
2016-07-18 15:15:59 -07:00
2017-02-24 09:59:12 -08:00
2015-10-16 15:27:52 -07:00
2017-10-18 14:19:12 +09:00
2017-01-13 12:23:28 -08:00
2015-10-16 15:27:52 -07:00
2016-06-28 08:36:45 -07:00
2016-06-08 12:04:37 -07:00
2018-04-24 10:55:02 +09:00
2016-06-28 08:36:45 -07:00
2015-03-10 15:19:05 -07:00
2018-03-15 10:16:24 -07:00
2017-02-17 15:57:21 -08:00
2016-06-08 12:04:55 -07:00
2018-03-22 14:24:21 -07:00
2017-11-22 13:18:59 +09:00
2017-10-01 17:23:05 +09:00
2016-01-19 10:07:56 -08:00
2017-03-02 11:40:51 -08:00
2016-05-26 13:17:14 -07:00
2016-06-06 11:14:43 -07:00
2017-11-09 12:28:30 +09:00
2015-10-29 12:10:23 -07:00
2013-04-15 11:08:37 -07:00
2013-09-04 15:02:56 -07:00
2017-11-06 14:24:24 +09:00
2016-10-11 10:04:31 -07:00
2015-10-16 15:27:52 -07:00
2016-06-28 08:20:52 -07:00
2016-06-28 08:20:52 -07:00
2017-01-23 18:33:17 -08:00
2017-12-06 09:23:40 -08:00
2017-12-22 13:30:52 -08:00
2017-12-08 09:52:42 -08:00
2013-07-18 16:23:46 -07:00
2017-07-28 14:41:32 -07:00
2014-10-13 13:35:18 -07:00
2017-11-22 12:29:30 +09:00
2017-07-13 16:14:54 -07:00
2017-10-24 09:57:54 +09:00
2016-06-08 12:04:37 -07:00
2018-02-15 15:18:14 -08:00
2018-03-06 14:54:02 -08:00
2017-04-16 18:19:18 -07:00
2017-11-22 12:24:47 +09:00
2014-11-11 14:47:04 -08:00
2016-08-11 14:35:42 -07:00
2018-02-09 13:10:12 -08:00
2017-04-27 08:09:25 +09:00
2016-06-08 12:04:37 -07:00
2015-09-14 12:50:33 -07:00
2017-08-23 12:17:22 -07:00
2017-06-27 10:35:49 -07:00
2017-11-22 14:11:57 +09:00
2017-10-28 10:18:40 +09:00
2016-06-28 08:36:45 -07:00
2017-08-23 12:17:22 -07:00
2018-03-06 00:18:00 -08:00
2017-08-22 10:29:03 -07:00
2016-06-08 12:04:37 -07:00
2017-09-12 11:05:58 +09:00
2016-12-16 09:39:10 -08:00
2016-06-28 08:36:45 -07:00
2015-10-16 15:27:52 -07:00
2016-06-28 08:36:45 -07:00
2018-01-30 13:12:18 -08:00
2014-10-13 13:35:18 -07:00
2018-03-27 19:09:13 -07:00
2018-03-22 14:24:23 -07:00
2015-10-16 15:27:52 -07:00
2018-01-16 11:34:36 -08:00
2017-08-23 12:17:22 -07:00
2018-02-07 12:46:48 -08:00
2017-04-20 22:05:37 -07:00
2016-08-24 12:31:05 -07:00
2018-03-22 14:24:21 -07:00
2015-07-21 14:08:35 -07:00
2015-10-22 10:16:12 -07:00
2016-05-31 10:17:20 -07:00
2016-07-06 13:06:36 -07:00
2015-05-17 11:24:57 -07:00
2017-01-17 16:10:22 -08:00
2016-06-28 08:36:45 -07:00
2013-08-13 09:01:54 -07:00
2018-03-14 12:01:05 -07:00
2018-03-15 15:00:46 -07:00
2018-03-21 11:30:15 -07:00
2017-06-18 22:16:36 -07:00
2017-08-23 12:17:22 -07:00
2017-05-02 10:58:06 +09:00
2017-02-15 12:54:20 -08:00
2017-02-28 11:34:38 -08:00
2017-01-07 14:03:40 -08:00
2017-02-09 15:14:01 -08:00
2017-12-27 11:16:21 -08:00
2018-02-02 10:56:46 -08:00
2017-01-18 15:12:18 -08:00
2017-04-26 15:39:07 +09:00
2016-11-14 11:23:07 -08:00
2017-12-05 09:46:05 -08:00
2017-12-06 09:23:43 -08:00
2016-08-13 19:36:44 -07:00
2018-03-22 14:24:26 -07:00
2017-02-09 15:14:01 -08:00
2017-08-23 12:17:22 -07:00
2017-04-20 22:05:37 -07:00
2017-05-15 13:04:54 +09:00
2017-12-27 11:16:25 -08:00
2017-10-18 14:19:12 +09:00
2014-04-17 11:14:57 -07:00
2017-07-17 15:11:26 -07:00
2017-12-12 16:49:40 -08:00
2014-04-17 11:14:58 -07:00
2015-04-20 11:05:50 -07:00
2016-05-10 11:15:04 -07:00
2018-01-25 11:24:32 -08:00
2017-12-12 10:51:38 -08:00
2018-02-16 11:22:43 -08:00
2018-03-21 11:30:13 -07:00
2018-03-08 12:36:29 -08:00
2016-07-06 13:06:34 -07:00
2017-10-18 05:59:34 +09:00
2017-12-05 10:20:51 -08:00
2018-02-13 13:39:03 -08:00
2017-12-04 08:25:06 -08:00
2018-01-09 14:32:54 -08:00
2017-01-23 10:56:53 -08:00
2016-11-14 11:23:07 -08:00
2015-10-22 10:16:12 -07:00
2016-02-01 13:07:41 -08:00
2017-12-06 07:32:40 -08:00