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
use strbuf_complete to conditionally append slash
2015-10-05
Jeff King
use st
r
buf_complete to conditionall
y
a
p
pend slash
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff Ki
n
g
fsck: use for_ea
c
h_loose_file_in_objdir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
Makefi
l
e: drop
D_INO_IN_DIRE
N
T build knob
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
fsck:
drop
i
node-sorting code
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
c
o
nvert strncpy to memcpy
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
K
ing
n
o
tes
:
document length of fanout
path w
i
th a
constant
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
color:
a
dd co
l
or
_
set
h
e
lper f
o
r copying raw c
o
l
o
rs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
Kin
g
pr
e
fer memcpy to
strcpy
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
hel
p
: clean up
kfmclient mungi
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
receive-pack: simplify kee
p
_arg computation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
avoid sprintf and
s
tr
c
py with flex
ar
r
ays
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
use
a
l
loc_ref rather
t
han han
d
-allo
c
ating "s
t
ruc
t
ref"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
color: add
over
f
low checks for parsing color
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
dro
p
strcpy in
favor of
r
a
w
sha1_to_hex
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
use sha1_to_hex_r(
)
i
n
st
e
ad of strcpy
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f K
i
ng
daemon: use cld
-
>env_
a
rr
a
y
when re-spawn
i
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
stat_trackin
g
_info
:
co
n
v
ert to argv
_
array
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
h
t
tp-push
:
use an argv_array f
o
r
se
t
up_revisions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
fetch-pack
:
use argv_array for index-pack
/
u
n
pack
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
diagn
o
se_inval
i
d_ind
e
x_path: use strbu
f
to avoid strcpy
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
write_loose_
o
bject: conv
e
rt to
s
trbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
remove_lea
d
ing_
p
at
h
: use a str
b
uf for interna
l
sto
r
a
ge
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
e
n
ter_repo
:
convert fix
e
d-size buffers to strbufs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
merge-r
e
cursive: convert mal
l
oc / strcpy
to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
t
ra
n
sport: use
s
trbufs for
statu
s
table "quickref"
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
ap
p
ly:
convert
r
oot s
t
rin
g
to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
init: use st
r
buf
s
to store paths
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
probe_utf
8
_
p
athname_composition
:
use in
t
ernal strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
pr
e
c
o
mpose_u
t
f8: drop unu
s
e
d
v
a
riable
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
sha1_get
_
pack_n
a
m
e
: use a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
http-w
a
lker:
stor
e
url
i
n
a
s
t
r
buf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
h
ttp-push: use strbuf inste
a
d of
fwrite
_
buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
remo
t
e
-
ext: s
i
mplify git pkt
-
line generation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
ng
up
l
oad-ar
c
hive: convert sprintf to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
resolve_ref
:
use strbufs for internal buffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
read_rem
o
tes_file: sim
p
lify str
i
n
g
handling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
r
e
ad_b
r
anches_f
i
le: simplify
s
t
r
ing handling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
Kin
g
mailmap: replace
s
t
r
c
py with xstrdup
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
help: dr
o
p prepend function in favor of x
s
t
rfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
re
f
-
filt
e
r
:
d
rop
sprin
t
f and strcpy calls
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
use str
i
p_suffix
a
n
d xstrfmt to replace suffi
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
fetch: re
p
lace sta
t
ic bu
f
f
e
r with xstrfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
c
o
nfig: use xstr
f
m
t in no
r
mali
z
e_value
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
repl
a
ce tr
i
vial mal
l
oc + sprintf / strcpy calls with
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
receive-pack: convert strncpy to xsnp
r
i
ntf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
n
g
http-push
:
replace strca
t
with xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
K
i
n
g
add_pack
e
d
_git: convert st
r
cpy into
x
s
n
pr
i
ntf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
entry
.
c
:
conv
e
r
t
strcpy to
x
snprin
t
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
grep: use xsnprintf to forma
t
failure
m
essage
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
compat/hstrerror: co
n
v
e
rt sprintf to snprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff
K
ing
s
t
op_pr
o
gre
s
s_msg:
c
onve
r
t sprintf
t
o
xsnpr
i
ntf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
find_
s
hor
t
_object
_
fil
e
name
:
convert sprintf to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
use xsnprintf for
gen
e
rating git obje
c
t headers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
archiv
e
-tar: use
xsnp
r
int
f
for trivi
a
l formatting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
convert trivial sp
r
intf / st
r
c
p
y
c
al
l
s to x
s
nprint
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
comp
a
t/inet_ntop:
fix off-by-one in inet_ntop4
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
t
est-dump
-
c
a
che-tree: avoid overflow of cache-t
r
e
e
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
progress
:
store throughput display i
n
a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
trace: use strbuf for quote_crnl outpu
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff K
i
ng
mailsplit:
make PATH
_
MAX
b
uffers
d
y
n
amic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fsck:
u
s
e strbuf to gen
e
rate alternate
directories
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
add reentra
n
t variants o
f
sha1_to
_
hex and find_u
n
ique_abbrev
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f King
strbuf: make strb
u
f_comp
l
ete_line more generi
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add git_path_b
u
f helpe
r
functi
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff K
i
ng
add
x
s
nprintf helper
f
unction
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
K
i
ng
fs
c
k: don
'
t
fsck a
l
ternates for connec
t
ivity-only chec
k
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
archive
-
ta
r
: fix minor indenta
t
ion viol
a
tion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
mailsp
l
it: fix FIL
E
* leak in spli
t
_maildir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
King
show-branch: avoid segfault with
-
-r
e
flog of
u
nborn
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff Kin
g
show-branch: use a
strbuf for reflog descriptions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
read_info_alte
r
nates:
h
andle paths larger than PA
T
H_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
n
otes: use a strbuf in add_non_note
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
ve
r
ify_absent: allow
filenames
l
ong
e
r
than PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
Jeff
King
pack-protocol: clar
i
f
y
L
F
-handling in PKT-L
I
NE()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
Jeff King
rerere: releas
e
lockfile in non-w
r
i
t
ing functions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-31
Jeff King
l
og: d
i
ag
n
ose em
p
ty HEAD more clearly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff Kin
g
rev
-
list: make it obv
i
ous th
a
t we do not supp
o
r
t
no
t
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jef
f
King
config: silence warnings for command names with in
v
al
i
d
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
g
e
t_urlma
t
ch: avo
i
d useless str
b
uf write
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
forma
t
_config
:
simplify buffer handling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Je
f
f
King
for
m
at_config: don't init strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff
K
in
g
vreportf: avoid inter
m
ediate buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
J
e
ff King
vreportf: report to arb
i
trary filehandle
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff
Ki
n
g
memoi
z
e com
m
o
n
g
i
t-path "constant" files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff K
i
ng
get_
r
epo_p
a
th: r
e
f
a
ctor pa
t
h-al
l
ocation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
find_hook: keep o
u
r own st
a
tic buff
e
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c: r
e
move_empty_directorie
s
can tak
e
a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff Kin
g
refs
.
c: avoid g
i
t_path assignment in lock_ref_
s
ha1
_
b
a
sic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
refs
.
c
: avoi
d
r
epeated git_p
a
th call
s
in rename_t
m
p_log
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c:
s
implify
strbuf
s
in reflog setup and
w
riting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
p
a
th
.
c
: drop git_
p
a
th_sub
m
od
u
le
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
r
e
fs
.
c:
remove ex
t
ra g
i
t_path calls from rea
d
_loose_refs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
remote
.
c
:
drop
extrane
o
us local vari
a
ble fro
m
migrate_file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
pre
f
er mkp
a
thdup to mkpath in assignments
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
pr
e
f
er git_pathdup to git_path in some pos
s
ibly-dangerous
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
ad
d
_to_al
t
ernate
s
_file:
d
o
n
't add
d
up
l
icate entrie
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
K
i
ng
t5700: modernize style
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
n
g
c
ache
.
h:
c
o
m
ple
t
e s
e
t o
f
git_path_s
u
bmodule helpers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
i
n
g
cache
.
h
:
clar
i
fy documentation fo
r
git_p
a
t
h
, et al
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
cl
o
ne: use computed leng
t
h in guess_dir_name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next