File tree 5 files changed +3
-8
lines changed
5 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ mod with_io {
94
94
/// Only useful for V2
95
95
pub ( crate ) fn initial_arguments ( & self , features : & [ Feature ] ) -> Vec < BString > {
96
96
match self {
97
- Command :: Fetch => [ "thin-pack" , "include-tag" , " ofs-delta"]
97
+ Command :: Fetch => [ "thin-pack" , "ofs-delta" ]
98
98
. iter ( )
99
99
. map ( |s| s. as_bytes ( ) . as_bstr ( ) . to_owned ( ) )
100
100
. chain (
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ mod v2 {
88
88
git_transport:: Protocol :: V2 ,
89
89
& capabilities( "fetch" , "shallow filter sideband-all packfile-uris" )
90
90
) ) ,
91
- [ "thin-pack" , "include-tag" , " ofs-delta", "sideband-all" ]
91
+ [ "thin-pack" , "ofs-delta" , "sideband-all" ]
92
92
. iter( )
93
93
. map( |s| s. as_bytes( ) . as_bstr( ) . to_owned( ) )
94
94
. collect:: <Vec <_>>( ) ,
Original file line number Diff line number Diff line change @@ -260,7 +260,6 @@ mod arguments {
260
260
out. as_bstr( ) ,
261
261
b"0012command=fetch
262
262
0001000ethin-pack
263
- 0010include-tag
264
263
000eofs-delta
265
264
000ddeepen 1
266
265
0014deepen-relative
@@ -294,7 +293,6 @@ mod arguments {
294
293
out. as_bstr( ) ,
295
294
b"0012command=fetch
296
295
0001000ethin-pack
297
- 0010include-tag
298
296
000eofs-delta
299
297
000ddeepen 1
300
298
0017deepen-since 12345
@@ -304,7 +302,6 @@ mod arguments {
304
302
0032have 0000000000000000000000000000000000000000
305
303
00000012command=fetch
306
304
0001000ethin-pack
307
- 0010include-tag
308
305
000eofs-delta
309
306
000ddeepen 1
310
307
0017deepen-since 12345
@@ -332,7 +329,6 @@ mod arguments {
332
329
out. as_bstr( ) ,
333
330
b"0012command=fetch
334
331
0001000ethin-pack
335
- 0010include-tag
336
332
000eofs-delta
337
333
001dwant-ref refs/heads/main
338
334
0009done
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ pub enum Ref {
16
16
} ,
17
17
/// A ref pointing to a commit object
18
18
Direct {
19
- /// The name at which the ref is located, like `refs/heads/main`.
19
+ /// The name at which the ref is located, like `refs/heads/main` or `refs/tags/v1.0` for lightweight tags .
20
20
full_ref_name : BString ,
21
21
/// The hash of the object the ref points to.
22
22
object : git_hash:: ObjectId ,
Original file line number Diff line number Diff line change @@ -185,7 +185,6 @@ async fn ref_in_want() -> crate::Result {
185
185
"002fgit-upload-pack does/not/matter\0 \0 version=2\0 0012command=fetch
186
186
0014agent={}
187
187
0001000ethin-pack
188
- 0010include-tag
189
188
000eofs-delta
190
189
001dwant-ref refs/heads/main
191
190
0009done
You can’t perform that action at this time.
0 commit comments