Skip to content

Commit eb8144a

Browse files
committed
update gix progress to inform about remote.<name>.tagOpt
1 parent b726b7c commit eb8144a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

git-repository/tests/remote/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ pub(crate) fn into_daemon_remote_if_async<'repo, 'a>(
5151
_daemon.expect("daemon is available in async mode").url,
5252
_repo_name.into().unwrap_or_default()
5353
))
54-
.expect("valid url to create remote at");
54+
.expect("valid url to create remote at")
55+
.with_fetch_tags(remote.fetch_tags());
5556
for direction in [git::remote::Direction::Fetch, git::remote::Direction::Push] {
5657
new_remote
5758
.replace_refspecs(

src/plumbing/progress.rs

+7
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,13 @@ static GIT_CONFIG: &[Record] = &[
729729
note: None
730730
}
731731
},
732+
Record {
733+
config: "remote.<name>.tagOpt",
734+
usage: InModule {
735+
name: "repository::remote",
736+
deviation: None
737+
}
738+
},
732739
Record {
733740
config: "gitoxide.userAgent",
734741
usage: InModule {

0 commit comments

Comments
 (0)