zeripath
aa2e473991
Set no-tags in git fetch on compare ( #20893 )
...
* Set no-tags in git fetch on compare
In the compare endpoint the git fetch is restricted to a certain branch however,
this does not completely prevent tag acquisition/pollution as git fetch will collect
any tags on that branch.
This causes pollution of the tag namespace and could cause confusion by users.
This PR adds `--no-tags` to the `git fetch` call.
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update modules/git/repo_compare.go
* Update modules/git/repo_compare.go
Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-08-23 14:12:43 -04:00
..
2022-03-31 14:30:40 +02:00
2022-06-20 12:02:49 +02:00
2022-05-08 01:05:52 +08:00
2022-06-11 21:50:14 +08:00
2022-06-20 12:02:49 +02:00
2021-09-22 13:38:34 +08:00
2022-06-03 15:36:18 +01:00
2022-05-02 23:22:45 +08:00
2022-06-20 12:02:49 +02:00
2022-03-30 03:13:41 +08:00
2021-10-24 22:12:43 +01:00
2022-05-02 23:22:45 +08:00
2022-04-01 10:55:30 +08:00
2022-08-06 16:13:11 +03:00
2022-05-02 23:22:45 +08:00
2022-07-25 16:39:42 +01:00
2022-07-25 16:39:42 +01:00
2022-07-25 16:39:42 +01:00
2020-12-17 22:00:47 +08:00
2021-05-12 01:11:42 -04:00
2022-05-03 21:46:28 +02:00
2022-07-25 16:39:42 +01:00
2021-12-20 02:15:49 +00:00
2022-06-20 12:02:49 +02:00
2021-06-23 17:08:26 -04:00
2022-08-09 11:22:24 +08:00
2022-08-09 11:22:24 +08:00
2022-01-20 18:46:10 +01:00
2022-07-25 16:39:42 +01:00
2022-07-25 16:39:42 +01:00
2022-07-25 16:39:42 +01:00
2022-07-25 16:39:42 +01:00
2022-07-25 16:39:42 +01:00
2022-07-25 16:39:42 +01:00
2022-03-30 03:13:41 +08:00
2020-12-17 22:00:47 +08:00
2022-05-02 23:22:45 +08:00
2022-05-02 23:22:45 +08:00
2022-05-02 23:22:45 +08:00
2022-05-02 23:22:45 +08:00
2019-03-27 17:33:00 +08:00
2021-12-02 15:28:08 +08:00
2022-06-11 21:50:14 +08:00
2022-04-01 10:55:30 +08:00
2022-01-20 18:46:10 +01:00
2022-06-20 12:02:49 +02:00
2022-07-25 16:39:42 +01:00
2022-07-25 16:39:42 +01:00
2022-03-30 03:13:41 +08:00
2022-04-01 10:55:30 +08:00
2022-05-02 23:22:45 +08:00
2022-05-02 23:22:45 +08:00
2022-03-30 03:13:41 +08:00
2020-12-17 22:00:47 +08:00
2022-05-08 01:05:52 +08:00
2022-06-20 12:02:49 +02:00
2022-05-08 01:05:52 +08:00
2022-07-16 08:10:02 +08:00
2022-05-02 23:22:45 +08:00
2022-05-02 23:22:45 +08:00
2022-03-30 03:13:41 +08:00
2022-08-14 21:22:13 -04:00
2022-05-02 23:22:45 +08:00
2022-04-01 10:55:30 +08:00
2022-06-20 12:02:49 +02:00
2022-08-23 14:12:43 -04:00
2022-04-01 10:55:30 +08:00
2019-03-27 17:33:00 +08:00
2022-06-20 12:02:49 +02:00
2022-06-16 23:47:44 +08:00
2022-06-16 23:47:44 +08:00
2022-05-02 23:22:45 +08:00
2022-01-20 18:46:10 +01:00
2022-04-01 10:55:30 +08:00
2022-05-02 23:22:45 +08:00
2022-05-02 23:22:45 +08:00
2022-03-30 03:13:41 +08:00
2020-12-17 22:00:47 +08:00
2022-03-30 03:13:41 +08:00
2022-04-01 10:55:30 +08:00
2022-05-02 23:22:45 +08:00
2022-06-20 12:02:49 +02:00
2022-03-31 14:30:40 +02:00
2022-04-01 10:55:30 +08:00
2022-03-30 03:13:41 +08:00
2022-05-02 23:22:45 +08:00
2022-05-02 23:22:45 +08:00
2022-06-16 23:47:44 +08:00
2022-04-01 10:55:30 +08:00
2022-05-02 23:22:45 +08:00
2022-06-20 12:02:49 +02:00
2020-12-17 22:00:47 +08:00
2022-05-02 23:22:45 +08:00
2022-06-20 12:02:49 +02:00
2020-12-17 22:00:47 +08:00
2022-01-20 18:46:10 +01:00
2021-10-17 20:47:12 +01:00
2022-01-12 20:37:46 +00:00
2022-01-20 18:46:10 +01:00
2022-05-02 23:22:45 +08:00
2022-05-02 23:22:45 +08:00
2020-12-17 22:00:47 +08:00
2022-05-02 23:22:45 +08:00
2022-01-20 18:46:10 +01:00
2022-05-02 23:22:45 +08:00
2022-05-02 23:22:45 +08:00
2021-05-10 03:27:03 +02:00
2022-05-02 23:22:45 +08:00
2022-05-02 23:22:45 +08:00
2022-04-01 10:55:30 +08:00
2020-05-14 18:55:43 -04:00
2022-06-20 12:02:49 +02:00