repo.or.cz
/
git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
submodule: stop sanitizing config options
2015-10-05
J
e
f
f King
c
o
lor:
add c
o
l
o
r_set
helpe
r
f
o
r copying r
a
w
colors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
prefer me
m
cpy to strcpy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
help:
c
lean up kfmclient mun
g
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
r
e
ceive-
p
ack: s
i
mplify keep_ar
g
c
ompu
t
a
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f Ki
n
g
avoi
d
spri
n
tf a
n
d strcpy with fle
x
arrays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f
King
use alloc_ref
rather than hand-allocati
n
g "struct ref"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
c
o
lor: add overfl
o
w
checks
f
or
par
s
i
ng c
o
l
ors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
d
rop strcp
y
in favor of
raw
sha1_to_hex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
u
s
e sha1_to_hex_r() in
s
t
ea
d
of strcpy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Ki
n
g
d
a
emon:
us
e
cld->env_a
r
ray
when r
e
-
s
pawning
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
st
a
t
_tracki
n
g_info: c
o
nvert to argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
f
f King
http
-
push:
us
e
an argv
_
array for
setup_
r
evisions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
Kin
g
fetch-pack: us
e
argv
_
a
rr
a
y for
i
nde
x
-pack /
u
npack
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
d
i
a
g
no
s
e_invalid_index_path
:
use
s
t
r
buf to av
o
id strcp
y
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
w
rite_loo
s
e_object: convert to strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
eff Ki
n
g
r
e
m
o
v
e_l
e
ading_p
a
th: use a strbuf for internal stora
g
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
e
n
ter_repo: conve
r
t fixed
-
size bu
f
fers
t
o
str
b
u
fs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
mer
g
e-recursive: convert mal
l
oc /
strc
p
y to strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
transport: use
strbufs for
status table "qu
i
ckref"
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
eff King
a
pp
l
y
:
c
onvert root str
i
ng to s
t
r
bu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
eff Ki
n
g
in
i
t: use
s
t
r
bu
f
s to st
o
r
e
paths
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
pro
b
e_utf
8
_pathname_composition: use inter
n
al s
t
rbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff Ki
n
g
precompose_utf8: d
r
op unused variable
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-28
Jeff King
mer
g
e-file: enforce MAX_XDIF
F
_SIZE on inco
m
ing files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-28
Jeff King
x
diff:
r
eject files larger than ~1GB
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-28
Jeff King
react to
e
rrors
in xdi_d
i
f
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
tran
s
port
:
refactor proto
c
o
l
whitelist code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
sha1_get_pac
k
_na
m
e
:
u
s
e
a str
b
uf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
ng
http-walk
e
r: store url in a strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
http-push: use strbuf ins
t
ead of fwrite_buffe
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
remote-ext: s
i
m
p
lify git pkt
-
line generat
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
uploa
d
-archive: convert sprintf to strbu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
resol
v
e_ref:
us
e
strbufs fo
r
i
n
ternal buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
read_remotes
_
file: si
m
plify string handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
read_b
r
anches_file: simplify string ha
n
dling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mailmap:
replace
strcpy with xstrdup
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
help: d
r
o
p
prepend
f
unction in
f
av
o
r of xstr
f
mt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
ng
ref-filter: drop sprintf and strcpy calls
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
u
s
e
strip_suffix and xstrfmt
t
o
r
e
p
l
a
c
e
s
u
ffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
fetch: replace static buffer with xstr
f
mt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
Ki
n
g
config: use xstrfmt in normalize_value
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
r
e
p
lace trivia
l
malloc + sprintf / strcpy c
a
lls with
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
r
eceive-pack: convert
s
trncpy to xsnpr
i
ntf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
http
-
pu
s
h:
replace s
t
r
cat
wit
h
xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add_pack
e
d_g
i
t
:
convert strcpy into xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff Ki
n
g
entry
.
c: con
v
ert s
t
rcpy to
x
snprin
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
grep: us
e
xsnprintf
t
o format fa
i
lure mess
a
ge
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
compat/hstrer
r
or: convert spr
i
ntf
t
o s
n
printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
sto
p
_
p
rogr
e
ss_msg:
c
onvert s
p
rintf to xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
find_s
h
ort_object
_
file
n
ame: convert
s
printf
t
o xsnpri
n
tf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
use xs
n
printf
f
or generating git obj
e
ct headers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ar
c
hive-ta
r
:
use x
s
n
p
rint
f
for trivial
fo
r
matting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
c
on
v
ert trivial
sprintf / str
c
p
y call
s
to
xsnp
r
intf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
compat/inet_ntop
:
fix off-by-one in inet_ntop4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
test
-
dump-
c
ache-tree: av
o
id overflow of cache-t
r
ee
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
prog
r
es
s
:
store thro
u
ghpu
t
displa
y
in a st
r
buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
t
r
ace: use strbuf for
quote_crnl out
p
ut
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
mailsplit: make PATH_M
A
X buf
f
ers dynam
i
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
f
sc
k
: use strbuf to ge
n
er
a
te alterna
t
e direc
t
o
r
i
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
add reentr
a
nt
v
ariants of sh
a
1_t
o
_hex and find_unique_abbr
e
v
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
strbuf: ma
k
e strbuf_com
p
lete_line more
g
eneric
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ad
d
git_
p
a
t
h_buf hel
p
er functi
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff Ki
n
g
add xsnprintf
h
elper f
u
ncti
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
fsck: don't f
s
ck alternates f
o
r connecti
v
ity-only check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
a
r
c
hive-
t
ar
:
fix minor indentation viol
a
t
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mailsplit: f
i
x FILE* leak i
n
split_
m
aildir
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
Ki
n
g
show-br
a
nch
:
a
v
oid
seg
f
ault wi
t
h
--reflog of unb
o
rn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-23
Jef
f
K
i
ng
s
ubmodule:
a
l
low o
n
ly
c
ert
a
in pr
o
t
o
cols f
o
r submodule
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-23
J
eff King
transport: add
a
p
rotocol
-
w
h
i
telist environmen
t
variable
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-16
Jeff King
bl
a
me: hand
l
e --first
-
p
a
rent
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-08
Jeff King
gi
t
_co
n
nect: clarif
y
conn->use_shell fla
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
King
git_connect: clear GIT_* envi
r
onment
fo
r
ssh
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jef
f
K
ing
show
-
branch: u
s
e a
strbuf
for reflog de
s
c
r
i
ptio
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
J
e
ff King
read
_
inf
o
_alt
e
rnates: h
a
n
d
le
paths larger than PATH_M
A
X
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
J
e
ff K
i
ng
notes: use
a
s
t
rbu
f
in add_non_n
o
te
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
K
ing
ver
i
fy_a
b
s
e
nt: allow f
i
l
e
names longer than PA
T
H_MA
X
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jeff Ki
n
g
date: make "local" orthogon
a
l to date format
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jeff King
fas
t
-import
:
switch crash-report date to iso
8
6
01
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
J
eff
K
ing
pack-proto
c
ol: clarif
y
L
F-hand
l
ing in PKT
-
LI
N
E()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
Jeff Kin
g
rerer
e
:
release loc
k
f
i
l
e
in non-writing functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
Jeff King
pkt-line: show packets in async proc
e
sses as "sideband"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
Jef
f
King
ru
n
-
command: provide in_async
q
ue
r
y fu
n
ction
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-31
Jeff King
log: di
a
gnose e
m
pty
HEA
D
more
c
le
a
rly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff
K
i
ng
rev-list:
m
ake it obvious that w
e
do not suppo
r
t notes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
config:
s
ilenc
e
warn
i
ng
s
for command na
m
es with
invalid
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff Kin
g
get_urlmat
c
h: avoid useless strbuf wri
t
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff
K
in
g
f
o
rmat_config: simplify
buffer
handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff
K
ing
format_
c
o
nfig: don't
i
nit strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff
King
v
r
eportf: avoid intermedia
t
e b
u
ffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Je
f
f King
vrepo
r
tf: report to arbit
r
ary filehandles
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
memoize co
m
mon
g
i
t
-path "const
a
nt
"
files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
get_repo_path: refactor path-alloc
a
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
find_hook:
keep o
u
r own stati
c
buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
r
e
f
s
.
c: remove
_
empty_director
i
es
can take a
s
trbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
r
e
fs
.
c: avo
i
d
git_path
assign
m
ent
in lock_ref_sha1_
b
asi
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
refs
.
c: avoid repeate
d
git_path calls i
n
r
ename
_
tmp_log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c:
simplify st
r
bufs in ref
l
og setup and writing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
pat
h
.
c:
drop git_path_s
u
bmod
u
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c: remove extra gi
t
_path calls from
r
ead_loose_r
e
fs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Kin
g
r
emote
.
c: drop extraneous
l
ocal
variable f
r
o
m migrate_
f
ile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next