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
color: add color_set helper for copying raw colors
2015-10-05
Jeff King
color:
a
dd color_se
t
hel
p
er for copying raw colors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
prefer memcpy to s
t
rcpy
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
f
f
King
h
e
lp: c
l
e
a
n up
k
fmclient munging
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
rece
i
ve-pack:
s
implify keep_arg computation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
avoid sprintf and str
c
py with flex arrays
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
u
s
e allo
c
_r
e
f rath
e
r
t
h
an
h
a
nd-alloc
a
ting
"s
t
r
uct ref"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
color
:
ad
d
overflow checks for
parsing
c
olors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
drop strcpy in favor
o
f raw
s
ha1_to_hex
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
u
se sh
a
1_to_h
e
x_
r
() instead
o
f s
t
rcp
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
K
i
ng
daemon
:
use
cld->env_
a
rray when re-sp
a
wning
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
stat_tracking_i
n
f
o
: convert to argv_array
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
http-p
u
sh: use an argv_array for
s
etup_rev
i
sions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
fetch-p
a
ck: u
s
e arg
v
_
a
rray for in
d
ex-pack / unpack
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
diagn
o
se_invalid
_
index_path: use
s
t
rbuf to avoid s
t
rcpy
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff
K
i
n
g
write_loose_
o
bject: convert
to st
r
bu
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
remove_leading
_
pat
h
: use a s
t
rb
u
f for inte
r
nal s
t
orage
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
ent
e
r_rep
o
: con
v
ert fi
x
ed-si
z
e buffers
t
o strbufs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
merge-re
c
ur
s
i
ve: convert
malloc / strcpy t
o
strb
u
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
trans
p
ort: use strbuf
s
for statu
s
table "quickref"
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff
K
i
ng
apply: convert ro
o
t string to st
r
buf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
init: use strbufs to
sto
r
e paths
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
pro
b
e_utf8_path
n
ame_comp
o
s
i
tion
:
use i
n
ternal
s
trbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
pre
c
ompose_utf8: drop un
u
sed
variable
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
sh
a
1_get_pack_name: u
s
e
a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
K
ing
ht
t
p-
w
alker: store url
in a
s
t
rb
u
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
h
ttp-push: us
e
s
trbuf inst
e
a
d
o
f fwrite_buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
r
emot
e
-ext
:
simplify git pkt-l
i
ne
g
eneratio
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
upload-arc
h
i
ve: conve
r
t sprintf to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
r
esolve_ref:
u
se strbufs fo
r
internal
buf
f
ers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
r
e
a
d_remote
s
_file: simplif
y
st
r
ing han
d
ling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
read_branc
h
es_file:
simplify
s
t
r
ing handling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
mailmap: replace
s
trcpy w
i
t
h xstrd
u
p
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
King
hel
p
: dr
o
p prepend
function
in favor of xstrfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ref-f
i
lter: dro
p
sprintf and s
t
rcpy calls
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
use strip_suffix and xstr
f
mt to r
e
pl
a
ce suffix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fetch: replace static buffer with xstrfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
config: use xstrfmt in
n
orm
a
lize_value
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
replace t
r
ivial malloc
+
sprintf / str
c
p
y
cal
l
s
with
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff K
i
ng
receiv
e
-pa
c
k: con
v
ert strncpy to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
http-push:
r
eplace st
r
cat with xsnprin
t
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add_packed_git: convert
strcpy into xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
entr
y
.
c:
c
o
nvert st
r
c
p
y t
o
xsnp
r
intf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
grep:
use xsnprintf to format failure message
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
co
m
p
a
t/hstrer
r
or: convert
s
prin
t
f to snprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f K
i
ng
stop_
p
rogre
s
s_msg: conve
r
t sprintf to
xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff
K
ing
fi
n
d_short_object_fil
e
name: convert s
p
rintf to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
u
s
e xsnprintf for generating git
o
bject headers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
K
ing
archiv
e
-tar: u
s
e xsnprintf for tri
v
ial formatt
i
ng
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
conver
t
tr
i
vi
a
l sprintf / strcpy calls
t
o xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
compat/inet_ntop: f
i
x
off-b
y
-one
in inet_ntop4
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
test-dump-cache-tre
e
:
avo
i
d overflo
w
of cac
h
e-tree
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
prog
r
ess
:
s
t
ore
t
hroughput display in a str
b
uf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
trace:
u
s
e
strbuf for quote_c
r
n
l
output
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
mai
l
split: make
P
ATH_M
A
X buffers dyna
m
ic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
f
s
c
k
: use strbuf to
g
e
nerate alternate
d
irectories
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add
r
e
e
ntrant variants o
f
sha1_to_he
x
and find_
u
nique_abbrev
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
s
t
rbuf: make strbuf_complete_line mo
r
e generic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
add git_path_buf h
e
lper funct
i
on
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
K
ing
ad
d
xs
n
printf h
e
lper
f
unction
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fsck:
d
on't fsck alternates
f
or co
n
nectivity
-
only check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
archive-tar:
fix mi
n
or indentation viol
a
tion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
King
mail
s
plit: fix FILE* leak in s
p
lit_maildir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
show-branch: avoid s
e
gf
a
ult wit
h
--reflog of
unborn
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff Kin
g
show
-
branch: use a strbuf fo
r
reflog
d
escriptions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
r
e
ad
_
i
nfo_
a
lternates: ha
n
dle p
a
t
h
s larger tha
n
PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
J
e
ff King
notes
:
use a st
r
buf in add_non_note
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff Ki
n
g
verify_absent: allo
w
filenames longer
t
han PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
Jeff King
pack-
p
rotocol: c
l
a
r
i
fy LF-handling in PKT-
L
INE()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
Jeff King
rerere: release
lockfile in non-writ
i
ng functions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-31
Jeff King
lo
g
: diagnose empty HEAD more clearly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
rev-lis
t
: make it obviou
s
that we
do no
t
support notes
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff
King
config: silence warnings for command names wi
t
h i
n
valid
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
J
e
ff King
get_urlmatch: avoid
useless
s
trbuf
w
rite
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
format_con
f
ig: sim
p
lify buffer handlin
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff
Ki
n
g
f
o
r
m
a
t_config: don't
i
ni
t
s
trbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
J
e
ff King
vreportf: avoid intermediate buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
v
reportf: report
t
o a
r
bi
t
r
ary filehandles
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
me
m
oi
z
e c
o
mmon git-pat
h
"c
o
ns
t
ant" files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
get_
r
e
p
o_path:
r
efac
t
or
path-al
l
ocation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
fi
n
d
_hook: keep our
own static buf
f
er
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
ref
s
.
c: rem
o
ve_emp
t
y_dire
c
tor
i
es can t
a
k
e
a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
r
e
fs
.
c
:
a
void
g
it_p
a
th
a
ssig
n
me
n
t
in lock_ref_s
h
a1_
b
asi
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c:
avoid
r
epeated git_
p
a
t
h calls in renam
e
_tmp_log
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c:
simpli
f
y strb
u
fs in reflog
s
etup and
writi
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
path
.
c:
d
rop
git_path_submodul
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
re
f
s
.
c: r
e
move extra git_pat
h
calls fro
m
read
_
loose_refs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
remote
.
c: drop extraneous local variable
f
rom migrate_file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
prefe
r
mkpathdu
p
to mkpath in assignments
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
prefer git_pa
t
hdup to git_pat
h
i
n
some possibly-dangerous
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
a
d
d_to_
a
lternates
_
fi
l
e: do
n
't ad
d
dup
l
icate
e
n
tries
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
t5700:
m
o
d
e
rnize
s
ty
l
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
Ki
n
g
c
ache
.
h:
c
omplete
set of git_path
_
submo
d
ule helpers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff
K
i
n
g
c
a
c
h
e
.
h: clarify
d
ocumentation for git_p
a
th, et al
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clone:
us
e
compute
d
length i
n
gu
e
ss_dir_name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clone: add
tests for
o
utp
u
t di
r
e
ctory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff Ki
n
g
tes
t
-
lib:
d
i
sa
b
l
e
trace when test is not verb
o
s
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
tes
t
-lib: turn off
"
-
x"
t
r
a
cing during chain-li
n
t chec
k
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
r
e
f
s
: support ne
g
ativ
e
transfer
.
hideRefs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-28
Jeff
K
i
n
g
docs/config
.
txt: reo
r
der hide
R
efs config
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-21
Jef
f
King
strbuf: make strb
u
f
_addftime
m
ore r
o
bust
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next