939 Commits (6053c04b88d28b31d752dc8783ff59324b6a82f7)

Author SHA1 Message Date
Ronnie Sahlberg 5fe7d825da refs.c: pass a list of names to skip to is_refname_available 11 years ago
Ronnie Sahlberg 5d94a1b033 refs.c: call lock_ref_sha1_basic directly from commit 11 years ago
Ronnie Sahlberg 8a9df90d9a refs.c: refuse to lock badly named refs in lock_ref_sha1_basic 11 years ago
Ronnie Sahlberg 7522e3dbcc rename_ref: don't ask read_ref_full where the ref came from 11 years ago
Ronnie Sahlberg db7516ab9f refs.c: pass the ref log message to _create/delete/update instead of _commit 11 years ago
Ronnie Sahlberg dbdcac7d5c refs.c: add an err argument to delete_ref_loose 11 years ago
Ronnie Sahlberg 3c93c847ca refs.c: lock_ref_sha1_basic is used for all refs 11 years ago
Ronnie Sahlberg 1054af7d04 wrapper.c: remove/unlink_or_warn: simplify, treat ENOENT as success 11 years ago
Michael Haggerty 6e578a31e6 commit_packed_refs(): reimplement using fdopen_lock_file() 11 years ago
Michael Haggerty 697cc8efd9 lockfile.h: extract new header file for the functions in lockfile.c 11 years ago
Michael Haggerty ec38b4e482 get_locked_file_path(): new function 11 years ago
Michael Haggerty 47ba4662bf lockfile: rename LOCK_NODEREF to LOCK_NO_DEREF 11 years ago
Michael Haggerty cf6950d3bf lockfile: change lock_file::filename into a strbuf 11 years ago
Michael Haggerty 91f1f19184 delete_ref_loose(): don't muck around in the lock_file's filename 11 years ago
Michael Haggerty 7108ad232f cache.h: define constants LOCK_SUFFIX and LOCK_SUFFIX_LEN 11 years ago
Michael Haggerty e197c21807 unable_to_lock_die(): rename function from unable_to_lock_index_die() 11 years ago
David Aguilar c41a87dd80 refs: make rev-parse --quiet actually quiet 11 years ago
Jeff King cbe7333181 refs: speed up is_refname_available 11 years ago
Jeff King 9540ce5030 refs: write packed_refs file using stdio 11 years ago
Ronnie Sahlberg 7521cc4611 refs.c: make delete_ref use a transaction 11 years ago
Ronnie Sahlberg 029cdb4ab2 refs.c: make prune_ref use a transaction to delete the ref 11 years ago
Ronnie Sahlberg cba12021c3 refs.c: remove lock_ref_sha1 11 years ago
Ronnie Sahlberg 04ad6223ec refs.c: remove the update_ref_write function 11 years ago
Ronnie Sahlberg 45421e24e8 refs.c: remove the update_ref_lock function 11 years ago
Ronnie Sahlberg 88b680ae8d refs.c: make lock_ref_sha1 static 11 years ago
Ronnie Sahlberg b4d75ac1d1 refs.c: change update_ref to use a transaction 11 years ago
Ronnie Sahlberg 2bdc785fd7 refs.c: add transaction.status and track OPEN/CLOSED 11 years ago
Ronnie Sahlberg 93a644ea9d refs.c: make ref_transaction_begin take an err argument 11 years ago
Ronnie Sahlberg 8c8bdc0d35 refs.c: update ref_transaction_delete to check for error and return status 11 years ago
Ronnie Sahlberg b416af5bcd refs.c: change ref_transaction_create to do error checking and return status 11 years ago
Jeff King afd11d3ebc pack-refs: prune top-level refs like "refs/foo" 11 years ago
Junio C Hamano 5e6502288d Revert "Merge branch 'dt/refs-check-refname-component-sse'" 11 years ago
Junio C Hamano dad2e7f4bf Revert "Merge branch 'dt/refs-check-refname-component-sse-fix'" 11 years ago
Jeff King c4ad00f8cc add object_as_type helper for casting objects 11 years ago
Ronnie Sahlberg e7e0f26eb6 refs.c: add a public is_branch function 11 years ago
Ronnie Sahlberg 8e34800e5b refs.c: change ref_transaction_update() to do error checking and return status 11 years ago
Ronnie Sahlberg 01319837c5 refs.c: remove the onerr argument to ref_transaction_commit 11 years ago
Ronnie Sahlberg c1703d7634 refs.c: make update_ref_write update a strbuf on failure 11 years ago
Ronnie Sahlberg 038d005129 refs.c: make ref_update_reject_duplicates take a strbuf argument for errors 11 years ago
Ronnie Sahlberg dc615de861 refs.c: log_ref_write should try to return meaningful errno 11 years ago
Ronnie Sahlberg 76d70dc0c6 refs.c: make resolve_ref_unsafe set errno to something meaningful on error 11 years ago
Ronnie Sahlberg d3f6655505 refs.c: commit_packed_refs to return a meaningful errno on failure 11 years ago
Ronnie Sahlberg 470a91ef75 refs.c: make remove_empty_directories always set errno to something sane 11 years ago
Ronnie Sahlberg 835e3c992f refs.c: verify_lock should set errno to something meaningful 11 years ago
Ronnie Sahlberg bd3b02daec refs.c: make sure log_ref_setup returns a meaningful errno 11 years ago
Ronnie Sahlberg 60bca085c8 refs.c: add an err argument to repack_without_refs 11 years ago
Ronnie Sahlberg 447ff1bf0a lockfile.c: make lock_file return a meaningful errno on failurei 11 years ago
Ronnie Sahlberg 995f8746bc refs.c: add a strbuf argument to ref_transaction_commit for error logging 11 years ago
Ronnie Sahlberg 1b07255c95 refs.c: allow passing NULL to ref_transaction_free 11 years ago
Ronnie Sahlberg f1c9350ad7 refs.c: constify the sha arguments for ref_transaction_create|delete|update 11 years ago