stat               10 abspath.c      	struct stat st;
stat               11 abspath.c      	return (!stat(path, &st) && S_ISDIR(st.st_mode));
stat               48 abspath.c      	struct stat st;
stat              659 bisect.c       	struct stat st;
stat              664 bisect.c       	if (stat(filename, &st) || !S_ISREG(st.st_mode))
stat              837 bisect.c       	struct stat st;
stat              844 bisect.c       	if (!stat(filename, &st) && S_ISREG(st.st_mode))
stat              187 builtin/add.c  	struct stat st;
stat              214 builtin/add.c  	if (stat(file, &st))
stat               36 builtin/am.c   	struct stat st;
stat               38 builtin/am.c   	if (stat(filename, &st) < 0) {
stat              239 builtin/am.c   	struct stat st;
stat             2139 builtin/apply.c static int read_old_data(struct stat *st, const char *path, struct strbuf *buf)
stat             3181 builtin/apply.c 			   struct cache_entry *ce, struct stat *st)
stat             3215 builtin/apply.c static int verify_index_match(const struct cache_entry *ce, struct stat *st)
stat             3229 builtin/apply.c 			     struct stat *st,
stat             3260 builtin/apply.c 			 struct patch *patch, struct stat *st,
stat             3342 builtin/apply.c 	struct stat st;
stat             3374 builtin/apply.c 			struct stat *st, const struct cache_entry *ce)
stat             3444 builtin/apply.c static int apply_data(struct patch *patch, struct stat *st, const struct cache_entry *ce)
stat             3479 builtin/apply.c static int check_preimage(struct patch *patch, struct cache_entry **ce, struct stat *st)
stat             3554 builtin/apply.c 	struct stat nst;
stat             3660 builtin/apply.c 			struct stat st;
stat             3704 builtin/apply.c 	struct stat st;
stat             4063 builtin/apply.c 	struct stat st;
stat             4102 builtin/apply.c 		struct stat st;
stat             4153 builtin/apply.c 		struct stat st;
stat             2323 builtin/blame.c 		struct stat st;
stat             2329 builtin/blame.c 			if (stat(contents_from, &st) < 0)
stat              423 builtin/branch.c static void fill_tracking_info(struct strbuf *stat, const char *branch_name,
stat              452 builtin/branch.c 			strbuf_addf(stat, _("[%s: gone]"), fancy.buf);
stat              457 builtin/branch.c 			strbuf_addf(stat, _("[%s]"), fancy.buf);
stat              462 builtin/branch.c 			strbuf_addf(stat, _("[%s: behind %d]"), fancy.buf, theirs);
stat              464 builtin/branch.c 			strbuf_addf(stat, _("[behind %d]"), theirs);
stat              468 builtin/branch.c 			strbuf_addf(stat, _("[%s: ahead %d]"), fancy.buf, ours);
stat              470 builtin/branch.c 			strbuf_addf(stat, _("[ahead %d]"), ours);
stat              473 builtin/branch.c 			strbuf_addf(stat, _("[%s: ahead %d, behind %d]"),
stat              476 builtin/branch.c 			strbuf_addf(stat, _("[ahead %d, behind %d]"),
stat              481 builtin/branch.c 		strbuf_addch(stat, ' ');
stat              488 builtin/branch.c 	struct strbuf subject = STRBUF_INIT, stat = STRBUF_INIT;
stat              498 builtin/branch.c 		fill_tracking_info(&stat, item->name, verbose > 1);
stat              502 builtin/branch.c 		stat.buf, sub);
stat              503 builtin/branch.c 	strbuf_release(&stat);
stat              214 builtin/clean.c 		struct stat st;
stat              958 builtin/clean.c 		struct stat st;
stat              985 builtin/clean.c 		struct stat st;
stat              107 builtin/clone.c 	struct stat st;
stat              113 builtin/clone.c 		if (stat(path->buf, &st))
stat              140 builtin/clone.c 		if (!stat(path->buf, &st) && S_ISREG(st.st_mode)) {
stat              363 builtin/clone.c 	struct stat buf;
stat              374 builtin/clone.c 		else if (stat(dest->buf, &buf))
stat              390 builtin/clone.c 		if (stat(src->buf, &buf)) {
stat              814 builtin/clone.c 	struct stat buf;
stat              883 builtin/clone.c 	dest_exists = !stat(dir, &buf);
stat              894 builtin/clone.c 		if (work_tree && !stat(work_tree, &buf))
stat              268 builtin/commit.c 		struct stat st;
stat              662 builtin/commit.c 	struct stat statbuf;
stat              727 builtin/commit.c 	} else if (!stat(git_path_merge_msg(), &statbuf)) {
stat              731 builtin/commit.c 	} else if (!stat(git_path_squash_msg(), &statbuf)) {
stat             1631 builtin/commit.c 	struct stat statbuf;
stat             1700 builtin/commit.c 		if (!stat(git_path_merge_mode(), &statbuf)) {
stat               20 builtin/count-objects.c 	struct stat st;
stat               21 builtin/count-objects.c 	if (!stat(path, &st))
stat               35 builtin/count-objects.c 	struct stat st;
stat               74 builtin/diff.c 	struct stat st;
stat               62 builtin/gc.c   	struct stat st;
stat              209 builtin/gc.c   	struct stat st;
stat               34 builtin/hash-object.c 	struct stat st;
stat              384 builtin/help.c 	struct stat st;
stat              392 builtin/help.c 		if (stat(mkpath("%s/git.html", html_path), &st)
stat             1114 builtin/index-pack.c 	struct stat st;
stat               54 builtin/init-db.c 		struct stat st_git, st_template;
stat              205 builtin/init-db.c 	struct stat st1;
stat              274 builtin/init-db.c 		struct stat st2;
stat              341 builtin/init-db.c 		struct stat st;
stat              343 builtin/init-db.c 		if (!exist_ok && !stat(git_dir, &st))
stat              346 builtin/init-db.c 		if (!exist_ok && !stat(real_git_dir, &st))
stat              365 builtin/init-db.c 	struct stat st;
stat              367 builtin/init-db.c 	if (!stat(git_link, &st)) {
stat              251 builtin/ls-files.c 			struct stat st;
stat              291 builtin/mailsplit.c 		struct stat argstat;
stat              305 builtin/mailsplit.c 		if (stat(arg, &argstat) == -1) {
stat              996 builtin/merge.c 	struct stat st_stdin, st_stdout;
stat              117 builtin/mv.c   	struct stat st;
stat              819 builtin/pack-objects.c 			struct stat st;
stat              829 builtin/pack-objects.c 			if (stat(pack_tmp_name, &st) < 0) {
stat               21 builtin/prune.c 	struct stat st;
stat               36 builtin/prune.c 	struct stat st;
stat              352 builtin/repack.c 			struct stat statbuffer;
stat              358 builtin/repack.c 			if (!stat(fname_old, &statbuffer)) {
stat              262 builtin/replace.c 		struct stat st;
stat              128 builtin/rm.c   		struct stat st;
stat               73 builtin/update-index.c static int xstat_mtime_dir(struct stat *st)
stat               75 builtin/update-index.c 	if (stat(mtime_dir.buf, st))
stat              116 builtin/update-index.c 	struct stat st;
stat              252 builtin/update-index.c static int add_one_path(const struct cache_entry *old, const char *path, int len, struct stat *st)
stat              304 builtin/update-index.c static int process_directory(const char *path, int len, struct stat *st)
stat              351 builtin/update-index.c 	struct stat st;
stat               31 builtin/worktree.c 	struct stat st;
stat               41 builtin/worktree.c 	if (stat(git_path("worktrees/%s/gitdir", id), &st)) {
stat               64 builtin/worktree.c 		struct stat st_link;
stat               70 builtin/worktree.c 		if (!stat(git_path("worktrees/%s/link", id), &st_link) &&
stat              190 builtin/worktree.c 	struct stat st;
stat              220 builtin/worktree.c 	while (!stat(sb_repo.buf, &st)) {
stat              544 cache.h        extern int add_to_index(struct index_state *, const char *path, struct stat *, int flags);
stat              562 cache.h        extern int ie_match_stat(const struct index_state *, const struct cache_entry *, struct stat *, unsigned int);
stat              563 cache.h        extern int ie_modified(const struct index_state *, const struct cache_entry *, struct stat *, unsigned int);
stat              567 cache.h        extern int index_fd(unsigned char *sha1, int fd, struct stat *st, enum object_type type, const char *path, unsigned flags);
stat              568 cache.h        extern int index_path(unsigned char *sha1, const char *path, struct stat *st, unsigned flags);
stat              574 cache.h        extern void fill_stat_data(struct stat_data *sd, struct stat *st);
stat              582 cache.h        extern int match_stat_data(const struct stat_data *sd, struct stat *st);
stat              584 cache.h        				const struct stat_data *sd, struct stat *st);
stat              586 cache.h        extern void fill_stat_cache_info(struct cache_entry *ce, struct stat *st);
stat               12 check-racy.c   		struct stat st;
stat             1000 combine-diff.c 		struct stat st;
stat               17 compat/fopen.c 	struct stat st;
stat              445 compat/mingw.c static int do_lstat(int follow, const char *file_name, struct stat *buf)
stat              511 compat/mingw.c static int do_stat_internal(int follow, const char *file_name, struct stat *buf)
stat              538 compat/mingw.c int mingw_lstat(const char *file_name, struct stat *buf)
stat              542 compat/mingw.c int mingw_stat(const char *file_name, struct stat *buf)
stat              547 compat/mingw.c int mingw_fstat(int fd, struct stat *buf)
stat              305 compat/mingw.h #ifdef stat
stat              309 compat/mingw.h int mingw_lstat(const char *file_name, struct stat *buf);
stat              310 compat/mingw.h int mingw_stat(const char *file_name, struct stat *buf);
stat              311 compat/mingw.h int mingw_fstat(int fd, struct stat *buf);
stat             1929 compat/nedmalloc/malloc.c.h     long stat = malloc_global_mutex_status;
stat             1930 compat/nedmalloc/malloc.c.h     if (stat > 0)
stat             1933 compat/nedmalloc/malloc.c.h     if (stat == 0 &&
stat               26 compat/stat.c  int git_stat(const char *path, struct stat *buf)
stat               28 compat/stat.c  	int rc = stat(path, buf);
stat               34 compat/stat.c  int git_fstat(int fd, struct stat *buf)
stat               42 compat/stat.c  int git_lstat(const char *path, struct stat *buf)
stat                8 compat/win32mmap.c 	struct stat st;
stat             2011 config.c       		struct stat st;
stat             2253 config.c       	struct stat st;
stat               20 copy.c         	struct stat st;
stat               22 copy.c         	if (stat(src, &st) < 0)
stat              221 credential-cache--daemon.c 	struct stat st;
stat              225 credential-cache--daemon.c 	if (!stat(dir, &st)) {
stat               29 diff-lib.c     static int check_removed(const struct cache_entry *ce, struct stat *st)
stat               69 diff-lib.c     				     struct stat *st, unsigned ce_option,
stat              118 diff-lib.c     			struct stat st;
stat              203 diff-lib.c     			struct stat st;
stat              269 diff-lib.c     		struct stat st;
stat               45 diff-no-index.c 	struct stat st;
stat             2648 diff.c         	struct stat st;
stat             2764 diff.c         		struct stat st;
stat             2912 diff.c         		struct stat st;
stat             3130 diff.c         			struct stat st;
stat              548 dir.c          		memset(&sha1_stat->stat, 0, sizeof(sha1_stat->stat));
stat              683 dir.c          	struct stat st;
stat              709 dir.c          				fill_stat_data(&sha1_stat->stat, &st);
stat              727 dir.c          			    !match_stat_data_racy(&the_index, &sha1_stat->stat, &st))
stat              737 dir.c          			fill_stat_data(&sha1_stat->stat, &st);
stat             1413 dir.c          	struct stat st;
stat             1565 dir.c          	struct stat st;
stat             1570 dir.c          	if (stat(path->len ? path->buf : ".", &st)) {
stat             2015 dir.c          	struct stat sb;
stat             2129 dir.c          		struct stat st;
stat             2340 dir.c          	stat_data_to_disk(&ouc->info_exclude_stat, &untracked->ss_info_exclude.stat);
stat             2341 dir.c          	stat_data_to_disk(&ouc->excludes_file_stat, &untracked->ss_excludes_file.stat);
stat             2522 dir.c          			   const struct stat_data *stat,
stat             2525 dir.c          	stat_data_from_disk(&sha1_stat->stat, stat);
stat               78 dir.h          	struct stat_data stat;
stat               56 entry.c        		struct stat st;
stat              107 entry.c        static int fstat_output(int fd, const struct checkout *state, struct stat *st)
stat              121 entry.c        				 int *fstat_done, struct stat *statbuf)
stat              148 entry.c        	struct stat st;
stat              227 entry.c        static int check_path(const char *path, int len, struct stat *st, int skiplen)
stat              252 entry.c        	struct stat st;
stat              557 git-compat-util.h #ifdef stat
stat              561 git-compat-util.h extern int git_stat(const char *, struct stat *);
stat              566 git-compat-util.h extern int git_fstat(int, struct stat *);
stat              571 git-compat-util.h extern int git_lstat(const char *, struct stat *);
stat              321 git.c          	struct stat st;
stat             1727 grep.c         	struct stat st;
stat              103 help.c         	struct stat st;
stat              105 help.c         	if (stat(name, &st) || /* stat, not lstat */
stat              171 http-backend.c 	struct stat sb;
stat             1807 http.c         	struct stat st;
stat             1817 http.c         		if (stat(freq->tmpfile, &st) == 0)
stat              177 ll-merge.c     	struct stat st;
stat              635 merge-recursive.c 	struct stat st;
stat              696 notes-merge.c  		struct stat st;
stat              711 notes-merge.c  		if (stat(path.buf, &st))
stat              270 pack-bitmap.c  	struct stat st;
stat               11 path.c         	struct stat st;
stat              283 path.c         	struct stat st;
stat              437 path.c         			struct stat st;
stat              439 path.c         			if (!stat(used_path, &st) &&
stat               48 preload-index.c 		struct stat st;
stat              108 reachable.c    	struct stat st;
stat              114 reachable.c    	if (stat(path, &st) < 0) {
stat               89 read-cache.c   void fill_stat_data(struct stat_data *sd, struct stat *st)
stat              102 read-cache.c   int match_stat_data(const struct stat_data *sd, struct stat *st)
stat              149 read-cache.c   void fill_stat_cache_info(struct cache_entry *ce, struct stat *st)
stat              160 read-cache.c   static int ce_compare_data(const struct cache_entry *ce, struct stat *st)
stat              212 read-cache.c   static int ce_modified_check_fs(const struct cache_entry *ce, struct stat *st)
stat              232 read-cache.c   static int ce_match_stat_basic(const struct cache_entry *ce, struct stat *st)
stat              299 read-cache.c   			 const struct stat_data *sd, struct stat *st)
stat              307 read-cache.c   		  const struct cache_entry *ce, struct stat *st,
stat              364 read-cache.c   		struct stat *st, unsigned int options)
stat              634 read-cache.c   int add_to_index(struct index_state *istate, const char *path, struct stat *st, int flags)
stat              726 read-cache.c   	struct stat st;
stat             1064 read-cache.c   	struct stat st;
stat             1527 read-cache.c   	struct stat st;
stat             1778 read-cache.c   	struct stat st;
stat             1909 read-cache.c   	struct stat st;
stat             1977 read-cache.c   	struct stat st;
stat             2284 read-cache.c   	struct stat st;
stat             2286 read-cache.c   	if (stat(path, &st) < 0)
stat             2295 read-cache.c   	struct stat st;
stat             1378 refs.c         		struct stat st;
stat             1387 refs.c         		if (stat(path.buf, &st) < 0) {
stat             1618 refs.c         		struct stat st;
stat             3112 refs.c         	struct stat loginfo;
stat             3680 refs.c         	struct stat st;
stat             3864 refs.c         		struct stat st;
stat             3871 refs.c         		if (stat(git_path("logs/%s", name->buf), &st) < 0) {
stat               30 rerere.c       	struct stat st;
stat               31 rerere.c       	return !stat(rerere_path(hex, "postimage"), &st);
stat              681 rerere.c       	struct stat st;
stat              682 rerere.c       	return stat(rerere_path(name, "preimage"), &st) ? (time_t) 0 : st.st_mtime;
stat              687 rerere.c       	struct stat st;
stat              688 rerere.c       	return stat(rerere_path(name, "postimage"), &st) ? (time_t) 0 : st.st_mtime;
stat              139 setup.c        	struct stat st;
stat              443 setup.c        	struct stat st;
stat              446 setup.c        	if (stat(path.buf, &st) || st.st_mtime + 24 * 3600 < time(NULL))
stat              467 setup.c        	struct stat st;
stat              471 setup.c        	if (stat(path, &st)) {
stat              740 setup.c        	struct stat buf;
stat              741 setup.c        	if (stat(path, &buf)) {
stat               87 sha1_file.c    		struct stat st;
stat              118 sha1_file.c    		struct stat st;
stat              135 sha1_file.c    		if (!stat(path, &st)) {
stat              141 sha1_file.c    			    !stat(path, &st) && S_ISDIR(st.st_mode))
stat              379 sha1_file.c    	struct stat st;
stat              576 sha1_file.c    	struct stat st;
stat              987 sha1_file.c    	struct stat st;
stat             1167 sha1_file.c    	struct stat st;
stat             1191 sha1_file.c    	if (stat(p->pack_name, &st) || !S_ISREG(st.st_mode)) {
stat             1526 sha1_file.c    static int stat_sha1_file(const unsigned char *sha1, struct stat *st)
stat             1576 sha1_file.c    		struct stat st;
stat             2667 sha1_file.c    		struct stat st;
stat             3212 sha1_file.c    	struct stat st;
stat             3213 sha1_file.c    	if (stat(sha1_pack_index_name(sha1), &st))
stat             3389 sha1_file.c    int index_fd(unsigned char *sha1, int fd, struct stat *st,
stat             3413 sha1_file.c    int index_path(unsigned char *sha1, const char *path, struct stat *st, unsigned flags)
stat              638 strbuf.c       		struct stat cwd_stat, pwd_stat;
stat              643 strbuf.c       		    !stat(cwd, &cwd_stat) &&
stat              645 strbuf.c       		    !stat(pwd, &pwd_stat) &&
stat              198 submodule.c    			struct stat st;
stat               76 symlinks.c     	struct stat st;
stat              136 symlinks.c     			ret = stat(cache->path.buf, &st);
stat               81 test-chmtime.c 		struct stat sb;
stat               84 test-chmtime.c 		if (stat(argv[i], &sb) < 0) {
stat               21 test-delta.c   	struct stat st;
stat              907 transport.c    	struct stat buf;
stat              908 transport.c    	if (stat(url, &buf))
stat             1223 unpack-trees.c 	struct stat st;
stat             1376 unpack-trees.c static int icase_exists(struct unpack_trees_options *o, const char *name, int len, struct stat *st)
stat             1385 unpack-trees.c 			      const struct cache_entry *ce, struct stat *st,
stat             1445 unpack-trees.c 	struct stat st;
stat             1876 unpack-trees.c 			struct stat st;
stat               29 write_or_die.c 	struct stat st;
stat             1160 wt-status.c    	struct stat st;
stat             1173 wt-status.c    	} else if (state->rebase_in_progress || !stat(git_path_merge_msg(), &st)) {
stat             1369 wt-status.c    	struct stat st;
stat             1372 wt-status.c    	if (!stat(git_path_merge_head(), &st)) {
stat             1374 wt-status.c    	} else if (!stat(git_path("rebase-apply"), &st)) {
stat             1375 wt-status.c    		if (!stat(git_path("rebase-apply/applying"), &st)) {
stat             1377 wt-status.c    			if (!stat(git_path("rebase-apply/patch"), &st) && !st.st_size)
stat             1384 wt-status.c    	} else if (!stat(git_path("rebase-merge"), &st)) {
stat             1385 wt-status.c    		if (!stat(git_path("rebase-merge/interactive"), &st))
stat             1391 wt-status.c    	} else if (!stat(git_path_cherry_pick_head(), &st) &&
stat             1396 wt-status.c    	if (!stat(git_path("BISECT_LOG"), &st)) {
stat             1400 wt-status.c    	if (!stat(git_path_revert_head(), &st) &&
stat              164 xdiff-interface.c 	struct stat st;
stat              168 xdiff-interface.c 	if (stat(filename, &st))