]> git.ipfire.org Git - thirdparty/git.git/blobdiff - worktree.c
Merge branch 'jk/apply-binary-hunk-parsing-fix'
[thirdparty/git.git] / worktree.c
index 237517baee675631d50020ba0d75853881010f6d..092a4f92ad250e6ab474b6528957cfcf18bb8fda 100644 (file)
@@ -265,6 +265,7 @@ const char *worktree_prune_reason(struct worktree *wt, timestamp_t expire)
 }
 
 /* convenient wrapper to deal with NULL strbuf */
+__attribute__((format (printf, 2, 3)))
 static void strbuf_addf_gently(struct strbuf *buf, const char *fmt, ...)
 {
        va_list params;