repo.or.cz
/
git
/
mingw.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Makefile: drop D_INO_IN_DIRENT build knob
2015-10-05
Jeff King
Mak
e
file: drop D_I
N
O
_IN_DIRENT bu
i
l
d
knob
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
f
sck: drop inode-sorting code
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
convert
s
trncp
y
to m
e
m
c
py
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
notes: document length o
f
fano
u
t p
a
th with a constant
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
color: add col
o
r_set helper
for copying raw colors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
prefer memcpy to s
t
rcpy
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
i
ng
he
l
p: clean up kfmc
l
ient munging
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
r
ec
e
ive-pa
c
k: simplify ke
e
p_arg com
p
utatio
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
a
voi
d
sp
r
intf
a
nd
strcpy wi
t
h fle
x
array
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
use allo
c
_ref rather th
a
n
han
d
-allocating "str
u
ct ref"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
co
l
or: add ove
r
flow checks for pars
i
n
g
colo
r
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
f
f
K
in
g
d
r
op st
r
c
py in favor of raw sha1_to_hex
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
eff King
u
se
s
ha1_
t
o_hex_r() in
s
tead o
f
strc
p
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f
K
i
ng
daemon
:
use
c
ld->env
_
array when re-spawning
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
stat_tracking_info: conv
e
rt to argv_array
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
http
-
push: use an
a
rgv_
a
rray for setup
_
revisions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
fetc
h
-pack: use ar
g
v_arra
y
for index-pack /
unpack
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
diagnose_invalid_index_path
:
u
se strb
u
f to avoid strcp
y
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
write_loose_object: c
o
n
vert to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
remove_
l
eading_path: use a strbuf
for inte
r
nal storag
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
ente
r
_repo: c
o
nvert fix
e
d-size buf
f
ers
t
o
strb
u
fs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
merge-recursive: convert m
a
llo
c
/ strcpy to
s
t
r
buf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
eff King
tra
n
sport: use
s
t
r
bufs for status
t
ab
l
e
"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
J
eff King
in
i
t: use strbufs to store paths
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
eff K
i
ng
pro
b
e_utf8_p
a
thname_co
m
po
s
ition:
u
se internal st
r
buf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
K
i
ng
pr
e
com
p
ose_utf8:
drop
u
nused vari
a
ble
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
sha1_get_pac
k
_name: use a st
r
buf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
htt
p
-
wal
k
er:
sto
r
e url in a
strbu
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
in
g
http-push: use strbuf instead
of
fwrite_buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
remo
t
e
-ext: si
m
p
lify git pkt-line generation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
upload-archive: convert sprintf to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
r
e
so
l
ve_ref
:
u
s
e strbufs
for internal
b
uffe
r
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff
K
ing
read_remotes
_
fi
l
e: simplify string h
a
ndling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
read
_
branches_file: sim
p
l
ify
string
handling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff Ki
n
g
mailmap:
replace strcpy with
xstrdu
p
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
help: d
r
op p
r
epend funct
i
on in favor of xstrfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
ref-filter: drop
sprintf
a
nd strcpy
c
alls
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
use stri
p
_suffix and
x
strfm
t
to replace su
f
f
ix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
fetch: re
p
lace
s
tatic
b
uffer with xstrfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
co
n
fig: u
s
e
xstrfm
t
i
n
no
r
malize_value
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
replace tr
i
vial ma
l
l
o
c + spr
i
ntf / s
t
rcpy calls with
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
re
c
eive-pac
k
: convert
strncpy to xsn
p
rintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
http-push: repl
a
ce strcat wit
h
xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
a
d
d_packed_g
i
t: convert strcpy
i
nto x
s
nprin
t
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
entry
.
c: c
o
nvert s
t
rcpy
t
o xsn
p
rintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
grep: use
x
sn
p
rintf to
f
or
m
at
failur
e
m
e
ss
a
ge
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
c
ompat/hstre
r
ror: co
n
vert spr
i
n
tf
t
o snp
r
int
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f Ki
n
g
s
t
op_
p
rog
r
ess_
m
s
g: convert
spri
n
t
f to xsnpr
i
ntf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
find_short
_
ob
j
ect_
f
ilename: convert sprintf to xsnpri
n
t
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
use xsnprintf for generating g
i
t object
headers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
archive-tar: us
e
xsnprintf for trivial
f
ormatting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
convert trivial spr
i
n
tf / st
r
cpy calls to
x
s
nprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
c
ompat/i
n
et_ntop: fix off-by-one in inet_nto
p
4
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
test
-
d
u
mp-cache
-
t
re
e
: avoid overflow of ca
c
he-tree
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
progress: store throughput d
i
s
p
lay i
n
a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
ef
f
King
tr
a
ce:
u
se strbu
f
for quo
t
e_crnl o
u
tput
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mails
p
li
t
: make PATH_M
A
X buffers dynamic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fs
c
k: use strbuf to generate a
l
ternate
d
irectories
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
Ki
n
g
add
reentrant
v
ariants
o
f
s
ha1_to_hex
a
nd find_
u
nique
_
a
b
brev
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
strbuf:
m
ake
strbuf
_
c
o
mp
l
ete_line more gen
e
ric
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
add
git_path_buf
h
e
lper function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add xs
n
printf
helper fu
n
ction
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
fsck:
don't fsck al
t
ernates for conn
e
ctivity-only check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
n
g
archiv
e
-tar: fix mi
n
or inden
t
atio
n
vio
l
ation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
m
ailsplit: fix FIL
E
* lea
k
i
n sp
l
i
t_maildir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
s
how-branch
:
avoid
segf
a
ult
wit
h
-
-reflog o
f
unborn
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
K
ing
s
h
o
w-bran
c
h: use a
s
trbuf
f
or
reflog des
c
r
i
ptions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
read_info_
a
l
t
e
rnates: han
d
le paths larger t
h
an PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff Ki
n
g
note
s
: us
e
a
strb
u
f in add_n
o
n_
n
ote
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
King
verify_absent: allow
filenames long
e
r
t
han PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
Jeff Ki
n
g
p
a
ck-pr
o
tocol: clarif
y
LF-han
d
l
i
ng in PKT
-
L
INE()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
Jeff King
rer
e
re: r
e
lease lockfile i
n
non-writing functions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-31
Jeff King
log: diagnose empty
HE
A
D more cl
e
arly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
rev-list: m
a
ke
i
t obvio
u
s t
h
at we do not support not
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff K
i
n
g
config: silence warnings for
command na
m
es wit
h
inva
l
id
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff
King
get_ur
l
match:
av
o
i
d useless strbu
f
write
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff
K
ing
fo
r
mat_config
:
s
i
m
plify buffer ha
n
d
ling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
J
e
ff King
format_config: don't in
i
t
s
t
rbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vreportf: avo
i
d interm
e
d
i
ate buf
f
er
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Je
f
f
King
vreportf: report to arbitrary
fi
l
e
handl
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
memoi
z
e commo
n
git-path
"
constant" files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
get_repo_p
a
t
h
: refa
c
tor path-allocation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
fin
d
_
h
ook
:
kee
p
our own static buff
e
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
re
f
s
.
c: remove_empty
_
direc
t
ories
can ta
k
e a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff King
ref
s
.
c: avoid
git
_
p
a
th assignment in lock_ref_sha
1
_b
a
sic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
refs
.
c: avo
i
d
repeated git
_
path ca
l
ls in rename_tmp_
l
og
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c:
simplify strbufs in re
f
log setup a
n
d writ
i
ng
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
path
.
c: dro
p
g
it_path_submodule
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
refs
.
c: remove extra git
_
pat
h
calls
from read
_
l
o
ose_re
f
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
remote
.
c: drop extraneou
s
local variable
from migrate_file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
prefer m
k
pa
t
h
d
up to mkpath in ass
i
gnment
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Kin
g
prefer git_pathdup to git_path in s
o
me possibly-dangero
u
s
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
ad
d
_
t
o_alternates_file: do
n
't
a
d
d duplicate e
n
tri
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
t5700:
m
odernize s
t
yl
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
cache
.
h: complete s
e
t of g
i
t_path_submod
u
le helpers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f
K
in
g
cache
.
h: clarify documentation for git_path, et al
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff Kin
g
c
l
o
ne: use
comp
u
ted
leng
t
h
in gue
s
s_dir_name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clo
n
e: add tests fo
r
o
u
t
p
ut direc
t
ory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Je
f
f
King
test-lib: di
s
able trace whe
n
test is not verb
o
se
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next