aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2024-12-17 12:19:04 +0000
committerGerrit Code Review <support@gerrithub.io>2024-12-17 12:19:04 +0000
commit7dcde2571cfe4bb0c7ae1adcf5f2bc2e03d71ddb (patch)
treea9fc55b659de9360f7f6a7e20f49e5abe90d3c21 /org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java
parent320a95e37d3f791b0d16ff7753bc1d7b68b0681f (diff)
parent4c982d017de302878bead001e7ed040e00ec6322 (diff)
downloadjgit-7dcde2571cfe4bb0c7ae1adcf5f2bc2e03d71ddb.tar.gz
jgit-7dcde2571cfe4bb0c7ae1adcf5f2bc2e03d71ddb.zip
Merge "Merge branch 'stable-7.1'"
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java
index 6013832cac..d972067e40 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java
@@ -1394,6 +1394,7 @@ public class UploadPack implements Closeable {
if (transferConfig.isAdvertiseObjectInfo()) {
caps.add(COMMAND_OBJECT_INFO);
}
+ caps.add(OPTION_AGENT + "=" + UserAgent.get());
return caps;
}