contrib/git-credential-gnome-keyring.c: use gnome helpers in keyring_object()
authorBrandon Casey <redacted>
Mon, 23 Sep 2013 18:49:10 +0000 (11:49 -0700)
committerJunio C Hamano <redacted>
Wed, 16 Oct 2013 16:35:31 +0000 (09:35 -0700)
commit8bb7a54c57d5bd8113886fc04be8d22d10337eef
tree56205a5f36f8867465c2eb876aebe58f5782887f
parentff55c47d0f737cd33594e864a0e5a5e1d32fdd13
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
git clone https://git.99rst.org/PROJECT