Sign in
googlers
/
jrn
/
git
/
d74b541e0b40be0bf35e836bd8c6cbf653283d4b
/
lockfile.c
3f061bf
lockfile: LOCK_REPORT_ON_ERROR
by Junio C Hamano
· 8 years ago
aed7480
lockfile: improve error message when lockfile exists
by Matthieu Moy
· 9 years ago
3030c29
lockfile: mark strings for translation
by Matthieu Moy
· 9 years ago
aae42e4
lockfile: remove function "hold_lock_file_for_append"
by Ralf Thielow
· 10 years ago
db86e61
Merge branch 'mh/tempfile'
by Junio C Hamano
· 10 years ago
1a9d15d
tempfile: a new module for handling temporary files
by Michael Haggerty
· 10 years ago
9c77381
commit_lock_file(): use get_locked_file_path()
by Michael Haggerty
· 10 years ago
b4fb09e
lockfile: add accessor get_lock_file_path()
by Michael Haggerty
· 10 years ago
c99a4c2
lockfile: add accessors get_lock_file_fd() and get_lock_file_fp()
by Michael Haggerty
· 10 years ago
2db69de
lockfile: move documentation to lockfile.h and lockfile.c
by Michael Haggerty
· 10 years ago
510ab3f
Merge branch 'js/sleep-without-select'
by Junio C Hamano
· 10 years ago
30f8160
lockfile: wait using sleep_millisec() instead of select()
by Johannes Sixt
· 10 years ago
a8a1775
lockfile: convert retry timeout computations to millisecond
by Johannes Sixt
· 10 years ago
1e9676e
lockfile: replace random() by rand()
by Johannes Sixt
· 10 years ago
ddaf4e2
Merge branch 'jc/ignore-epipe-in-filter'
by Junio C Hamano
· 10 years ago
00b7cbf
copy.c: make copy_fd() report its status silently
by Junio C Hamano
· 10 years ago
044b6a9
lockfile: allow file locking to be retried with a timeout
by Michael Haggerty
· 10 years ago
fa137f6
lockfile.c: store absolute path
by Nguyễn Thái Ngọc Duy
· 10 years ago
fb43bd1
lockfile: remove unable_to_lock_error
by Jonathan Nieder
· 11 years ago
11cb313
Merge branch 'mh/lockfile-stdio'
by Junio C Hamano
· 10 years ago
bd107e1
Merge branch 'mh/lockfile'
by Junio C Hamano
· 10 years ago
f0d8900
Merge branch 'sp/stream-clean-filter'
by Junio C Hamano
· 10 years ago
013870c
fdopen_lock_file(): access a lockfile using stdio
by Michael Haggerty
· 10 years ago
697cc8e
lockfile.h: extract new header file for the functions in lockfile.c
by Michael Haggerty
· 10 years ago
216aab1
hold_locked_index(): move from lockfile.c to read-cache.c
by Michael Haggerty
· 10 years ago
4d423a3
hold_lock_file_for_append(): restore errno before returning
by Michael Haggerty
· 10 years ago
ec38b4e
get_locked_file_path(): new function
by Michael Haggerty
· 10 years ago
316683b
lockfile.c: rename static functions
by Michael Haggerty
· 10 years ago
47ba466
lockfile: rename LOCK_NODEREF to LOCK_NO_DEREF
by Michael Haggerty
· 10 years ago
751bace
commit_lock_file_to(): refactor a helper out of commit_lock_file()
by Michael Haggerty
· 10 years ago
0c0d6e8
trim_last_path_component(): replace last_path_elm()
by Michael Haggerty
· 10 years ago
6cad805
resolve_symlink(): take a strbuf parameter
by Michael Haggerty
· 10 years ago
5025d84
resolve_symlink(): use a strbuf for internal scratch space
by Michael Haggerty
· 10 years ago
cf6950d
lockfile: change lock_file::filename into a strbuf
by Michael Haggerty
· 10 years ago
3e88e8f
commit_lock_file(): use a strbuf to manage temporary space
by Michael Haggerty
· 10 years ago
2091c50
struct lock_file: declare some fields volatile
by Michael Haggerty
· 10 years ago
707103f
lockfile: avoid transitory invalid states
by Michael Haggerty
· 10 years ago
1b1648f
commit_lock_file(): rollback lock file on failure to rename
by Michael Haggerty
· 10 years ago
8e86c15
close_lock_file(): if close fails, roll back
by Michael Haggerty
· 10 years ago
8a1c753
commit_lock_file(): die() if called for unlocked lockfile object
by Michael Haggerty
· 10 years ago
4f4713d
commit_lock_file(): inline temporary variable
by Michael Haggerty
· 10 years ago
a1754bc
remove_lock_file(): call rollback_lock_file()
by Michael Haggerty
· 10 years ago
e31e949
lock_file(): exit early if lockfile cannot be opened
by Michael Haggerty
· 10 years ago
7108ad2
cache.h: define constants LOCK_SUFFIX and LOCK_SUFFIX_LEN
by Michael Haggerty
· 10 years ago
0a06f14
lockfile.c: document the various states of lock_file objects
by Michael Haggerty
· 10 years ago
04e57d4
lock_file(): always initialize and register lock_file object
by Michael Haggerty
· 10 years ago
ebb8e38
hold_lock_file_for_append(): release lock on errors
by Michael Haggerty
· 10 years ago
41dd4ff
lockfile: unlock file if lockfile permissions cannot be adjusted
by Michael Haggerty
· 10 years ago
26f5d3b
rollback_lock_file(): set fd to -1
by Michael Haggerty
· 10 years ago
9085f8e
rollback_lock_file(): exit early if lock is not active
by Michael Haggerty
· 10 years ago
5527d53
rollback_lock_file(): do not clear filename redundantly
by Michael Haggerty
· 10 years ago
419f0c0
close_lock_file(): exit (successfully) if file is already closed
by Michael Haggerty
· 10 years ago
e197c21
unable_to_lock_die(): rename function from unable_to_lock_index_die()
by Michael Haggerty
· 10 years ago
c518279
Merge branch 'jc/reopen-lock-file'
by Junio C Hamano
· 11 years ago
b29763a
copy_fd(): do not close the input file descriptor
by Steffen Prohaska
· 11 years ago
19a249b
Merge branch 'rs/ref-transaction-0'
by Junio C Hamano
· 11 years ago
93dcaea
lockfile: allow reopening a closed but still locked file
by Junio C Hamano
· 11 years ago
447ff1b
lockfile.c: make lock_file return a meaningful errno on failurei
by Ronnie Sahlberg
· 11 years ago
6af926e
lockfile.c: add a new public function unable_to_lock_message
by Ronnie Sahlberg
· 11 years ago
626f35c
read-cache: relocate and unexport commit_locked_index()
by Nguyễn Thái Ngọc Duy
· 11 years ago
2fbd4f9
lockfile: fix buffer overflow in path handling
by Michael Haggerty
· 12 years ago
e2a57aa
Name make_*_path functions more accurately
by Carlos Martín Nieto
· 14 years ago
a8c37a0
lockfile: show absolute filename in unable_to_lock_message
by Matthieu Moy
· 15 years ago
1b018fd
git branch -D: give a better error message when lockfile creation fails
by Miklos Vajna
· 15 years ago
3658768
Merge branch 'ar/unlink-err'
by Junio C Hamano
· 16 years ago
4b25d09
Fix a bunch of pointer declarations (codestyle)
by Felipe Contreras
· 16 years ago
691f1a2
replace direct calls to unlink(2) with unlink_or_warn
by Alex Riesen
· 16 years ago
bdfd739
Make the 'lock file' exists error more informative
by John Tapsell
· 16 years ago
8c5b85c
Merge branch 'maint'
by Junio C Hamano
· 16 years ago
e43a6fd
More friendly message when locking the index fails.
by Matthieu Moy
· 16 years ago
57b235a
refactor signal handling for cleanup functions
by Jeff King
· 16 years ago
4a16d07
chain kill signals for cleanup functions
by Jeff King
· 16 years ago
0693f9d
Make sure lockfiles are unlocked when dying on SIGPIPE
by Junio C Hamano
· 16 years ago
acd3b9e
Enhance hold_lock_file_for_{update,append}() API
by Junio C Hamano
· 16 years ago
ad5fa3c
rollback lock files on more signals than just SIGINT
by Paolo Bonzini
· 17 years ago
b84c343
Merge branch 'db/clone-in-c'
by Junio C Hamano
· 17 years ago
a129293
Reset the signal being handled
by Clemens Buchacher
· 17 years ago
ea3cd5c
Add a lockfile function to append to a file
by Daniel Barkalow
· 17 years ago
d6cf61b
close_lock_file(): new function in the lockfile API
by Brandon Casey
· 17 years ago
ecf4831
Use is_absolute_path() in diff-lib.c, lockfile.c, setup.c, trace.c
by Steffen Prohaska
· 17 years ago
4723ee9
Close files opened by lock_file() before unlinking.
by Johannes Schindelin
· 17 years ago
5d5a7a6
fully resolve symlinks when creating lockfiles
by Bradford C. Smith
· 18 years ago
d58e8d3
When locking in a symlinked repository, try to lock the original.
by Junio C Hamano
· 18 years ago
9a4cbdc
lockfile.c: schedule remove_lock_file only once.
by Sven Verdoolaege
· 18 years ago
a6080a0
War on whitespace
by Junio C Hamano
· 18 years ago
5e635e3
lockfile: record the primary process.
by Junio C Hamano
· 18 years ago
5e7f56a
git-read-tree --index-output=<file>
by Junio C Hamano
· 18 years ago
30ca07a
_GIT_INDEX_OUTPUT: allow plumbing to output to an alternative index file.
by Junio C Hamano
· 18 years ago
f9e8a43
Print a more accurate error message when we fail to create a lock file.
by Steven Grimm
· 18 years ago
e27e609b
Merge branch 'maint'
by Junio C Hamano
· 18 years ago
1084b84
Fix infinite loop when deleting multiple packed refs.
by Junio C Hamano
· 18 years ago
8502357
simplify inclusion of system header files.
by Junio C Hamano
· 18 years ago
40aaae8
Better error message when we are unable to lock the index file
by Junio C Hamano
· 19 years ago
138086a
shared repository - add a few missing calls to adjust_shared_perm().
by Junio C Hamano
· 19 years ago
021b6e4
Make index file locking code reusable to others.
by Junio C Hamano
· 19 years ago