Code

revert: do not pass non-literal string as format to git_path()
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 23 Nov 2011 12:45:36 +0000 (19:45 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Nov 2011 17:29:53 +0000 (09:29 -0800)
commitb4524d343b085b63c68cf5e0a70007c19a048197
tree48174482019a129d75c7c10bff717e5cb74e969d
parent017d1e134545db0d162908f3538077eaa1f34fb6
revert: do not pass non-literal string as format to git_path()

This fixes the following warning.

    CC builtin/revert.o
builtin/revert.c: In function ‘write_cherry_pick_head’:
builtin/revert.c:311: warning: format not a string literal and no format arguments

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/revert.c