mirror of
https://github.com/git/git.git
synced 2025-04-11 10:36:29 +00:00
Merge branch 'maint'
* maint: builtin/init-db.c: eliminate -Wformat warning on Solaris
This commit is contained in:
commit
3daff7c319
@ -351,7 +351,7 @@ static void separate_git_dir(const char *git_dir)
|
||||
else if (S_ISDIR(st.st_mode))
|
||||
src = git_link;
|
||||
else
|
||||
die(_("unable to handle file type %d"), st.st_mode);
|
||||
die(_("unable to handle file type %d"), (int)st.st_mode);
|
||||
|
||||
if (rename(src, git_dir))
|
||||
die_errno(_("unable to move %s to %s"), src, git_dir);
|
||||
|
Loading…
x
Reference in New Issue
Block a user