repo.or.cz
/
git
/
mingw
/
j6t.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
entry_matches(): inline function
2015-05-11
Michael
Ha
g
gerty
e
ntr
y
_matches(): inline function
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-05-11
Michae
l
Haggerty
is_
r
e
fname_avai
l
abl
e
(
):
convert local variable "di
r
na
m
e
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-05-11
M
ichael Haggerty
is_refname_
a
v
a
i
lable():
a
void shadowing "dir"
v
ariable
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-05-11
Michael Hagge
r
ty
is_ref
n
am
e
_available(): revamp
t
he comments
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-05-11
Mich
a
el Haggerty
t14
0
4: new tests o
f
ref D/F
c
onflicts within transactions
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-04-28
Michael H
a
gge
r
t
y
Update git
-
multimail to v
e
r
s
ion 1
.
0
.
2
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-04-24
Michael Hagge
r
ty
status: d
o
cument the -v/--ve
r
bose option
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-04-23
Mi
c
hael Hagg
e
r
ty
RelNot
e
s: wordsmithing
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-04-23
Mi
c
h
ael Haggerty
RelNotes: re
f
er to the r
e
b
a
se -i "todo list
"
, not
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-04-23
Mic
h
ael Haggerty
RelNotes:
c
orrect
n
ame of versionsort
.
prerelea
s
eSuffix
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-04-23
M
ichael Hagg
e
rty
g
i
t ta
g
: ment
i
o
n
v
e
r
s
ionsort
.
prere
l
easeSuffi
x
in manp
a
ge
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-03-05
Michael Haggerty
ref
l
o
g
_exp
i
r
e
(): never
u
pdate
a
r
eference
t
o null_sha1
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-03-05
Michael Hagger
t
y
reflog
_
e
x
pire
(
): ignore --
u
pd
a
te
r
ef
for symbolic
r
e
f
erences
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-03-05
Michae
l
Ha
g
ger
t
y
reflog: improve and u
p
date docu
m
e
nt
a
tion
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-03-05
Michael Haggert
y
lock_ref_sha1_
b
a
sic
(
): do
n
ot set force_wri
t
e for miss
i
ng
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-03-05
M
i
cha
e
l
Hagg
e
rty
write_ref_sh
a
1
(
): move write elisi
o
n test to
c
allers
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-03-05
Michael Haggerty
w
r
ite_ref_sha1(): re
m
o
v
e check for lock =
=
NULL
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Michael Haggerty
refs
.
h: remove duplication i
n
f
u
n
ction docstrings
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Michae
l
Haggerty
update_ref(): impr
o
ve documentati
o
n
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Michael Hag
g
ert
y
ref_transaction_verify(): n
e
w fu
n
c
t
ion t
o
che
c
k a reference
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
M
ichae
l
H
a
ggerty
ref_trans
a
ction_delete(): che
c
k
that
o
ld_sha1 is not
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Mich
a
el
H
agger
t
y
re
f
_trans
a
ction_
c
reate(): check that
new_
s
ha1 is valid
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Michael Hagger
t
y
commit:
avoid race wh
e
n
cre
a
ting orphan c
o
m
mits
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Michael Haggerty
commit: ad
d
test
s
o
f commit races
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Michael Hagger
t
y
ref_tra
n
sact
i
on_d
e
lete(): remove
"
ha
v
e
_
o
l
d" paramet
e
r
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Mich
a
el Haggerty
ref
_
transaction
_
update(): rem
o
ve "have_old"
p
arameter
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Micha
e
l Hag
g
e
rty
str
u
ct ref_update: mov
e
"have_old" into "fl
a
gs"
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Michael
H
aggerty
refs
.
c: ch
a
nge
some "flags" t
o
"unsigned int"
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-12
M
i
chael
H
aggert
y
ref
s
:
remove the gap in the
R
EF_
*
c
o
n
stant values
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-12
M
i
chael Haggerty
refs: move REF_DELETING
t
o refs
.
c
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-22
Mich
a
e
l
Haggerty
l
o
c
k_any_ref_for_u
p
date()
:
i
n
line funct
i
on
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-22
Michael
H
aggerty
reflog_expire(): new fu
n
ction in the
reference API
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
M
i
chael Hag
g
erty
exp
i
re
_
reflo
g
(
)
: treat the policy c
a
llb
a
ck
d
ata
as
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Mic
h
ael Hagge
r
ty
Mov
e
newl
o
g an
d
last
_
k
e
pt_
s
h
a
1 to
"str
u
ct ex
p
ire_reflog_
c
b"
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael Hagge
r
ty
expire_r
e
flog():
m
o
ve rewrite to
flags ar
g
u
m
e
nt
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael Hagger
t
y
exp
i
re_
r
ef
l
og(): mo
v
e verbose to flags argument
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael
Hag
g
erty
expire
_
reflo
g
(): p
a
ss fl
a
gs through
to e
x
pir
e
_reflog_
e
n
t
()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Micha
e
l
H
ag
g
e
rty
struct e
x
pire_reflog_cb: a
n
e
w
callback da
t
a
type
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
M
ichael H
a
ggerty
Rename expire_reflog_cb to expi
r
e_reflog_policy_cb
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael
Haggerty
expire
_
refl
o
g(
)
: move updateref to flags argument
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael Hag
g
erty
expire_reflog(): mov
e
dry_
r
un to f
l
a
g
s argume
n
t
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Mich
a
e
l Haggerty
expi
r
e
_
reflo
g
(): add
a
"flags" argument
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael Ha
g
ger
t
y
expire_r
e
flog(): extrac
t
two poli
c
y-r
e
lated fun
c
tions
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Mich
a
el Hag
g
erty
E
xtra
c
t function sho
u
ld_expi
r
e_re
f
log_ent()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Mic
h
ael Haggerty
e
x
pire
_
reflog(
)
: u
s
e
a lock_file
for
r
e
w
r
it
i
ng the
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael Haggerty
expire
_
r
eflog()
:
return
e
a
r
l
y
i
f
t
he re
f
eren
c
e has
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Mic
h
ael Ha
g
g
e
r
t
y
exp
i
re_reflo
g
()
:
rename "r
e
f"
p
arameter to "refname"
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Mic
h
ael Hagge
r
ty
expire_reflog(): it's
not a
n
each_ref_fn a
n
ymore
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-11
Micha
e
l
Haggerty
update-ref: fix "ve
r
ify" co
m
man
d
with missing
<
o
ldvalue>
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-11
Mic
h
ael Hagg
e
rty
t1400: a
d
d some
more
tests
of "
u
pd
a
te-ref --
s
td
i
n
"
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-25
M
i
chael
Hagger
t
y
so
r
t_stri
n
g_list()
:
ren
a
me
t
o s
t
ri
n
g_list_
s
or
t
(
)
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-25
Mich
a
el Haggerty
prune_remot
e
(): iter
a
te using for_eac
h
_strin
g
_list_
i
tem()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-25
Mi
c
hael
H
agge
r
ty
prune_remote(): r
e
n
a
me
l
ocal
v
a
r
iable
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-25
Mic
h
ael Haggerty
repack_without_refs(): make the
r
e
f
n
ames ar
g
umen
t
a
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-25
Michael Hag
g
e
r
ty
prune
_
remo
t
e(): sort
delete_re
f
s_list ref
e
r
e
nces en
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-25
Michael
Ha
g
gerty
p
r
u
ne_
r
emote(): initialize b
o
th delete_ref
s
lists in
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-25
Mi
c
hael Ha
g
g
e
rty
prune_
r
emote(): exit early if there
are no stale refere
n
ces
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-18
Mich
a
el Hagge
r
ty
crea
t
e_de
f
a
u
l
t
_
fil
e
s():
don't set u+x bit on $GIT_DIR
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-17
Micha
e
l Haggerty
c
md_config():
m
ake a
c
opy of
path ob
t
ained from git_path()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
c
o
mmit_
p
ack
e
d
_refs(): reimplemen
t
us
i
n
g
f
d
op
e
n_lo
c
k_fil
e
()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
ichael Hag
g
erty
dump_marks(): reimpleme
n
t using fdopen_lock_file()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagge
r
ty
fdopen_
l
ock_
f
ile(
)
:
access a lockfi
l
e using stdio
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
ha
e
l Haggerty
lo
c
kfile
.
h: ex
t
ract n
e
w
h
e
a
der
file for
t
he
f
u
n
ct
i
o
n
s
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Ha
g
gerty
ho
l
d_
l
ocked_inde
x
(): move from lockfile
.
c
to read
-
cac
h
e
.
c
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagge
r
ty
hold_lock_
f
il
e
_for_appe
n
d(): resto
r
e errno before returning
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mich
a
el Haggerty
ge
t
_locked_file_path
(
)
:
n
ew f
u
nction
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
lockfile
.
c
:
r
e
nam
e
s
tatic f
u
nctions
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
lockfile: rename LOCK_NODEREF t
o
L
O
CK
_
N
O_
D
E
R
EF
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chael Haggerty
co
m
mit_lock_file_to
(
):
r
e
f
acto
r
a hel
p
er out of
c
o
m
mit_
l
ock_
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chael Haggerty
trim
_
las
t
_pat
h
_compon
e
n
t
(
): replace last_path_elm()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggert
y
resolve_symlink
(
):
take a strbuf param
e
ter
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagge
r
t
y
re
s
olve_symlink(): use a s
t
r
b
uf for
i
nt
e
rnal scrat
c
h
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagge
r
ty
lockfile: change l
o
c
k_fi
l
e
:
:filename into a strbuf
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chael H
a
ggerty
commit_lock_
f
il
e
(): use a st
r
b
uf to ma
n
ag
e
temporary
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
hae
l
Haggerty
try_
m
erge
_
strategy(): use a
s
tatically-
a
l
l
oc
a
ted lock_file
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michae
l
Ha
g
g
e
rt
y
try
_
merge_str
a
tegy(): remove redund
a
nt lock_file allocation
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Micha
e
l Hag
g
erty
struct lock_file: declare some f
i
e
l
ds vo
l
atile
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
lockfil
e
: a
v
oid t
r
ansito
r
y
i
nvalid stat
e
s
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mich
a
el Hag
g
e
rt
y
git
_
con
f
ig
_
set_multivar
_
in_file()
:
avoid call to rollback_lo
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
dump_mark
s
(): remove a re
d
undant cal
l
to rollback_l
o
ck_file(
)
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mic
h
ael Haggerty
api-loc
k
file: document e
d
ge cas
e
s
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Ha
g
gerty
commit_lock_file(): rol
l
bac
k
lock fi
l
e on f
a
ilure
to
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Ha
g
gerty
clo
s
e_
l
ock_file(): if close fails, roll ba
c
k
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
c
o
mmit_l
o
ck_
f
ile(): die() if ca
l
led for un
l
ocked lo
c
k
file
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chael Haggerty
commit
_
lo
c
k_file(): i
n
line temporary
v
ariable
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael
Ha
g
gerty
r
emove
_
lo
c
k_
f
ile(): call rollb
a
c
k_lock_file()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michae
l
Haggerty
lock_file():
e
xit ea
r
ly if
lockfil
e
cannot be open
e
d
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
icha
e
l Haggerty
prepare_inde
x
(
):
d
eclare return value to be (cons
t
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
ichael H
a
ggerty
delete_ref_
l
oose(): don't muck around in the lock_file
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
hae
l
H
aggerty
cach
e
.
h: defi
n
e co
n
s
t
ants LO
C
K
_S
U
FFI
X
and
LOCK
_
SUFFIX_LEN
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
i
cha
e
l
Hagger
t
y
lockfile
.
c
:
document the vari
o
us state
s
of lock_file
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
lock_f
i
le(): alwa
y
s ini
t
ia
l
i
ze
a
n
d
registe
r
lock_file
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mich
a
el Haggerty
hold_lock_fi
l
e_f
o
r_append(): releas
e
l
o
ck on errors
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
lockfile: u
n
lock file if lockfile pe
r
missions cannot
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Micha
e
l Haggerty
rollback_lock_fil
e
(): set fd to -1
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagg
e
rty
rollba
c
k
_lock_file():
exit early if
lock i
s
n
o
t active
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mich
a
el H
a
ggerty
ro
l
lback_lock_file():
d
o not clear
filena
m
e redunda
n
tly
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michae
l
Hagg
e
rty
close_lock_
f
i
l
e(): e
x
it
(succe
s
sfully) if
file
is already
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagg
e
rty
api-lockfile: revise and expand the document
a
tio
n
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagg
e
rty
unab
l
e
_
to_lock_di
e
()
:
r
e
n
a
m
e func
t
i
on from unab
l
e
_to_lo
c
k_in
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
next