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
M
ichael Haggerty
re
f
_tra
n
saction
_
c
ommit(): fix atomicit
y
and av
o
id fd
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-05-13
Michael Haggert
y
ref_transaction_commit(): rem
o
v
e the local flags
variab
l
e
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-05-13
Mic
h
ae
l
Haggerty
ref_
t
ransaction_commit(): inline call to write_ref_sha1(
)
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-05-13
Michael Hag
g
erty
rename_
r
ef()
:
inline calls to write_ref_sha1() from
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-05-13
M
i
c
hael Hagge
r
ty
c
ommit
_
ref_update():
new fu
n
ction, extracted fr
o
m wr
i
te_ref_
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2015-05-13
Mic
h
ael
Haggerty
write_ref_to_lock
f
ile():
new func
t
ion, extracted from
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-11-18
Michael Hagger
t
y
c
r
eate_defau
l
t
_
files(): don't set u+x bit on $G
I
T_DIR
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mic
h
ael H
a
ggerty
com
m
it_packed_refs(
)
: reimplement usin
g
fdope
n
_l
o
ck_file
(
)
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michae
l
Haggerty
dump_marks(
)
: reimpl
e
ment using fdopen
_
lock_
f
ile()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
hael Hagger
t
y
f
dop
e
n_lock_file(): access a lockfile using stdio
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mich
a
e
l
Haggerty
lockfile
.
h: ext
r
a
c
t new head
e
r fil
e
for the functions
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
hael
Hagge
r
ty
hold
_
locked
_
index(): mo
v
e
f
rom loc
k
fil
e
.
c
to read-cache
.
c
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Ha
g
gerty
hold_lock_f
i
le_for_a
p
pend(): restore errno
b
efo
r
e returning
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
M
ichael Haggert
y
get_lo
c
ked_file_path(): new function
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael
H
a
ggert
y
lockfile
.
c: rename
static
f
unctions
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
hael Hagg
e
r
t
y
lockfile: rename LOCK_NODEREF to LOC
K
_NO
_
DEREF
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
hael Hag
g
erty
commit_lo
c
k_fi
l
e
_
to(
)
: refac
t
or
a helper out of commit_lock_
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hag
g
erty
trim_last_p
a
th
_
c
o
mponent():
replace
last_pa
t
h_elm()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
resolv
e
_sym
l
ink(): take a s
t
rbuf paramete
r
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
resolve_symlink(): u
s
e a strbuf for internal scrat
c
h
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michae
l
Hagge
r
ty
lockfile: change lock
_
file::filen
a
me into a st
r
buf
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chael H
a
gge
r
ty
commit_lock_file(): us
e
a strbuf t
o
manage
t
e
m
porary
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mic
h
a
el
H
aggerty
try_merge_
s
trategy(): use a s
t
atic
a
l
ly-allocated l
o
ck_file
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mich
a
el Ha
g
g
e
r
ty
t
r
y_merge_strat
e
gy(): remove redundan
t
lock_file al
l
ocation
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagg
e
rty
struct lock_file: decl
a
re some fields volat
i
l
e
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chael Haggerty
lockfil
e
:
avoid transitory invalid states
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael H
a
ggerty
g
it_config_set_multivar_in_fi
l
e():
avoi
d
call t
o
roll
b
ac
k
_
l
o
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael
Haggerty
dump_marks()
:
remove a redun
d
ant call to rollbac
k
_lock
_
f
ile()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
M
i
c
h
ael H
a
g
g
e
rty
api-lockfile: docume
n
t edge
cases
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mic
h
ael Haggerty
co
m
mit_lock_file(): rollba
c
k lo
c
k
f
i
le on failure
t
o
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
hael Haggerty
c
l
ose_lock
_
file(): if c
l
o
se fails, rol
l
ba
c
k
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
hae
l
Ha
g
g
e
rty
commit
_
lock_file
(
): die() if cal
l
ed for
u
nlocked lockfile
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
M
ichael Haggerty
c
omm
i
t_lock_f
i
le(): inline temporar
y
varia
b
le
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
r
emove_lock
_
file(): cal
l
rollback_lock_
f
ile()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael
Hagge
r
ty
lock_file(): exit
e
a
r
ly if l
o
c
k
file can
n
ot be opened
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Mic
h
ael Hagger
t
y
prepare_inde
x
(): declare
r
et
u
rn value
t
o b
e
(const
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
delete_ref_loose(): don't mu
c
k around in the lock_
f
ile
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael
H
aggerty
cache
.
h:
define con
s
tants LOCK_SUFF
I
X and LO
C
K
_SUFFIX_
L
E
N
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael H
a
ggerty
lockfile
.
c: docum
e
nt the
various stat
e
s
of lock_file
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael
H
aggert
y
lock
_
file():
alway
s
init
i
a
l
i
z
e and regi
s
ter l
o
ck_file
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
hold_l
o
ck_file_fo
r
_append(): release l
o
c
k
o
n
e
rro
r
s
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael H
a
ggerty
l
ockfile: unlock
fil
e
i
f lockfile
p
erm
i
ssions cannot
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagg
e
rty
rollback_lock_file(): set fd to -1
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
rol
l
back
_
l
ock_fil
e
(): exit early
if lock
i
s
no
t
active
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Micha
e
l Hagger
t
y
r
ollb
a
ck_lock_file(): do not clear fi
l
en
a
m
e
r
e
dundantly
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Ha
g
gerty
close_lock_file(): exit (successful
l
y) if file i
s
already
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Ha
g
gerty
api-lockfi
l
e: re
v
i
se and exp
a
n
d
the documentation
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
una
b
le_to_lock_die():
r
enam
e
fun
c
tio
n
from unab
l
e_to_loc
k
_
i
n
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Mi
c
hael Haggerty
ref_trans
a
ct
i
on_c
o
mm
i
t
(): work
w
ith t
r
ansactio
n
->update
s
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggert
y
struct ref_update: add a type fie
l
d
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Mich
a
e
l Haggerty
struct ref_update: a
d
d a lock field
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Mic
h
a
e
l Hag
g
e
rty
ref_tra
n
saction_com
m
it(
)
: simplify co
d
e using temporar
y
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Mi
c
hael Ha
g
g
erty
struct ref_up
d
ate: store refna
m
e
a
s
a FLEX
_
AR
R
AY
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michael
Ha
g
g
e
rt
y
struct
r
e
f_update: rena
m
e fi
e
ld "
r
ef
_
name
"
t
o "ref
n
ame"
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggerty
r
efs: remove API func
t
ion u
p
date_refs()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Micha
e
l Hag
g
ert
y
update-ref --stdin: reimpleme
n
t using reference transactions
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michael Hagg
e
rty
refs: add a concept of a referenc
e
transaction
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggert
y
u
pdate-r
e
f --stdin: har
m
o
ni
z
e error me
s
sages
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Mi
c
hael H
a
g
ger
t
y
u
p
date-
r
ef
-
-
s
tdin: improve the
er
r
or message f
o
r unexpecte
d
EOF
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Mich
a
e
l Ha
g
g
e
rty
t1400: test o
n
e m
i
stake
a
t a time
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michael Ha
g
gert
y
update-re
f
--stdin
-z:
deprecate interpr
e
ting the
empty
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
M
ichael Haggerty
upda
t
e-r
e
f
.
c:
e
x
t
ra
c
t a
ne
w
fu
n
c
t
ion, parse_next_sha1()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michael
H
aggerty
t1400:
t
est that stdin -z update treats empty
<newvalue
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggerty
update
-
ref -
-
stdi
n
: simpl
i
f
y e
r
ror messages for missing
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Mi
c
hael
H
ag
g
erty
u
pdate
-
re
f
--
s
tdin: make erro
r
m
es
s
ages m
o
r
e
consistent
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggerty
updat
e
-ref --stdin: imp
r
ove error messag
e
s for inval
i
d
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Mi
c
h
a
el H
a
ggert
y
update-ref
.
c: extract a ne
w
function, parse_refname()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michael Hagge
r
ty
pars
e
_cmd_verify(): copy old_sha1 instead of eval
u
atin
g
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggerty
update-ref --st
d
in: read
the whole input at once
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michael
H
a
g
gerty
update_refs(): fix constness
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Mic
h
ael Haggerty
refs
.
h: rename the action_o
n
_e
r
r
c
on
s
t
a
nts
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggerty
t14
0
0:
add some m
o
re tests
i
nv
o
lving quoted arguments
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michael Hagger
t
y
parse_arg()
:
rea
l
ly test
tha
t
argument is properly
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michae
l
Haggerty
t1400
:
provide more
us
u
al input to the command
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michael Hagge
r
t
y
t14
0
0: fix nam
e
and expected
r
es
u
l
t
o
f
one
test
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-04-07
Michae
l
Haggerty
git-multima
i
l:
u
pdate to version
1
.
0
.
0
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-03-13
Michael
H
a
ggerty
entry
.
c: fix possible b
u
ffer overflow i
n
r
e
move_
s
ub
t
r
ee()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-03-13
M
ichael Haggert
y
checkout_entry(): use the strbuf through
o
ut the fu
n
ction
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-03-05
Michael Haggerty
cache_tree_find
(
):
us
e
path variable w
h
e
n pa
s
sing over
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-03-05
Mi
c
hael Haggerty
ca
c
he_
t
ree_fin
d
(): remove early return
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-03-05
M
ichael Haggert
y
cach
e
_
t
re
e
_find(): remove redundant check
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-03-05
Mic
h
a
el Haggert
y
c
ache
_
tree_find(
)
:
f
i
x com
m
ent formatting
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-03-05
Michae
l
Hagg
e
rty
cache_tree_find()
:
find
t
he end of path component usi
n
g
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-03-05
Michael Haggerty
cache_tree_find
(
): remov
e
r
e
dundant checks
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-02-28
Mich
a
el Haggerty
D
ocument som
e
fu
n
ct
i
ons defin
e
d
in obje
c
t
.
c
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-02-28
Michael
H
aggerty
Add docstrings for
loo
k
up_replace_object()
and do_lookup_rep
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-02-25
Mi
c
hael Haggerty
sha1_file
.
c: document a bunch of functions defined
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-02-24
Michael
H
aggerty
sha1_file_na
m
e(): declare to
r
e
turn a con
s
t st
r
ing
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-02-24
Michael Hag
g
erty
find_pac
k
_
e
ntry(): document last_found_pack
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-02-24
Michael Haggerty
re
p
l
ace_obje
c
t: use struct
members
i
nstead
of an a
r
r
a
y
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-02-20
M
ichael Haggerty
rename read
_
re
p
lace
_
r
efs to ch
e
ck_replace_refs
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-01-27
Mich
a
el Hagger
t
y
doc
:
remote
author/documentation sections from more
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-01-22
Michael Haggerty
Add cross-references between docs
for for-each-
r
e
f
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-01-22
Michael Haggerty
safe_c
r
e
a
te_leading_dir
e
ctories():
o
n Window
s
,
\
c
an
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-01-21
Michael Hagge
r
t
y
rena
m
e_tm
p
_log():
on SC
L
D_VANI
S
HED,
r
e
t
ry
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-01-21
Michae
l
Haggerty
rename_tmp
_
log(): limit
t
he number of remote_emp
t
y_d
i
rectori
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-01-21
Michael Haggerty
re
n
ame_tmp_log()
:
handle
a
possible mkdir/rmdir
ra
c
e
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-01-21
M
i
ch
a
el Hagg
e
rt
y
rename_ref(): ex
t
ract func
t
io
n
rename_tmp
_
lo
g
()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-01-21
Mi
c
hael
Hagg
e
rty
remove_di
r
_recurse(): han
d
le disa
p
p
earing f
i
l
e
s and
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2014-01-21
Michael Haggerty
r
emove_dir_rec
u
rse():
tight
e
n c
o
nd
i
tion for
re
m
ovi
n
g
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
next