Commit f75d6ce
fetch-pack: introduce
When `fetch_pack_config()` is invoked, fetch-pack configuration is
parsed from the config. As part of this operation, fsck message severity
configuration is assigned to the `fsck_msg_types` global variable. This
is optionally used to configure the downstream git-index-pack(1) when
the `--strict` option is specified.
In a subsequent commit, the same fetch-pack fsck message configuration
needs to be reused. To facilitate this, introduce `fetch_pack_options`
which gets written to during the `fetch_pack_config_cb()` instead of
directly modifying the `fsck_msg_types` global.
Signed-off-by: Justin Tobler <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>fetch_pack_options
1 parent 4c24750 commit f75d6ce
2 files changed
+17
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | | - | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
1017 | 1017 | | |
1018 | 1018 | | |
1019 | 1019 | | |
1020 | | - | |
| 1020 | + | |
1021 | 1021 | | |
1022 | 1022 | | |
1023 | 1023 | | |
| |||
1860 | 1860 | | |
1861 | 1861 | | |
1862 | 1862 | | |
| 1863 | + | |
1863 | 1864 | | |
1864 | 1865 | | |
1865 | 1866 | | |
1866 | 1867 | | |
1867 | 1868 | | |
1868 | 1869 | | |
1869 | 1870 | | |
1870 | | - | |
1871 | | - | |
| 1871 | + | |
| 1872 | + | |
1872 | 1873 | | |
1873 | 1874 | | |
1874 | 1875 | | |
| |||
1877 | 1878 | | |
1878 | 1879 | | |
1879 | 1880 | | |
1880 | | - | |
1881 | | - | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
1882 | 1884 | | |
1883 | 1885 | | |
1884 | 1886 | | |
| |||
1904 | 1906 | | |
1905 | 1907 | | |
1906 | 1908 | | |
1907 | | - | |
| 1909 | + | |
1908 | 1910 | | |
1909 | 1911 | | |
1910 | 1912 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
109 | 117 | | |
0 commit comments