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
Merge branch 'ak/extract-argv0-last-dir-sep'
2015-10-05
J
eff King
color: add
o
v
e
r
f
l
ow
checks for parsing colors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
d
ro
p
s
trcpy in fa
v
o
r of raw sha1_to_hex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff
Ki
n
g
use sha1_to_hex_r()
i
nste
a
d o
f
strcpy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Ki
n
g
daemon: use c
l
d->env_arra
y
when re-spawning
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
st
a
t_tracking_info: con
v
e
rt to
argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Ki
n
g
http
-
push: us
e
an
a
rg
v
_a
r
ray
f
or setu
p
_revisions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Ki
n
g
fetch-p
a
ck: use argv_
a
rray
for
in
d
ex-pack / unpack
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
d
i
a
g
nose_invalid_index_path: use strbuf to a
v
oid strcpy
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
ef
f
Kin
g
write_loose_obje
c
t: con
v
e
r
t
t
o
st
r
bu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
r
emove_leading_
p
ath: use a
s
trbuf f
o
r
inter
n
al storage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
eff King
enter_repo: c
o
n
vert fixed-si
z
e buff
e
rs to strbufs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
merge-recursive:
c
onvert
malloc / strcpy t
o
strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
t
r
ansport: use strbufs for s
t
atus tabl
e
"
q
uickref"
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
n
g
app
l
y:
conv
e
rt r
o
ot string
to str
b
uf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
ini
t
:
use strbufs to st
o
re paths
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
probe_utf8
_
pa
t
hname_composition
:
use internal strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
precompose_u
t
f8:
d
rop unuse
d
v
ariable
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-28
Jeff Kin
g
m
e
r
ge-file: enforce MAX_XDI
F
F_SIZE o
n
inco
m
i
ng fi
l
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-28
Je
f
f King
xdiff:
reject files larger than ~1G
B
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-28
Je
f
f King
r
e
act to errors in
x
di_di
f
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
transport: r
e
facto
r
protocol whit
e
l
i
st code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
sha
1
_get_p
a
c
k
_name:
use a str
b
u
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff
K
ing
http-walker: stor
e
url in a str
b
uf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f
King
http-
p
u
s
h: u
s
e strbuf inst
e
a
d of fwrite_b
u
ffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
remote-ext: simplif
y
git pkt-line
g
eneration
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
upload-archive: con
v
ert spri
n
tf to strbu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
r
e
solve_re
f
: us
e
s
t
r
b
u
f
s
fo
r
interna
l
b
u
ffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
r
e
ad_remotes
_
file:
s
implify
st
r
ing handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
read_br
a
nches_file: simplify strin
g
handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
m
a
ilmap:
replace strcpy w
i
th xstrdu
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
h
elp: drop pre
p
end fun
c
tion in
favor of xstrfmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
r
e
f-
f
ilter
:
drop
s
printf and strcpy
calls
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
use strip_suffix and
x
str
f
mt to repl
a
ce suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
fetch: re
p
lace
stati
c
b
u
ffer wit
h
xstrfmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
config: us
e
xs
t
rfmt in normalize_value
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
replace trivial malloc + sprin
t
f
/ strc
p
y call
s
with
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
receive-pack:
c
onvert
s
trnc
p
y to xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
htt
p
-push: r
e
place s
t
rcat with xsnprin
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
ad
d
_packed_git: c
o
nvert s
t
rcpy into
x
s
n
printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
entry
.
c: convert str
c
py
to xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
grep: us
e
x
s
n
p
rintf to format failure message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
compat
/
hstrerror: conve
r
t sprintf to sn
p
r
intf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
s
t
op_progr
e
ss_msg:
c
o
n
vert spri
n
tf to
xsn
p
rintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
find_short_obj
e
ct_filename: conver
t
sprintf to xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
King
us
e
xsnpr
i
ntf for
g
enerating git
object h
e
aders
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
a
rchive-tar: us
e
xsn
p
r
i
ntf f
o
r
trivial formatting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
convert t
r
ivial spr
i
ntf /
s
trc
p
y
c
alls to xsnp
r
in
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
com
p
at
/
in
e
t_ntop: fix
off-by-one in ine
t
_
n
top4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff Ki
n
g
t
e
st
-
dump-cache-tree: avo
i
d overf
l
ow o
f
ca
c
he-t
r
ee
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
progress: store
t
hroughput displ
a
y in a str
b
uf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
trac
e
: use strbuf for quote_crnl output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
mailsp
l
it: m
a
ke PATH_MAX bu
f
fers
d
ynam
i
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
fsck: use strb
u
f to generate alt
e
rnate
d
i
rectories
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add reentrant variants of sha1_to_hex and fi
n
d
_
u
n
ique_abbrev
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
strbuf: make strbuf_complete_l
i
ne
more
gener
i
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add git_path_buf helper fun
c
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
add
x
snprintf h
e
lper fun
c
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
f
s
ck: don't
fsck alt
e
rnate
s
for connectivity-only ch
e
ck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
arch
i
v
e-tar: fix m
i
nor i
n
dentation violation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f K
i
ng
m
ai
l
split: fix FILE* le
a
k
i
n
s
p
li
t
_maildir
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
Ki
n
g
s
h
ow-
b
ranch: av
o
id segfault
w
ith --
r
ef
l
o
g
of unbo
r
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-23
Jeff Kin
g
sub
m
odule:
allow only certain protocols for
submodule
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-23
Jeff Ki
n
g
t
ransport:
add a protocol-whitelist en
v
i
ronment variable
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-16
J
eff King
blame: handle --fir
s
t
-
p
a
rent
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-08
Jeff Ki
n
g
gi
t
_conne
c
t: clarify c
o
nn-
>
use_
s
hell f
l
ag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff Kin
g
git_connect: clea
r
GIT_*
e
nvironmen
t
f
or
s
sh
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
show-br
a
nch: u
s
e a str
b
uf fo
r
reflog desc
r
ip
t
ions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
J
ef
f
King
r
e
a
d_i
n
fo_alternates
:
h
andle
p
aths larger than PA
T
H_
M
AX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
J
e
ff K
i
ng
notes: use a strbu
f
in add_non
_
note
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
veri
f
y_
a
bsent: allow filenames lo
n
ger than
P
A
TH_MAX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jeff King
date: make "local" orthogonal
t
o date form
a
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jef
f
King
fast-i
m
port: swi
t
ch crash-repor
t
d
at
e
to
iso8601
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jeff K
i
ng
pack-protocol
:
clarify LF-handling in PK
T
-LIN
E
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
Jeff King
r
erer
e
: release lockfile in
non
-
writing fun
c
t
io
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
Jeff K
i
ng
pkt-line:
s
how pac
k
ets in async proce
s
s
e
s as "sideband"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
Jef
f
Kin
g
run-c
o
mmand: pr
o
vide in_async query function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-31
J
e
ff King
log: d
i
agnose empty
HEAD more clearly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
J
e
ff Ki
n
g
rev-lis
t
: make
it obvi
o
us th
a
t we do not
support notes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff Ki
n
g
config: silenc
e
warni
n
gs for command n
a
me
s
wi
t
h in
v
alid
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
J
eff
King
get_urlmatch: avoi
d
useless strbuf
write
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff
King
f
or
m
at_conf
i
g
:
s
impli
f
y buffer handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
form
a
t
_
config: d
o
n't init strbu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff
K
i
n
g
vrepor
t
f: avoid intermediate
b
uffe
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff
King
vreportf: report to arbitrary
filehan
d
le
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
memoize
c
o
m
m
on git-
p
ath "con
s
tant" files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f King
get_repo_p
a
th
:
refactor path-allocatio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
f
f King
find_hook: k
e
e
p our own static buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
re
f
s
.
c: remove_
e
m
pty_dire
c
tories ca
n
ta
k
e a
s
trb
u
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
refs
.
c
:
a
v
oid git_path assignment in lock_ref_sh
a
1_bas
i
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
refs
.
c: avo
i
d repeat
e
d git_
p
ath c
a
l
l
s in r
e
na
m
e_tm
p
_log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
refs
.
c: simplify strbufs in reflog setup an
d
w
rit
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
path
.
c:
d
ro
p
git_path_su
b
m
odule
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
eff
King
refs
.
c: remov
e
e
xtra git
_
pat
h
calls from re
a
d
_loose
_
refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f King
remot
e
.
c: drop extraneous
l
oca
l
vari
a
ble
fro
m
mig
r
ate_f
i
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
prefer mk
p
athdup to
mkpat
h
in assig
n
m
ents
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
prefe
r
g
i
t_pat
h
d
up
to g
i
t_p
a
th in
s
ome pos
s
i
b
ly-dangerous
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
add_to
_
alternates_file: don't
add duplic
a
te entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
t5700:
moderniz
e
style
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
eff
K
in
g
cac
h
e
.
h: comp
l
ete set
of git_
p
a
t
h_
s
u
bmodule hel
p
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
cache
.
h: cla
r
ify docu
m
ent
a
tio
n
for
g
it_pat
h
, e
t
a
l
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next