repo.or.cz
/
alt-git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
struct nonmatching_ref_data: store a refname instead of a ref_entry
2015-05-11
Michael Haggerty
s
t
ruct no
n
matching
_
ref_
d
ata: sto
r
e a refname
i
nstead
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-05-11
Michael
Haggerty
report_refname_
c
onflict
(
): inline funct
i
on
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-05-11
Michael
H
aggerty
entr
y
_matc
h
es(): inli
n
e function
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-05-11
Mic
h
ae
l
H
a
g
g
erty
is
_
ref
n
a
m
e_avai
l
a
b
le
(
): convert loc
a
l
variable "di
r
name
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-05-11
Michael Hagge
r
t
y
i
s
_ref
n
ame_
a
vailabl
e
(): a
v
oid shadowing "dir" variable
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-05-11
M
i
chael Haggerty
is_refname_availa
b
le(): revamp
t
he
c
omments
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-05-11
Mi
c
hael Haggerty
t140
4
: n
e
w tests
o
f
ref D
/
F conflicts withi
n
tr
a
n
s
act
i
ons
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-04-28
Mi
c
hael Haggerty
U
p
d
a
te
git-multimail
to v
e
rs
i
o
n
1
.
0
.
2
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-04-24
Michael Hagg
e
rty
status: document the -v/--v
e
r
b
os
e
option
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-04-23
Michael Haggerty
RelN
o
tes: wordsmithing
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-04-23
Mich
a
el Hagg
e
rty
R
e
lN
o
tes:
refer to
t
h
e
r
ebase
-
i
"t
o
do
list", not
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-04-23
Michael
H
ag
g
erty
RelNo
t
es: corr
e
ct name
o
f versionsort
.
prere
l
easeS
u
ffix
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-04-23
M
i
chae
l
Ha
g
g
erty
git
tag: menti
o
n ver
s
io
n
sort
.
p
r
ereleaseS
u
f
f
ix in m
a
npage
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-03-05
Michael H
a
ggerty
ref
l
o
g
_exp
i
re():
never update a reference to null_s
h
a1
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-03-05
Mich
a
el
H
aggerty
r
eflog_expire(): ignore
-
-updateref
f
or sym
b
o
l
ic references
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-03-05
Mi
c
hael Haggerty
reflog: improve a
n
d
u
p
d
ate document
a
tion
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-03-05
Mic
h
ael
Hagger
t
y
lock_ref_s
h
a
1_basic():
do no
t
se
t
fo
r
ce_write for miss
i
ng
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-03-05
Michael Haggerty
write_ref_sh
a
1(): move wr
i
t
e
elision test to
c
a
l
lers
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-03-05
Michael Hagg
e
rty
w
rite
_
r
ef_
s
ha1(): remove che
c
k for
lock == N
U
LL
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Michae
l
Haggerty
refs
.
h: re
m
ov
e
dupl
i
cati
o
n
in fu
n
ction docstrin
g
s
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Mic
h
ael Haggerty
update_ref(): impro
v
e d
o
cumentation
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
M
i
chael Hag
g
erty
ref_
t
ransaction_veri
f
y(): new
f
unc
t
ion to c
h
eck
a referenc
e
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
M
i
chael H
a
ggerty
ref_tra
n
saction_dele
t
e():
c
heck that
o
ld_sha1 i
s
not
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Michae
l
Hagger
t
y
ref_transaction
_
c
r
e
a
t
e
(): chec
k
that new_sha1 is v
a
lid
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Michael
H
aggerty
commit:
avoid
race when creating orphan c
o
mmits
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Mich
a
el Hagg
e
rty
co
m
mit: add tests of commit r
a
c
es
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Michael Haggerty
r
ef_transac
t
ion
_
delete():
r
emove "
h
a
ve_old" parameter
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Michael Haggerty
r
ef_transa
c
tion_upd
a
te()
:
remo
v
e "ha
v
e_old" p
a
ramet
e
r
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Michael H
a
ggerty
st
r
u
c
t re
f
_
u
p
d
ate: move "have_old"
into "flags"
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-17
Mic
h
ae
l
Haggerty
refs
.
c
: ch
a
nge som
e
"flags"
t
o
"
u
nsigned int"
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-12
Mic
h
ael Haggerty
r
e
fs: rem
o
ve th
e
gap in
t
he REF_* constant values
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2015-02-12
Michael H
a
ggerty
refs: move REF_DELETING to refs
.
c
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-22
Mich
a
el Haggerty
lock_any_ref_for_upd
a
te()
:
in
l
ine
f
u
nction
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-22
Michael Hagger
t
y
reflo
g
_expire(): n
e
w function in the
reference
A
PI
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Mic
h
ael H
a
ggert
y
e
x
pire_reflog(): tr
e
at th
e
policy callback data as
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Mi
c
hael Haggerty
Move newlog and
l
ast
_
kept_
s
h
a1 to "str
u
ct ex
p
ire_reflog_cb"
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael Ha
g
ge
r
ty
expire
_
reflog(
)
: move rewr
i
t
e t
o
f
lags argument
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael Haggerty
e
x
pire
_
reflog()
:
move verbose to flags ar
g
ument
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael Ha
g
ge
r
ty
expire
_
reflog():
p
a
ss flags t
h
rough to expi
r
e
_reflog_ent
(
)
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Mi
c
hael H
a
ggerty
str
u
c
t
exp
i
re_reflog_cb: a new c
a
llbac
k
d
ata
type
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael Hagge
r
ty
R
en
a
m
e
ex
p
ire_reflog_cb to expire_reflog_policy_c
b
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael Haggerty
expi
r
e_r
e
flog(): move updateref to flags
a
rgum
e
nt
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
M
i
chael Hag
g
erty
expire
_
reflog
(
)
:
m
o
v
e
dry_ru
n
to flag
s
argu
m
ent
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael
H
aggerty
expir
e
_reflog(): add a "flags" argument
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael H
a
ggerty
e
xpire_reflog(): extract two poli
c
y-re
l
ated functions
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael Haggerty
Ext
r
ac
t
f
u
nct
i
on should_expire_r
e
fl
o
g_ent(
)
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael Haggerty
expire_reflo
g
(): use a lock_file for rewriting
t
h
e
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Micha
e
l H
a
ggerty
expire_reflog
(
): return early if the re
f
erence has
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Mi
c
h
ael Haggerty
expire_
r
eflog(): re
n
ame "ref" pa
r
ame
t
er to
"refname
"
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-12
Michael Haggerty
expire_refl
o
g():
i
t
's no
t
an
e
ach_r
e
f_fn anymo
r
e
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-11
Michael Hag
g
erty
update-ref
:
f
i
x
"
verify" c
o
mmand with mis
s
i
n
g <old
v
alue>
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-12-11
Micha
e
l Ha
g
ge
r
ty
t1400: add some more tests of "updat
e
-ref --stdi
n
"
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-25
Michael
H
ag
g
erty
sort_string_li
s
t(): rename to string_
l
ist_sort()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-25
Mi
c
ha
e
l H
a
g
gerty
prune_remote(): ite
r
ate using fo
r
_each_strin
g
_list_item()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-25
Michael Haggerty
p
rune_remote(
)
: rename lo
c
a
l
var
i
able
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-25
Michael Ha
g
gerty
r
e
p
a
ck_without_refs(): make the
refnam
e
s a
r
gument a
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-25
Michael Hagg
e
rty
pr
u
n
e_r
e
m
o
te
(
)
: s
o
rt delete_re
f
s_list references e
n
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-25
Mic
h
ael Haggerty
prune_remote():
i
n
i
t
ialize
b
oth delete_refs
lists
i
n
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-25
M
i
chael Hagg
e
rty
prune_
r
emote(): exit early if
t
here
a
re no sta
l
e refe
r
ences
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-18
Michael Haggerty
create_defa
u
lt_files()
:
d
on't set u+x bit on $GIT_DIR
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-11-17
Michae
l
Haggerty
cmd_config
(
): make
a
c
opy of path obtai
n
ed from git_path()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
c
ommit_packed_refs()
:
reimplement
u
s
ing fdopen
_
lock_file
(
)
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mic
h
ael
Haggert
y
dump_marks(): reimpleme
n
t using fdo
p
en_loc
k
_file()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
fdopen_lock_file
(
): access
a
lockfile using stdio
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hag
g
erty
l
o
ckfile
.
h: extract new h
e
ader
file for th
e
functi
o
ns
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael
H
a
gg
e
rty
hold_locked_inde
x
(
)
:
m
ove from lockfile
.
c to
read-cache
.
c
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
hold_
l
ock_file_fo
r
_append(): re
s
tore er
r
n
o
before
r
e
t
u
rning
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
ichael Haggerty
get_loc
k
ed_f
i
le_pa
t
h
(): new func
t
ion
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagg
e
rty
lockfile
.
c: rename stati
c
funct
i
o
ns
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michae
l
Hagger
t
y
lock
f
ile: rename LOCK
_
NO
D
EREF to
L
OCK_NO_DEREF
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mic
h
ael
Ha
g
g
e
rty
c
o
m
m
it_lock_file_
t
o
(
):
r
e
factor a helper out of commit_lock_
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
trim_last_path
_
componen
t
()
:
replace las
t
_path_elm()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chael
H
aggerty
resolve_symlink
(
)
:
t
a
ke a strbuf parameter
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagge
r
t
y
reso
l
ve
_
symlin
k
(): u
s
e
a strbuf for internal
scratch
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagger
t
y
loc
k
file
:
cha
n
ge lock_file::filename i
n
to a
s
trb
u
f
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
commit_l
o
ck_file(): use a strbuf to manage t
e
mpora
r
y
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
try_m
e
rge_s
t
rat
e
gy()
:
use a statically-allocated lock_
f
ile
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
t
r
y
_mer
g
e_
s
tra
t
eg
y
(): remov
e
redundant lock_file allocat
i
on
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael H
a
gger
t
y
struct lock_file
:
declare some
f
i
e
lds volati
l
e
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
l
ockfile
:
avoid t
r
ansi
t
ory invalid stat
e
s
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chael H
a
ggerty
git_conf
i
g_set_mul
t
ivar_in_file(): a
v
oid call to
rollback_lo
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chael Haggerty
d
u
m
p_mark
s
(): re
m
ove a
r
edun
d
an
t
call to ro
l
l
back_lock_fi
l
e()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
i
c
h
ael H
a
ggerty
api-lockfile:
d
ocu
m
ent e
d
ge cases
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
hae
l
Haggerty
commit_loc
k
_
file(): rollbac
k
lock file on
failure to
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagg
e
r
ty
cl
o
se_l
o
c
k_file()
:
if close
fails
,
ro
l
l
back
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
c
ommi
t
_lo
c
k_file(): die()
if
c
al
l
ed for
unlocked lockf
i
l
e
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
commit_loc
k
_fi
l
e(): inline tempor
a
ry variable
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
ichael
Haggerty
rem
o
ve_lock_fi
l
e(): call rollback_lock_file()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagge
r
ty
lo
c
k_file(): exit
e
arly if lockfile canno
t
be ope
n
ed
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael
Haggerty
prepare_i
n
dex(
)
:
declare r
e
turn value to be (const
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael H
a
ggerty
de
l
ete_ref_loose(): don't muck around in the lock
_
file
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
ichael Haggerty
cache
.
h: define constants LO
C
K
_SUFFIX and LOCK_SUFFIX_LEN
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael
H
a
ggerty
lock
f
i
l
e
.
c: document the various
s
t
a
t
es of lo
c
k_f
i
l
e
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
i
ch
a
el H
a
ggerty
lo
c
k
_file(): always init
i
alize and regi
s
ter lock_file
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hag
g
erty
h
o
l
d_l
o
ck
_
f
ile_
f
or_append(): release
l
ock o
n
e
rr
o
rs
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
lock
f
ile: unlock fil
e
if lockfile
permissions canno
t
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael
H
a
g
g
e
r
ty
rollba
c
k_lock
_
file(): s
e
t
f
d
to -1
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mich
a
el H
a
gg
e
r
t
y
rollba
c
k
_
lo
c
k_
f
il
e
(): exit
e
arly
if loc
k
is
n
ot active
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
rollback_lock_file(
)
:
do
n
ot clear f
i
lenam
e
redundantly
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michae
l
Hagge
r
ty
c
l
ose_lock_file(): exit (successfully) if fil
e
is already
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
next