Home
last modified time | relevance | path

Searched refs:pack_tmp_name (Results 1 – 24 of 24) sorted by relevance

/dports/devel/git-gui/git-2.34.1/
H A Dbulk-checkin.c16 char *pack_tmp_name; member
27 const char *pack_tmp_name, in finish_tmp_packfile() argument
35 stage_tmp_packfiles(basename, pack_tmp_name, written_list, nr_written, in finish_tmp_packfile()
53 unlink(state->pack_tmp_name); in finish_bulk_checkin()
59 fixup_pack_header_footer(fd, hash, state->pack_tmp_name, in finish_bulk_checkin()
67 finish_tmp_packfile(&packname, state->pack_tmp_name, in finish_bulk_checkin()
197 state->f = create_tmp_packfile(&state->pack_tmp_name); in prepare_to_stream()
H A Dpack-write.c454 struct hashfile *create_tmp_packfile(char **pack_tmp_name) in create_tmp_packfile() argument
460 *pack_tmp_name = strbuf_detach(&tmpname, NULL); in create_tmp_packfile()
461 return hashfd(fd, *pack_tmp_name); in create_tmp_packfile()
483 const char *pack_tmp_name, in stage_tmp_packfiles() argument
492 if (adjust_shared_perm(pack_tmp_name)) in stage_tmp_packfiles()
503 rename_tmp_packfile(name_buffer, pack_tmp_name, "pack"); in stage_tmp_packfiles()
H A Dpack.h112 struct hashfile *create_tmp_packfile(char **pack_tmp_name);
114 const char *pack_tmp_name,
/dports/devel/git-p4/git-2.34.1/
H A Dbulk-checkin.c16 char *pack_tmp_name; member
27 const char *pack_tmp_name, in finish_tmp_packfile() argument
35 stage_tmp_packfiles(basename, pack_tmp_name, written_list, nr_written, in finish_tmp_packfile()
53 unlink(state->pack_tmp_name); in finish_bulk_checkin()
59 fixup_pack_header_footer(fd, hash, state->pack_tmp_name, in finish_bulk_checkin()
67 finish_tmp_packfile(&packname, state->pack_tmp_name, in finish_bulk_checkin()
197 state->f = create_tmp_packfile(&state->pack_tmp_name); in prepare_to_stream()
H A Dpack-write.c454 struct hashfile *create_tmp_packfile(char **pack_tmp_name) in create_tmp_packfile() argument
460 *pack_tmp_name = strbuf_detach(&tmpname, NULL); in create_tmp_packfile()
461 return hashfd(fd, *pack_tmp_name); in create_tmp_packfile()
483 const char *pack_tmp_name, in stage_tmp_packfiles() argument
492 if (adjust_shared_perm(pack_tmp_name)) in stage_tmp_packfiles()
503 rename_tmp_packfile(name_buffer, pack_tmp_name, "pack"); in stage_tmp_packfiles()
H A Dpack.h112 struct hashfile *create_tmp_packfile(char **pack_tmp_name);
114 const char *pack_tmp_name,
/dports/devel/git/git-2.34.1/
H A Dbulk-checkin.c16 char *pack_tmp_name; member
27 const char *pack_tmp_name, in finish_tmp_packfile() argument
35 stage_tmp_packfiles(basename, pack_tmp_name, written_list, nr_written, in finish_tmp_packfile()
53 unlink(state->pack_tmp_name); in finish_bulk_checkin()
59 fixup_pack_header_footer(fd, hash, state->pack_tmp_name, in finish_bulk_checkin()
67 finish_tmp_packfile(&packname, state->pack_tmp_name, in finish_bulk_checkin()
197 state->f = create_tmp_packfile(&state->pack_tmp_name); in prepare_to_stream()
H A Dpack-write.c454 struct hashfile *create_tmp_packfile(char **pack_tmp_name) in create_tmp_packfile() argument
460 *pack_tmp_name = strbuf_detach(&tmpname, NULL); in create_tmp_packfile()
461 return hashfd(fd, *pack_tmp_name); in create_tmp_packfile()
483 const char *pack_tmp_name, in stage_tmp_packfiles() argument
492 if (adjust_shared_perm(pack_tmp_name)) in stage_tmp_packfiles()
503 rename_tmp_packfile(name_buffer, pack_tmp_name, "pack"); in stage_tmp_packfiles()
H A Dpack.h112 struct hashfile *create_tmp_packfile(char **pack_tmp_name);
114 const char *pack_tmp_name,
/dports/devel/git-cvs/git-2.34.1/
H A Dbulk-checkin.c16 char *pack_tmp_name; member
27 const char *pack_tmp_name, in finish_tmp_packfile() argument
35 stage_tmp_packfiles(basename, pack_tmp_name, written_list, nr_written, in finish_tmp_packfile()
53 unlink(state->pack_tmp_name); in finish_bulk_checkin()
59 fixup_pack_header_footer(fd, hash, state->pack_tmp_name, in finish_bulk_checkin()
67 finish_tmp_packfile(&packname, state->pack_tmp_name, in finish_bulk_checkin()
197 state->f = create_tmp_packfile(&state->pack_tmp_name); in prepare_to_stream()
H A Dpack-write.c454 struct hashfile *create_tmp_packfile(char **pack_tmp_name) in create_tmp_packfile() argument
460 *pack_tmp_name = strbuf_detach(&tmpname, NULL); in create_tmp_packfile()
461 return hashfd(fd, *pack_tmp_name); in create_tmp_packfile()
483 const char *pack_tmp_name, in stage_tmp_packfiles() argument
492 if (adjust_shared_perm(pack_tmp_name)) in stage_tmp_packfiles()
503 rename_tmp_packfile(name_buffer, pack_tmp_name, "pack"); in stage_tmp_packfiles()
H A Dpack.h112 struct hashfile *create_tmp_packfile(char **pack_tmp_name);
114 const char *pack_tmp_name,
/dports/devel/git-svn/git-2.34.1/
H A Dbulk-checkin.c16 char *pack_tmp_name; member
27 const char *pack_tmp_name, in finish_tmp_packfile() argument
35 stage_tmp_packfiles(basename, pack_tmp_name, written_list, nr_written, in finish_tmp_packfile()
53 unlink(state->pack_tmp_name); in finish_bulk_checkin()
59 fixup_pack_header_footer(fd, hash, state->pack_tmp_name, in finish_bulk_checkin()
67 finish_tmp_packfile(&packname, state->pack_tmp_name, in finish_bulk_checkin()
197 state->f = create_tmp_packfile(&state->pack_tmp_name); in prepare_to_stream()
H A Dpack-write.c454 struct hashfile *create_tmp_packfile(char **pack_tmp_name) in create_tmp_packfile() argument
460 *pack_tmp_name = strbuf_detach(&tmpname, NULL); in create_tmp_packfile()
461 return hashfd(fd, *pack_tmp_name); in create_tmp_packfile()
483 const char *pack_tmp_name, in stage_tmp_packfiles() argument
492 if (adjust_shared_perm(pack_tmp_name)) in stage_tmp_packfiles()
503 rename_tmp_packfile(name_buffer, pack_tmp_name, "pack"); in stage_tmp_packfiles()
H A Dpack.h112 struct hashfile *create_tmp_packfile(char **pack_tmp_name);
114 const char *pack_tmp_name,
/dports/devel/cgit/cgit-1.2.3/git/
H A Dbulk-checkin.c16 char *pack_tmp_name; member
37 unlink(state->pack_tmp_name); in finish_bulk_checkin()
43 fixup_pack_header_footer(fd, oid.hash, state->pack_tmp_name, in finish_bulk_checkin()
50 finish_tmp_packfile(&packname, state->pack_tmp_name, in finish_bulk_checkin()
181 state->f = create_tmp_packfile(&state->pack_tmp_name); in prepare_to_stream()
H A Dpack-write.c337 struct hashfile *create_tmp_packfile(char **pack_tmp_name) in create_tmp_packfile() argument
343 *pack_tmp_name = strbuf_detach(&tmpname, NULL); in create_tmp_packfile()
344 return hashfd(fd, *pack_tmp_name); in create_tmp_packfile()
348 const char *pack_tmp_name, in finish_tmp_packfile() argument
357 if (adjust_shared_perm(pack_tmp_name)) in finish_tmp_packfile()
367 if (rename(pack_tmp_name, name_buffer->buf)) in finish_tmp_packfile()
H A Dpack.h103 struct hashfile *create_tmp_packfile(char **pack_tmp_name);
104 void finish_tmp_packfile(struct strbuf *name_buffer, const char *pack_tmp_name, struct pack_idx_ent…
/dports/devel/cgit/cgit-1.2.3/git/builtin/
H A Dpack-objects.c860 char *pack_tmp_name = NULL; in write_pack_file() local
865 f = create_tmp_packfile(&pack_tmp_name); in write_pack_file()
895 fixup_pack_header_footer(fd, oid.hash, pack_tmp_name, in write_pack_file()
916 if (stat(pack_tmp_name, &st) < 0) { in write_pack_file()
917 warning_errno(_("failed to stat %s"), pack_tmp_name); in write_pack_file()
924 if (utime(pack_tmp_name, &utb) < 0) in write_pack_file()
925 warning_errno(_("failed utime() on %s"), pack_tmp_name); in write_pack_file()
936 finish_tmp_packfile(&tmpname, pack_tmp_name, in write_pack_file()
955 free(pack_tmp_name); in write_pack_file()
/dports/devel/git-svn/git-2.34.1/builtin/
H A Dpack-objects.c1179 char *pack_tmp_name = NULL; in write_pack_file() local
1184 f = create_tmp_packfile(&pack_tmp_name); in write_pack_file()
1212 fixup_pack_header_footer(fd, hash, pack_tmp_name, in write_pack_file()
1234 if (stat(pack_tmp_name, &st) < 0) { in write_pack_file()
1235 warning_errno(_("failed to stat %s"), pack_tmp_name); in write_pack_file()
1242 if (utime(pack_tmp_name, &utb) < 0) in write_pack_file()
1243 warning_errno(_("failed utime() on %s"), pack_tmp_name); in write_pack_file()
1255 stage_tmp_packfiles(&tmpname, pack_tmp_name, in write_pack_file()
1279 free(pack_tmp_name); in write_pack_file()
/dports/devel/git-gui/git-2.34.1/builtin/
H A Dpack-objects.c1179 char *pack_tmp_name = NULL; in write_pack_file() local
1184 f = create_tmp_packfile(&pack_tmp_name); in write_pack_file()
1212 fixup_pack_header_footer(fd, hash, pack_tmp_name, in write_pack_file()
1234 if (stat(pack_tmp_name, &st) < 0) { in write_pack_file()
1235 warning_errno(_("failed to stat %s"), pack_tmp_name); in write_pack_file()
1242 if (utime(pack_tmp_name, &utb) < 0) in write_pack_file()
1243 warning_errno(_("failed utime() on %s"), pack_tmp_name); in write_pack_file()
1255 stage_tmp_packfiles(&tmpname, pack_tmp_name, in write_pack_file()
1279 free(pack_tmp_name); in write_pack_file()
/dports/devel/git-p4/git-2.34.1/builtin/
H A Dpack-objects.c1179 char *pack_tmp_name = NULL; in write_pack_file() local
1184 f = create_tmp_packfile(&pack_tmp_name); in write_pack_file()
1212 fixup_pack_header_footer(fd, hash, pack_tmp_name, in write_pack_file()
1234 if (stat(pack_tmp_name, &st) < 0) { in write_pack_file()
1235 warning_errno(_("failed to stat %s"), pack_tmp_name); in write_pack_file()
1242 if (utime(pack_tmp_name, &utb) < 0) in write_pack_file()
1243 warning_errno(_("failed utime() on %s"), pack_tmp_name); in write_pack_file()
1255 stage_tmp_packfiles(&tmpname, pack_tmp_name, in write_pack_file()
1279 free(pack_tmp_name); in write_pack_file()
/dports/devel/git/git-2.34.1/builtin/
H A Dpack-objects.c1179 char *pack_tmp_name = NULL; in write_pack_file() local
1184 f = create_tmp_packfile(&pack_tmp_name); in write_pack_file()
1212 fixup_pack_header_footer(fd, hash, pack_tmp_name, in write_pack_file()
1234 if (stat(pack_tmp_name, &st) < 0) { in write_pack_file()
1235 warning_errno(_("failed to stat %s"), pack_tmp_name); in write_pack_file()
1242 if (utime(pack_tmp_name, &utb) < 0) in write_pack_file()
1243 warning_errno(_("failed utime() on %s"), pack_tmp_name); in write_pack_file()
1255 stage_tmp_packfiles(&tmpname, pack_tmp_name, in write_pack_file()
1279 free(pack_tmp_name); in write_pack_file()
/dports/devel/git-cvs/git-2.34.1/builtin/
H A Dpack-objects.c1179 char *pack_tmp_name = NULL; in write_pack_file() local
1184 f = create_tmp_packfile(&pack_tmp_name); in write_pack_file()
1212 fixup_pack_header_footer(fd, hash, pack_tmp_name, in write_pack_file()
1234 if (stat(pack_tmp_name, &st) < 0) { in write_pack_file()
1235 warning_errno(_("failed to stat %s"), pack_tmp_name); in write_pack_file()
1242 if (utime(pack_tmp_name, &utb) < 0) in write_pack_file()
1243 warning_errno(_("failed utime() on %s"), pack_tmp_name); in write_pack_file()
1255 stage_tmp_packfiles(&tmpname, pack_tmp_name, in write_pack_file()
1279 free(pack_tmp_name); in write_pack_file()