summaryrefslogtreecommitdiffstats
path: root/subsurface-core/save-git.c
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/save-git.c')
-rw-r--r--subsurface-core/save-git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-core/save-git.c b/subsurface-core/save-git.c
index 9bdf9dfd0..310882606 100644
--- a/subsurface-core/save-git.c
+++ b/subsurface-core/save-git.c
@@ -1047,7 +1047,7 @@ static void create_commit_message(struct membuffer *msg)
} while ((dc = dc->next) != NULL);
put_format(msg, "\n");
}
- put_format(msg, "Created by subsurface %s\n", subsurface_version());
+ put_format(msg, "Created by subsurface %s\n", subsurface_user_agent());
}
static int create_new_commit(git_repository *repo, const char *remote, const char *branch, git_oid *tree_id)