git save: remove redundant 'subsurface' from commit message

The user agent string already contains the (correctly capitalized) program name.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-10-26 18:35:14 +02:00
parent a0c40833a4
commit bd54e94606

View file

@ -1096,7 +1096,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_user_agent());
put_format(msg, "Created by %s\n", subsurface_user_agent());
}
static int create_new_commit(git_repository *repo, const char *remote, const char *branch, git_oid *tree_id)