diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-12-20 07:59:50 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-20 07:59:50 -0800 |
commit | 2882a1ef412643ae29bf4dca12195063764393ff (patch) | |
tree | 3be133bc03d231755e22923fe611ca42e2ddabc9 /subsurface-core/save-git.c | |
parent | c819d40c19e4983f0deac4dff671bb25aabfc116 (diff) | |
download | subsurface-2882a1ef412643ae29bf4dca12195063764393ff.tar.gz |
Remove the non-canonical Subusrface version
It no longer makes sense to lie about the version. If you are running a product
build, then the canonical version is the same version as the plain version used
to be. And in either case it makes much more sense to simply log the full
version information.
We used to have the differently styled versions for different OSs, but I don't
think this is needed anymore. Let's hope this doesn't go down as one of these
"famous last words" moments...
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/save-git.c')
-rw-r--r-- | subsurface-core/save-git.c | 2 |
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) |