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
filter-branch: skip index read/write when possible
2015-11-06
Jeff King
filter-
b
ranch: ski
p
index read/wri
t
e when pos
s
ible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-11-02
Jeff Kin
g
ht
t
p: use off_t to
store
p
artial file si
z
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-29
Jeff Ki
n
g
merge-file: clamp exit code
to maximum 127
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-28
J
e
ff King
a
d
d_submodu
l
e_o
d
b
: i
n
itialize alt_odb list earlier
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-26
Jeff
K
ing
merge: detect delete/mod
e
change conf
l
i
ct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-26
J
e
ff
K
i
ng
t
6
031: generalize for recursive and r
e
s
o
lve stra
t
egies
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-26
Jeff King
t
60
3
1: move triple-renam
e
t
e
st to t3030
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
name-rev: use
st
r
ip_suffix to avo
i
d ma
g
ic numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
eff King
use strbuf
_
complete to conditional
l
y append slash
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
fsck: us
e
f
o
r
_
each_
l
o
o
se_file_in
_
objdir
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
Makefile
:
drop
D
_
INO_IN_DIR
E
NT bui
l
d knob
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
fsck: drop in
o
d
e-sort
i
ng code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
conv
e
rt strncpy to memcpy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
notes: document l
e
ngth of fanout path with a cons
t
a
nt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
color:
a
d
d
c
olor_set helper for c
o
pying raw colors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
pr
e
fer m
e
mcpy
t
o strcpy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
hel
p
: clean
up k
f
mclient munging
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
rec
e
iv
e
-pa
c
k
:
simplify keep_
a
r
g computation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
f
f King
av
o
id
spr
i
ntf and strcp
y
with
fl
e
x arrays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
use a
l
loc
_
ref rath
e
r than
hand-allocating "str
u
ct ref"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Ki
n
g
color: add
overflow ch
e
cks
f
or p
a
rsing colo
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
drop strcp
y
in favor of ra
w
s
h
a1
_
to_
h
ex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
u
s
e sha1_to_hex_r(
)
instead of strcpy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
daemon
:
us
e
c
ld->env_array when re-spawni
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
st
a
t_tr
a
cking_
i
nfo: conver
t
to argv_ar
r
ay
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
f
f King
h
t
tp-pus
h
: use
an ar
g
v_array for se
t
up_revision
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
fetch-pack
:
use
a
rgv_array for index-p
a
ck /
unp
a
ck
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
diagnose_invalid_i
n
dex_
p
ath: use s
t
rbuf to avoid str
c
p
y
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f Kin
g
write_lo
o
se_object: convert
t
o strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
r
e
m
ove_le
a
d
ing_
p
ath:
u
se
a strbuf for internal storage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
e
nte
r
_re
p
o: convert fixed
-
size
b
uff
e
rs
t
o
s
trbufs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
m
e
rge
-
recur
s
ive: convert malloc /
s
trcpy t
o
strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
transport: use strbufs for sta
t
us
table "quickref
"
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
apply
:
convert r
o
ot string
to strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
init
:
use strbufs to store p
a
ths
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
f
f King
probe_
u
tf8_pa
t
hname_comp
o
si
t
io
n
: use internal strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
pre
c
ompose_
u
tf8: drop
u
nuse
d
variable
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-28
Jeff King
merge-file: enforce MAX_XDIF
F
_SIZE on
i
n
c
oming
file
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-28
Jeff King
xdif
f
:
reject files larger than ~1GB
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-28
Jeff King
r
eact to errors in xd
i
_diff
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
t
ransport: refactor protocol
whitelist co
d
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
sha1
_
get_pack_name: use a strb
u
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
http-wa
l
ke
r
: s
t
ore ur
l
in a s
t
r
bu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
h
ttp-
p
ush: use strbuf instead
o
f fwrite_buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
rem
o
te-ext: simplify git pkt-line genera
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
upload-
a
rchive: convert spr
i
n
tf to strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
resolve_r
e
f:
u
s
e
s
t
rbufs
f
or inte
r
n
a
l buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
read_remotes_f
i
le:
simplify str
i
n
g handlin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
King
read_branches_file: simplify st
r
ing handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
mailm
a
p
:
r
eplace
s
trcpy with x
s
trdup
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
ef
f
King
help: drop prepen
d
function in favor of xs
t
rfmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ref
-
filter:
drop
sprintf a
n
d strcpy calls
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
use str
i
p_suffix and xstrfm
t
to replace suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f K
i
ng
fetch: replace stat
i
c buffer with xstrfmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f Kin
g
config: use xstrfmt i
n
normali
z
e_valu
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
repla
c
e t
r
ivial m
a
lloc
+
sprintf / str
c
py c
a
lls
w
ith
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
re
c
e
ive-pack: convert strn
c
py to x
s
nprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff
K
ing
ht
t
p
-
push
:
r
e
place str
c
at with xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
K
ing
add_packed_git: conve
r
t strcpy into
x
snpr
i
ntf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
n
g
entry
.
c: convert st
r
cpy to
x
snprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
grep: use
x
sn
p
rintf t
o
forma
t
f
a
ilure
m
essage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f King
comp
a
t/hstre
r
ro
r
:
convert sprintf to snprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
st
o
p_progress_msg
:
conv
e
rt
sprintf t
o
xsnprin
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
find
_
short
_
obje
c
t_fil
e
name: con
v
ert sprintf to xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
ng
us
e
xsnprint
f
for ge
n
erating git object headers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ar
c
hive-tar: use xsnpr
i
ntf
for trivial
formatting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
K
ing
conve
r
t
trivial sprintf / strcp
y
calls
t
o xsnprint
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
compat/inet_n
t
op: f
i
x off-b
y
-on
e
in i
n
et_ntop4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f King
test-dum
p
-
cache-tree: a
v
oi
d
overf
l
o
w of
c
ache-tree
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
progress: store th
r
oughput dis
p
lay in a strb
u
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
trace: use
s
trbuf for quote_crn
l
ou
t
pu
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
mailsplit: make
P
ATH_MAX buffers dynamic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
fsck: use
strb
u
f to g
e
n
era
t
e
alt
e
rnate dire
c
tori
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add reentrant variants
o
f sha1_to_hex a
n
d
f
ind_
u
nique_
a
bbrev
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f K
i
ng
s
t
rbuf: make
strbuf
_
complete_line
m
o
re generic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add
git
_
path_b
u
f helper function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
a
d
d xsnpri
n
tf
h
elper fun
c
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
fsck: don't
f
sck al
t
ernates for
c
onnectivity-only
c
h
eck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
arch
i
ve
-
tar
:
fix
minor indentation violation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
mailsplit: fix
F
ILE* leak
in
sp
l
i
t_maildir
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f King
show-branc
h
:
av
o
id
s
e
gfault with -
-
r
e
flog of unborn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-23
Je
f
f
King
submodule: a
l
low onl
y
certain protocols for s
u
bmodu
l
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-23
Jeff King
tr
a
ns
p
ort: add
a
p
rotocol-w
h
itelist environme
n
t va
r
iable
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-16
Jeff King
blame: handle --first-parent
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-08
Jeff Ki
n
g
git_connect: clarify conn-
>
use_
s
hell flag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
g
i
t_connect:
c
l
ear GIT_* environment for ssh
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
King
show-bra
n
ch: use a
s
trbuf f
o
r
reflog descrip
t
i
o
ns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jef
f
King
read_info_a
l
ter
n
at
e
s:
h
and
l
e paths larger than PATH_MAX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
King
n
o
te
s
:
u
se a strbuf
in
a
dd_
n
on_n
o
te
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
verify_ab
s
ent: all
o
w filenames longer
than PATH_MA
X
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
J
eff King
date: make "loca
l
"
o
r
tho
g
onal to date f
o
rmat
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Je
f
f
King
fast
-
import:
s
w
i
t
c
h c
r
ash-report
d
a
t
e
to iso8
6
01
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jeff Ki
n
g
pack
-
protocol: cla
r
i
f
y
L
F
-h
a
n
d
l
i
ng in
PKT-LIN
E
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
Je
f
f
K
ing
rerere: releas
e
lockfile in
non-writing f
u
nctions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
J
eff K
i
ng
pkt-line
:
sho
w
packets
in async p
r
o
c
esses
as "sideb
a
nd"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
Jeff King
run-command
:
provide i
n
_
a
sync q
u
er
y
function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-31
Jeff King
log:
d
iagnose empty HEAD more clearly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
r
e
v-list: mak
e
it obviou
s
that
w
e d
o
not supp
o
rt notes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
c
onfig: s
i
lence warn
i
n
g
s for command names w
i
th in
v
al
i
d
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
ge
t
_
urlmatch: avoid u
s
e
l
ess strbuf write
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next