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
hold_lock_file_for_append(): restore errno before returning
2014-10-01
Mic
h
ael Hag
g
e
r
t
y
ho
l
d_lock_file_
f
or_appen
d
(
)
: restore errn
o
be
f
ore returning
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael
Haggerty
g
e
t
_
lock
e
d_file_p
a
th():
n
e
w
fun
c
tion
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hag
g
er
t
y
l
o
ckfile
.
c
:
r
e
name stati
c
functions
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagg
e
rty
lockfile: rena
m
e
L
O
CK_NODEREF t
o
LOCK_NO
_
DEREF
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Ha
g
gerty
commit_lock_fi
l
e_to()
:
refact
o
r a hel
p
er out
o
f commi
t
_lock_
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael H
a
ggerty
trim_last_path_component(): replace la
s
t_path_elm()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael
Haggerty
re
s
olve_symlink():
take a
s
trbuf parameter
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chael Hagg
e
rty
resol
v
e_symlink
(
): use a strbuf
for i
n
t
ernal s
c
ratch
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
ichael Hagg
e
rt
y
lockfile: change lock_file::f
i
l
en
a
m
e
into a strbuf
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Micha
e
l Haggerty
commit_lo
c
k_file()
:
use
a s
t
rbuf
t
o m
a
nag
e
t
emporary
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Micha
e
l Haggerty
try_merge_s
t
rategy(): us
e
a
s
tatically-allo
c
ated
l
o
ck_fi
l
e
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Micha
e
l Haggerty
try_merge_strategy(): remove re
d
u
nd
a
n
t lock_file alloc
a
tion
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Ha
g
g
e
rty
s
t
r
uct lock_file: declar
e
so
m
e
f
ields vol
a
tile
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mich
a
el Ha
g
gerty
lock
f
i
l
e: avoid transitory invalid states
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chae
l
Hagg
e
rty
g
i
t
_
config_set
_
m
ultiv
a
r_in_file(): avoid call
t
o rollback_lo
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mic
h
ael Haggerty
dump_m
a
rks()
:
rem
o
ve a redundant call to rollback_lock_file(
)
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mic
h
ae
l
H
aggerty
api-loc
k
fi
l
e: doc
u
m
e
nt edge
cases
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael H
a
ggert
y
commit_lock_fil
e
(): rollback l
o
ck fil
e
on failure to
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mich
a
el Haggerty
cl
o
s
e
_lock_file(): if c
l
ose
f
ails, roll back
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
commit_lock
_
fil
e
(): d
i
e()
i
f ca
l
l
e
d for unlocked lockfile
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
comm
i
t_
l
o
ck_file(): inline tempor
a
ry variable
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mi
c
h
ael Haggerty
remove_lock
_
file():
c
a
ll rollback_loc
k
_file()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Micha
e
l
H
aggerty
lock_fi
l
e(
)
: exit early if lockfile canno
t
be opened
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chael Haggerty
pr
e
pare_
i
ndex(): declare
r
e
t
ur
n
val
u
e to be (const
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Mich
a
el Haggert
y
delete_ref_loos
e
()
:
do
n
't
m
uck arou
n
d i
n
the lock
_
file
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hag
g
erty
cache
.
h:
d
e
fine constants LOCK_SUFFIX
and LOCK_S
U
FFIX_LEN
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagge
r
ty
lockfile
.
c: d
o
cument the various
st
a
te
s
of lock_f
i
l
e
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Micha
e
l
Hagger
t
y
lock_file(): a
l
ways initia
l
ize
a
nd regi
s
ter lock_file
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
hold
_
lock_file_fo
r
_ap
p
end(): re
l
e
a
se loc
k
on errors
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
lockfile: unlock file if lockfile pe
r
missions c
a
n
not
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hag
g
erty
rollback_lock_f
i
le()
:
s
e
t
fd to
-
1
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
rollback_lock
_
file()
:
exit
early
i
f lo
c
k is n
o
t active
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Haggerty
r
o
llback_loc
k
_file():
d
o n
o
t
clear filen
a
me red
u
ndantly
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
Michael Hagg
e
rty
close_
l
ock_fil
e
(): exi
t
(succ
e
s
sfull
y
) if file is
already
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
ichael
H
a
ggerty
api-lockfil
e
: re
v
ise
a
n
d
exp
a
nd
t
he do
c
umen
t
ati
o
n
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-10-01
M
i
chael Haggerty
unable_to_lock_die(): rename function from unable_to_lock
_
in
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michael Hag
g
erty
ref_transaction_c
o
mmit(): work
with trans
a
c
t
ion-
>
up
d
ates
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggerty
s
t
ruct
r
ef_update: add a type
fi
e
ld
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
M
i
chael Haggerty
struc
t
r
e
f_update: add a lock fi
e
ld
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michael Hagger
t
y
ref_transacti
o
n_comm
i
t(): sim
p
lify code usin
g
temporary
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggerty
s
t
r
uc
t
r
ef
_
u
pda
t
e: store
refname as
a
FLE
X
_ARRAY
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michael Hagger
t
y
struct ref_update: rename field "ref_name" to "ref
n
ame"
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggerty
refs: remove API funct
i
on update_ref
s
()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggerty
update-
r
ef --stdin: reimp
l
emen
t
usin
g
r
eference tran
s
acti
o
ns
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
M
i
c
h
ael Haggerty
refs: add a co
n
cept of
a
r
e
fer
e
nce transaction
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggerty
update
-
r
e
f
--s
t
din: harmon
i
ze erro
r
messages
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michae
l
Hag
g
erty
u
p
da
t
e-ref --st
d
in: improve t
h
e err
o
r m
e
ssage for unexpected E
O
F
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
M
i
chael H
a
ggerty
t140
0
:
test one mistake at a time
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Mic
h
ael
H
aggerty
upda
t
e-ref
--stdin
-z: depre
c
ate int
e
rpr
e
ti
n
g the em
p
ty
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggerty
update-ref
.
c: e
x
t
ract a new function, p
a
rse_next_sha1()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggerty
t1
4
0
0
: test that
stdin -z update treats
empty <new
v
alue
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
M
ichael Hagge
r
ty
update-ref --
s
tdin: simplify error messages
for missing
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
M
ichae
l
Haggert
y
update-
r
e
f
-
-stdin: make err
o
r me
s
sag
e
s more consiste
n
t
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
M
i
ch
a
e
l
Haggerty
upd
a
te
-
re
f
-
-
stdin
:
impr
o
ve
error m
e
ssages for invalid
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Micha
e
l Hagge
r
ty
u
p
da
t
e-
r
ef
.
c:
e
xtract a new f
u
nc
t
ion, pars
e
_
r
efname
(
)
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
M
i
chae
l
H
a
gg
e
rty
parse_cmd_verify(): copy old_sha1 inste
a
d
o
f
evalu
a
ting
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
M
ic
h
ael
Haggerty
update-ref --stdin:
read the
whole inpu
t
at o
n
ce
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michae
l
H
a
g
g
erty
update_refs(): fix co
n
stn
e
ss
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michael Hag
g
erty
refs
.
h
:
r
e
n
am
e
the
a
cti
o
n
_
on_err constants
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
M
i
chael Haggerty
t
1
400: add s
o
me more
t
e
s
ts
involving q
u
o
t
ed a
r
gum
e
nt
s
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggerty
parse_arg():
r
eally test that arg
u
ment is p
r
operly
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michae
l
Ha
g
gerty
t
14
0
0
: provid
e
more u
s
u
a
l inpu
t
to the command
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Michael Haggerty
t1400
:
fix name and expected result of on
e
test
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-04-07
Micha
e
l Haggerty
git-mult
i
mail: update to version 1
.
0
.
0
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-03-13
Mic
h
a
e
l Haggert
y
e
n
try
.
c: fi
x
p
o
ssible bu
f
fer overflow in
r
em
o
ve_subtree()
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-03-13
Michael
Hagge
r
t
y
c
h
e
c
kout_entry(): use the st
r
b
uf througho
u
t the fun
c
tion
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-03-05
Michael Hag
g
erty
cache
_
t
r
e
e_fin
d
(
)
:
u
se pa
t
h variable when passing over
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-03-05
Michael Hagger
t
y
c
ac
h
e
_
tre
e
_
find(): remove early return
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-03-05
Michae
l
Haggert
y
cache_tree_find()
:
rem
o
ve redundant check
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-03-05
Michael
H
aggerty
cache_t
r
ee_fin
d
(): fix comm
e
nt formatting
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-03-05
Michael Haggert
y
cach
e
_tree_fi
n
d(
)
:
find the end
o
f
p
ath component using
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-03-05
Michael H
a
gg
e
rt
y
cache_tree_find():
r
em
o
v
e
redu
n
dant c
h
ecks
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-02-28
Mic
h
ae
l
Haggerty
Doc
u
ment some funct
i
on
s
defined in object
.
c
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-02-28
Michael H
a
ggerty
A
dd docs
t
r
ings for loo
k
up_replace_object(
)
and do_
l
o
o
ku
p
_rep
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-02-25
Michael Ha
g
g
e
rty
sh
a
1_file
.
c
:
docume
n
t a bu
n
ch of func
t
ions def
i
ned
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-02-24
M
i
chael
H
a
g
gerty
sha1_fil
e
_name(
)
: d
e
cla
r
e to
r
eturn
a
const string
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-02-24
Mic
h
ael Hagg
e
r
ty
find_
p
ack
_
entry(
)
: document las
t
_found_p
a
ck
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-02-24
Micha
e
l Haggerty
replace_object:
u
se struct membe
r
s instead of an
array
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-02-20
M
i
cha
e
l Ha
g
gerty
rename
r
e
ad_repla
c
e_re
f
s
t
o
c
heck_replace_refs
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-27
Mich
a
el Haggert
y
doc: re
m
o
te
a
uthor/doc
u
mentation
s
ections
f
rom
m
ore
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-22
M
i
ch
a
el Haggerty
Add
cross-referenc
e
s between doc
s
f
or
f
or-each-ref
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-22
M
i
chael Haggerty
saf
e
_create_leading_dir
e
c
t
ories(): on Windows, \ can
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-21
M
ichael Haggerty
rename_t
m
p_log(): o
n
S
C
LD_VANISHED,
r
etry
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-21
M
ichael
H
aggerty
re
n
ame_
t
mp_log(): limit
t
he number
of r
e
mote_empty_directo
r
i
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-21
Michael H
a
gger
t
y
rename_tmp
_
l
o
g(): handle a possible mkdir/
r
m
dir race
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-21
Michael Ha
g
ger
t
y
rename_ref(
)
:
extr
a
c
t functi
o
n rename_tmp
_
log
(
)
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-21
Michael Hag
g
erty
re
m
ove_dir_recurse(): handle
d
isappearing files and
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-21
Mi
c
hael Haggerty
rem
o
ve_dir
_
r
e
cur
s
e(): tighten condition
for removing
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-21
Michael Haggerty
lock_ref_sha1_basic():
if locki
n
g fails with E
N
OENT
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-21
Michael Hagge
r
ty
lock_ref_
s
ha1_basic()
:
on
SCLD_VA
N
ISHED, retry
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-14
Michael Haggerty
refname_match(): alw
a
ys use the rul
e
s in ref_r
e
v_pars
e
_rules
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-14
M
i
chael Ha
g
gert
y
gitattributes: docume
n
t
more clear
l
y where macros are
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-09
Michael Haggerty
shorten_u
n
ambiguous_re
f
(): tig
h
ten up pointer
arithme
t
ic
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-09
Mich
a
el Haggerty
gen_scanf_fmt(): delete fun
c
tion
and use snprintf(
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-09
M
ichael
H
aggerty
sh
o
rten_u
n
ambigu
o
us_ref(): introd
u
ce a
new local variable
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-06
Michae
l
Haggert
y
s
a
fe_create_leading_direc
t
ori
e
s
(
): add new error value
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-06
Michael H
a
g
gerty
cmd_init_db(): whe
n
cr
e
a
ting dir
e
ctories, handle
e
rrors
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-06
M
i
chael Hagg
e
rt
y
safe_create_leading_directories():
introduce en
u
m fo
r
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-06
Mic
h
a
el Haggerty
safe_cre
a
te_
l
e
a
ding_direct
o
r
i
es(
)
: always rest
o
re slash
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
2014-01-06
Michael H
a
g
gerty
safe_create
_
lead
i
ng_directori
e
s()
:
spli
t
on f
i
rst of
.
.
.
Signed-off-by: Michael Haggerty <
mhagger@alum.mit.edu
>
commit
|
commitdiff
|
tree
next