repo.or.cz
/
git
/
raj.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
ref_transaction_commit(): fix atomicity and avoid fd exhaustion
2015-05-13
Michael Haggerty
ref_tran
s
action_com
m
it(
)
: fix atomicity and avoi
d
fd
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-05-13
Michael Hagg
e
rty
re
f
_transaction_co
m
mit(): remove the local flags variabl
e
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-05-13
Michael
Hagge
r
ty
ref_transaction_comm
i
t
(
): inline call
t
o
write_ref_
s
ha1
(
)
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-05-13
Micha
e
l
Hag
g
erty
ren
a
me_
r
ef(): inlin
e
calls to write_ref_
s
ha1() from
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-05-13
Michael H
a
g
gerty
commit_ref_
u
pdat
e
(): new function, ex
t
racted from write
_
ref_
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-05-13
Michael
H
a
ggerty
write_ref
_
to_lo
c
kfile(): new function, extracted fr
o
m
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-04-28
Michael Haggerty
Update git-multim
a
i
l
to version 1
.
0
.
2
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-04-24
Michael Hag
g
erty
status: d
o
c
u
men
t
the -v/--verbose
o
ption
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-04-23
Michae
l
H
a
g
gerty
RelNotes: wordsmit
h
i
ng
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-04-23
Michael Haggerty
RelNotes: refer to the rebase -
i
"todo
l
ist", not
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-04-23
Michael Hagg
e
r
ty
R
e
lNotes
:
correct name
o
f versionsort
.
prerelease
S
uffix
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-04-23
Michael Haggerty
g
i
t ta
g
: mention ve
r
s
i
ons
o
rt
.
p
r
ereleaseSuffix in manpage
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-03-05
M
i
chael Haggerty
reflog_expire()
:
never update a referenc
e
to null_
s
ha1
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-03-05
Mic
h
ael Haggerty
reflog_expire(
)
: ignor
e
--updateref
f
or s
y
mbolic references
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-03-05
Michael Ha
g
gerty
reflog: improve and update documentation
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-03-05
Mich
a
el
Hagge
r
ty
lock_
r
ef
_
sh
a
1_basic():
do
not set force_write for missing
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-03-05
Michael Haggerty
write_ref_
s
ha1():
move
wr
i
te
elisio
n
test to callers
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-03-05
Mich
a
el Haggerty
write_r
e
f_sha1(): remove check fo
r
lock
=
=
NUL
L
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-02-17
Mic
h
ael Haggerty
r
e
fs
.
h: remov
e
duplic
a
tio
n
in function docstrings
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-02-17
Micha
e
l Haggerty
up
d
ate_
r
ef(): improve documentation
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-02-17
Mic
h
ael H
a
ggerty
re
f
_tr
a
ns
a
c
t
ion_verify(): n
e
w fun
c
tion to check a reference
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-02-17
Michael Haggerty
ref_transaction_del
e
te(): check th
a
t old_sha
1
is not
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-02-17
Micha
e
l H
a
g
gerty
ref
_
transaction_cr
e
ate():
ch
e
ck that new_sha1 is
valid
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-02-17
Micha
e
l Hagger
t
y
commi
t
:
avoid race when creating orphan com
m
its
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-02-17
Michae
l
Hagge
r
ty
commit: a
d
d
t
ests o
f
commit
ra
c
es
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-02-17
Michael Haggerty
ref_trans
a
ction_d
e
lete(): remove "hav
e
_
old
"
parameter
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-02-17
Michael Ha
g
ger
t
y
ref_transaction_update():
remove "h
a
ve_old" parameter
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-02-17
Michael Ha
g
g
erty
struc
t
ref_u
p
date: m
o
ve
"
have_old" i
n
to "flags"
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-02-17
Michael Haggerty
re
f
s
.
c:
c
hange
s
ome "flags" to "u
n
signed
int"
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-02-12
Michael Haggerty
refs: remove the ga
p
in t
h
e REF_* co
n
s
ta
n
t values
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-02-12
Mi
c
hael Hag
g
erty
r
ef
s
: mov
e
R
E
F
_D
E
LETING t
o
refs
.
c
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-22
Michael Ha
g
gerty
l
o
ck_
a
ny_ref_for_upd
a
te(): inline
f
u
n
cti
o
n
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-22
Michael Haggerty
r
e
flog_expire(): n
e
w function in the reference A
P
I
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
Mi
c
hael
H
a
g
g
erty
ex
p
ire_reflog(): treat the policy callback data as
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
Mi
c
hae
l
Ha
g
gerty
Move newlog and last_kept_sha1 to "struct expire_reflog_cb"
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
Mich
a
el Haggerty
exp
i
re
_
r
eflog
(
): move
r
e
w
rite to f
l
ags argu
m
ent
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
Michael H
a
ggerty
expire_reflog(): m
o
ve verbose to fl
a
g
s ar
g
ument
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
Micha
e
l Haggerty
e
x
p
ire
_
reflog
(
): pass flags throug
h
to expire_reflog_ent(
)
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
Mi
c
h
a
el Hagge
r
ty
struct e
x
p
i
re_reflog_cb: a new
callback data ty
p
e
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
M
ichael Haggerty
Rename
e
x
pi
r
e_
r
e
flog_cb to expire_re
f
log_polic
y
_c
b
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
Michael Haggerty
expire_reflo
g
()
:
move upda
t
eref to flags argum
e
nt
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
Mi
c
h
ae
l
Hagge
r
ty
expire_r
e
flog():
m
o
v
e dry_run to flag
s
argume
n
t
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
Michael
H
ag
g
erty
expire_reflo
g
(
)
: ad
d
a "flags" a
r
gu
m
ent
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
Mich
a
el Ha
g
g
erty
exp
i
re_reflog(): extract two
p
o
licy-relate
d
fu
n
ct
i
ons
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
Michael Haggerty
Extract function should
_
expire_reflog_
e
n
t(
)
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
Micha
e
l Hag
g
e
r
ty
expir
e
_
r
eflog(): use a loc
k
_file for r
e
writ
i
ng the
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
Micha
e
l Hagge
r
t
y
expire_re
f
log
(
):
return earl
y
if the
re
f
erence
h
as
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
Mich
a
e
l
Hagg
e
rty
expire_reflog():
r
enam
e
"r
e
f" p
a
r
a
meter to "refna
m
e"
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-12
Michael Haggerty
expire_refl
o
g(): it's not
an each_ref_fn an
y
more
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-11
Mic
h
a
e
l Haggerty
update-ref: fix
"
verify
"
command
with mis
s
ing
<oldvalue>
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-12-11
Michael Haggerty
t1400: add
some mor
e
t
ests of "update-ref --
s
tdin"
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-11-25
M
ichael Hagge
r
ty
sort_st
r
ing_list(): re
n
ame to string_lis
t
_
s
o
rt()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-11-25
Mich
a
el Ha
g
g
e
rty
prun
e
_remote
(
)
:
it
e
rate using for_e
a
ch_
s
tring_l
i
st_i
t
em()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-11-25
Michael Hagg
e
rty
prune_remot
e
(): re
n
ame
l
o
cal variable
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-11-25
M
i
c
hael Haggerty
repack_without_
r
efs():
make the
r
efnames ar
g
ument a
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-11-25
Micha
e
l Ha
g
gerty
prune_remote()
:
sort delet
e
_r
e
fs_list references en
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-11-25
Mi
c
hael
Haggerty
prune_r
e
mote():
i
n
i
tialize bot
h
delete
_
re
f
s
l
ists in
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-11-25
Micha
e
l Haggerty
prune_remote():
exit early if th
e
r
e a
r
e
n
o stale
r
efe
r
ences
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-11-18
Mich
a
e
l Haggert
y
create_default_files(): don't
s
et u
+
x b
i
t
on $GIT_DIR
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-11-17
Mi
c
hae
l
Haggerty
cmd_config(
)
: make a co
p
y
o
f
p
ath obtained from
g
i
t
_
p
a
t
h
(
)
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
M
i
c
h
a
el Haggert
y
commi
t
_pac
k
ed_refs():
reimpl
e
me
n
t usin
g
fdopen_lock_file()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chael Hag
g
erty
du
m
p
_marks()
:
re
i
mplement usin
g
f
d
op
e
n_lock_file()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagge
r
ty
fdop
e
n_lock_file(): access a lockf
i
le using stdio
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Ha
g
g
erty
l
ockfi
l
e
.
h:
e
xtract new
header
f
i
le fo
r
the fu
n
c
t
ions
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mic
h
ael
Hagge
r
ty
h
o
ld
_
locked_ind
e
x(): move f
r
o
m lock
f
ile
.
c to read-cache
.
c
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
M
ichae
l
Haggerty
hold_l
o
ck_
f
i
l
e_for_appe
n
d
(
)
: restore
errno b
e
f
o
re re
t
urnin
g
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
hael Hag
g
erty
get_locked_file
_
p
ath(): new f
u
nction
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
lockfile
.
c: r
e
name static
functions
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael
Haggerty
lockfile: rename LOCK_N
O
DEREF t
o
LOCK_NO
_
D
ER
E
F
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mic
h
ae
l
Ha
g
gerty
commit_lo
c
k_fi
l
e_to(): r
e
factor a
h
el
p
er
o
u
t of commit_l
o
ck_
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael
H
aggerty
trim_last_path_
c
ompo
n
ent
(
): repl
a
ce last_path_e
l
m()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
hael Haggerty
res
o
lve
_
sy
m
link(): ta
k
e a strbu
f
pa
r
a
m
ete
r
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Micha
e
l Haggerty
r
e
so
l
ve_
s
ymlink
(
): u
s
e a st
r
buf
f
o
r inter
n
a
l scratch
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggert
y
lockfile: cha
n
ge lock_
f
i
l
e:
:
filename into a strbuf
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
h
ael
Hagg
e
rty
commit_loc
k
_file(
)
: u
s
e a strbuf to manage temporary
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chael Haggerty
tr
y
_merg
e
_strategy(): use
a
statically-
a
llocat
e
d lock_file
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Micha
e
l
Hagge
r
ty
try_m
e
r
g
e_stra
t
e
g
y
(): remove redundant l
o
ck_f
i
le
a
llocation
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mic
h
ae
l
Hag
g
erty
str
u
ct
lock_file
:
dec
l
are som
e
f
i
elds volatile
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chael
Hagg
e
rty
l
ockfile
:
avoid t
r
ansi
t
ory invalid st
a
tes
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
git_c
o
nfig_set_m
u
lt
i
v
a
r_in
_
file(): avoi
d
call to rollback_lo
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michae
l
H
aggert
y
d
u
mp_mar
k
s():
remove a redundant call t
o
r
o
llba
c
k_lock_fi
l
e(
)
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
M
ichael
Hagger
t
y
api-lockfile:
d
ocume
n
t e
d
ge cases
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael
H
aggerty
commit_lock_fil
e
(): rollback loc
k
file on failure
to
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
clos
e
_
l
ock_file
(
): if close fail
s
, roll back
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagge
r
ty
co
m
mit_lo
c
k_f
i
l
e
(): die()
i
f
c
a
lled
for unlocked lockfile
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michae
l
Haggerty
commit_lock
_
file(): i
n
line temporary variable
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggert
y
remove_lock_file(): cal
l
r
o
llback_lock_file()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
hael Hagg
e
rt
y
loc
k
_file(): exit earl
y
if loc
k
file cannot be ope
n
ed
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
M
i
cha
e
l Haggert
y
prepare_ind
e
x():
d
e
cla
r
e return
v
a
lue t
o
be (const
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Micha
e
l Haggerty
delete_ref_l
o
o
se():
d
on't muc
k
around in
the lock_file
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michae
l
Haggerty
cache
.
h: define consta
n
t
s LOCK_SUFF
I
X a
n
d
LOCK_SUFFI
X
_LEN
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Micha
e
l Haggert
y
l
ockfile
.
c: d
o
c
u
ment
t
h
e v
a
ri
o
us st
a
tes
of lock_file
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael
H
agger
t
y
loc
k
_file(): always
i
nitia
l
ize and register lock_file
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagg
e
rty
hold_l
o
ck_file_fo
r
_append(): release lock on
errors
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Ha
g
ge
r
t
y
lockf
i
le: unlock file if lockfile permi
s
s
i
ons cannot
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael
Hagge
r
ty
rollba
c
k_lo
c
k_file(): set
f
d to -1
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael
H
agge
r
ty
rollback_lock
_
file(): e
x
it early if lock
is not active
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
M
icha
e
l Haggerty
ro
l
lback_lock_
f
i
le(): do not clear filenam
e
redu
n
d
antly
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
hael
Hag
g
erty
c
los
e
_lock_file(): exit (s
u
ccessfull
y
) if file is alr
e
ady
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
api-lockfile: revise a
n
d ex
p
and the
documentation
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
next