diff options
author | Brandon Casey <drafnel@gmail.com> | 2013-09-23 11:49:10 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-10-16 09:35:31 -0700 |
commit | 8bb7a54c57d5bd8113886fc04be8d22d10337eef (patch) | |
tree | 56205a5f36f8867465c2eb876aebe58f5782887f /compat/strlcpy.c | |
parent | contrib/git-credential-gnome-keyring.c: set Gnome application name (diff) | |
download | tgif-8bb7a54c57d5bd8113886fc04be8d22d10337eef.tar.xz |
contrib/git-credential-gnome-keyring.c: use gnome helpers in keyring_object()
Rather than carefully allocating memory for sprintf() to write into,
let's make use of the glib helper function g_strdup_printf(), which
makes things a lot easier and less error-prone.
Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/strlcpy.c')
0 files changed, 0 insertions, 0 deletions