git_path 899 bisect.c const char *filename = git_path("BISECT_TERMS"); git_path 2341 builtin/am.c am_state_init(&state, git_path("rebase-apply")); git_path 779 builtin/branch.c if (write_file_gently(git_path(edit_description), "%s", buf.buf)) { git_path 785 builtin/branch.c if (launch_editor(git_path(edit_description), &buf, NULL)) { git_path 807 builtin/clone.c if (unlink(git_path("objects/info/alternates")) && errno != ENOENT) git_path 173 builtin/commit.c if (file_exists(git_path(SEQ_DIR))) git_path 465 builtin/commit.c git_path("next-index-%"PRIuMAX, git_path 763 builtin/commit.c s->fp = fopen(git_path(commit_editmsg), "w"); git_path 765 builtin/commit.c die_errno(_("could not open '%s'"), git_path(commit_editmsg)); git_path 812 builtin/commit.c git_path(whence == FROM_MERGE git_path 942 builtin/commit.c git_path(commit_editmsg), hook_arg1, hook_arg2, NULL)) git_path 950 builtin/commit.c if (launch_editor(git_path(commit_editmsg), NULL, env)) { git_path 958 builtin/commit.c run_commit_hook(use_editor, index_file, "commit-msg", git_path(commit_editmsg), NULL)) { git_path 1718 builtin/commit.c if (strbuf_read_file(&sb, git_path(commit_editmsg), 0) < 0) { git_path 573 builtin/config.c given_config_source.file : git_path("config")); git_path 272 builtin/gc.c ret = strbuf_read_file(&sb, git_path("gc.log"), 0); git_path 280 builtin/gc.c git_path("gc.log"), sb.buf); git_path 387 builtin/gc.c git_path("gc.log"), git_path 221 builtin/init-db.c safe_create_dir(git_path("refs"), 1); git_path 222 builtin/init-db.c safe_create_dir(git_path("refs/heads"), 1); git_path 223 builtin/init-db.c safe_create_dir(git_path("refs/tags"), 1); git_path 247 builtin/init-db.c adjust_shared_perm(git_path("refs")); git_path 248 builtin/init-db.c adjust_shared_perm(git_path("refs/heads")); git_path 249 builtin/init-db.c adjust_shared_perm(git_path("refs/tags")); git_path 861 builtin/notes.c git_path(NOTES_MERGE_WORKTREE)); git_path 374 builtin/pull.c const char *filename = git_path("FETCH_HEAD"); git_path 820 builtin/pull.c if (file_exists(git_path("MERGE_HEAD"))) git_path 543 builtin/remote.c return unlink(git_path("%s", refname)); git_path 603 builtin/remote.c unlink_or_warn(git_path("remotes/%s", remote->name)); git_path 605 builtin/remote.c unlink_or_warn(git_path("branches/%s", remote->name)); git_path 542 builtin/rev-parse.c puts(git_path("%s", argv[i + 1])); git_path 802 builtin/rev-parse.c puts(git_path("sharedindex.%s", sha1_to_hex(sha1))); git_path 35 builtin/worktree.c if (!is_directory(git_path("worktrees/%s", id))) { git_path 39 builtin/worktree.c if (file_exists(git_path("worktrees/%s/locked", id))) git_path 41 builtin/worktree.c if (stat(git_path("worktrees/%s/gitdir", id), &st)) { git_path 45 builtin/worktree.c fd = open(git_path("worktrees/%s/gitdir", id), O_RDONLY); git_path 70 builtin/worktree.c if (!stat(git_path("worktrees/%s/link", id), &st_link) && git_path 88 builtin/worktree.c DIR *dir = opendir(git_path("worktrees")); git_path 104 builtin/worktree.c strbuf_addstr(&path, git_path("worktrees/%s", d->d_name)); git_path 113 builtin/worktree.c rmdir(git_path("worktrees")); git_path 215 builtin/worktree.c git_path("worktrees/%.*s", (int)(path + len - name), name)); git_path 729 cache.h extern const char *git_path(const char *fmt, ...) __attribute__((format (printf, 1, 2))); git_path 3148 fast-import.c return xstrdup(git_path("info/fast-import/%s", path)); git_path 269 notes-merge.c if (file_exists(git_path(NOTES_MERGE_WORKTREE)) && git_path 270 notes-merge.c !is_empty_dir(git_path(NOTES_MERGE_WORKTREE))) { git_path 277 notes-merge.c "notes merge.", git_path("NOTES_MERGE_*")); git_path 280 notes-merge.c "(%s exists).", git_path("NOTES_MERGE_*")); git_path 283 notes-merge.c if (safe_create_leading_directories_const(git_path( git_path 286 notes-merge.c git_path(NOTES_MERGE_WORKTREE)); git_path 288 notes-merge.c } else if (!file_exists(git_path(NOTES_MERGE_WORKTREE))) git_path 291 notes-merge.c git_path(NOTES_MERGE_WORKTREE)); git_path 680 notes-merge.c strbuf_addstr(&path, git_path(NOTES_MERGE_WORKTREE)); git_path 745 notes-merge.c strbuf_addstr(&buf, git_path(NOTES_MERGE_WORKTREE)); git_path 1637 read-cache.c git_path("sharedindex.%s", git_path 1642 read-cache.c git_path("sharedindex.%s", git_path 2135 read-cache.c fd = mks_tempfile(&temporary_sharedindex, git_path("sharedindex_XXXXXX")); git_path 2147 read-cache.c git_path("sharedindex.%s", sha1_to_hex(si->base->sha1))); git_path 2571 refs.c &packlock, git_path("packed-refs"), git_path 2728 refs.c if (rmdir(git_path("%s", name))) git_path 2813 refs.c unable_to_lock_message(git_path("packed-refs"), errno, err); git_path 2894 refs.c filename = git_path("%s", pseudoref); git_path 2932 refs.c filename = git_path("%s", pseudoref); git_path 3051 refs.c if (rename(git_path(TMP_RENAMED_LOG), path.buf)) { git_path 3113 refs.c int log = !lstat(git_path("logs/%s", oldrefname), &loginfo); git_path 3131 refs.c if (log && rename(git_path("logs/%s", oldrefname), git_path(TMP_RENAMED_LOG))) git_path 3200 refs.c if (logmoved && rename(git_path("logs/%s", newrefname), git_path("logs/%s", oldrefname))) git_path 3204 refs.c rename(git_path(TMP_RENAMED_LOG), git_path("logs/%s", oldrefname))) git_path 3682 refs.c return !lstat(git_path("logs/%s", refname), &st) && git_path 3688 refs.c return remove_path(git_path("logs/%s", refname)); git_path 3737 refs.c logfp = fopen(git_path("logs/%s", refname), "r"); git_path 3838 refs.c logfp = fopen(git_path("logs/%s", refname), "r"); git_path 3855 refs.c DIR *d = opendir(git_path("logs/%s", name->buf)); git_path 3871 refs.c if (stat(git_path("logs/%s", name->buf), &st) < 0) { git_path 4271 refs.c unlink_or_warn(git_path("logs/%s", ref_to_delete->string)); git_path 253 remote.c FILE *f = fopen(git_path("remotes/%s", remote->name), "r"); git_path 303 remote.c FILE *f = fopen(git_path("branches/%.*s", n, remote->name), "r"); git_path 25 rerere.c return git_path("rr-cache/%s/%s", hex, file); git_path 525 rerere.c if (mkdir_in_gitdir(git_path("rr-cache/%s", hex))) git_path 696 rerere.c rmdir(git_path("rr-cache/%s", name)); git_path 715 rerere.c dir = opendir(git_path("rr-cache")); git_path 115 sequencer.c strbuf_addf(&seq_dir, "%s", git_path(SEQ_DIR)); git_path 282 server-info.c unlink_or_warn(git_path("info/rev-cache")); git_path 220 shallow.c fd = xmks_tempfile(&temporary_shallow, git_path("shallow_XXXXXX")); git_path 214 transport.c strbuf_addstr(&temp_dir, git_path("rsync-refs-XXXXXX")); git_path 360 transport.c strbuf_addstr(&temp_dir, git_path("rsync-refs-XXXXXX")); git_path 986 wt-status.c FILE *fp = fopen(git_path("%s", filename), "r"); git_path 1074 wt-status.c FILE *f = fopen(git_path("%s", fname), "r"); git_path 1078 wt-status.c git_path("%s", fname)); git_path 1119 wt-status.c _(" (see more in file %s)"), git_path("rebase-merge/done")); git_path 1273 wt-status.c if (strbuf_read_file(&sb, git_path("%s", path), 0) <= 0) git_path 1374 wt-status.c } else if (!stat(git_path("rebase-apply"), &st)) { git_path 1375 wt-status.c if (!stat(git_path("rebase-apply/applying"), &st)) { git_path 1377 wt-status.c if (!stat(git_path("rebase-apply/patch"), &st) && !st.st_size) git_path 1384 wt-status.c } else if (!stat(git_path("rebase-merge"), &st)) { git_path 1385 wt-status.c if (!stat(git_path("rebase-merge/interactive"), &st)) git_path 1396 wt-status.c if (!stat(git_path("BISECT_LOG"), &st)) {