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
upload-archive: convert sprintf to strbuf
2015-09-25
Jeff King
upl
o
a
d-a
r
ch
i
ve:
c
onv
e
rt sprintf to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
r
esol
v
e
_
ref: use strbu
f
s for internal buffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
r
e
ad_re
m
otes
_
f
ile
:
simplify stri
n
g
h
an
d
ling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
read_branches_f
i
le: si
m
plify str
i
ng
h
andli
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
mai
l
map: replace
s
t
r
cpy wit
h
x
strdup
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
help
:
drop
p
repend function in fa
v
or o
f
xs
t
rfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ref-filter:
drop
sprintf and strcpy calls
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
King
u
se strip_suffix and xst
r
fmt to replace suffix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
f
e
tc
h
: replace
static
b
uffer with xstrfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
config: use xstrfmt in nor
m
ali
z
e_
v
alue
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
replace tri
v
ial malloc + s
p
rintf / s
t
rcpy calls with
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
rec
e
ive-
p
ack: convert str
n
cpy
t
o xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff K
i
ng
h
t
tp-push: replace strcat with xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
King
add
_
pa
c
k
ed_git:
c
onvert strcpy into
xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
entry
.
c
:
c
o
n
vert strcpy
to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
gre
p
: use xs
n
printf to format failure message
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
compat/hst
r
er
r
or: convert sprintf to snprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
K
i
ng
stop_
p
r
ogress_ms
g
:
c
o
nvert sprintf to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
ef
f
King
f
ind
_
short_
o
bject_filename: convert sprintf to xsn
p
rin
t
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
use
xsnprin
t
f for
g
e
n
erati
n
g
g
it object headers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
archive-t
a
r:
u
se xs
n
printf for
t
r
i
v
i
al formatting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
convert triv
i
al sprintf
/
s
trcpy
cal
l
s to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
compat/
i
net_ntop: fix o
f
f
-by-one in inet_nt
o
p4
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
test-dump-cache-tree: avoid overfl
o
w of
cache-tree
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
progres
s
:
s
tore throughput
display in
a
strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
tr
a
ce: u
s
e strbuf for quote_crnl o
u
t
p
u
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mailsplit: make PATH_MAX
b
uff
e
r
s
dynamic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
ng
fsck: u
s
e
strbuf to gene
r
ate alternate
di
r
e
c
to
r
ies
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
K
ing
add reentr
a
nt
varia
n
ts of sha1_to_hex an
d
find_u
n
ique_abbrev
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
ef
f
K
ing
strbuf: make strb
u
f_complete_li
n
e
m
ore gen
e
ric
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add
g
it_path_buf h
e
lper function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ad
d
xsnprintf helper
function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fsck:
don't fsck alternates for co
n
n
ectivity-only check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
arch
i
ve-tar: fix minor indentation violat
i
on
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
Kin
g
mai
l
s
p
lit: f
i
x F
I
LE* l
e
ak in split_maildir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f K
i
ng
show-branch: avoi
d
segfault with --reflog of unborn
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff Ki
n
g
show-branc
h
: use a st
r
b
uf
for reflog descri
p
tions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
read_inf
o
_alternates: handle
p
ath
s
larger than PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
J
e
ff King
no
t
e
s
: use
a
strbuf in add_n
o
n_note
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff K
i
ng
v
e
rify
_
ab
s
ent: allow file
n
ames
longer than
P
ATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
J
e
ff King
p
ack-pr
o
tocol: c
l
arify LF-handling in PKT-LIN
E
()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
Jeff King
rerere: re
l
ease lockf
i
l
e
i
n non-writing
f
u
nctions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-31
J
e
f
f
King
log
:
d
iagnose emp
t
y HEAD
more clear
l
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff Kin
g
re
v
-list: make it obviou
s
th
a
t we do not support notes
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
config: si
l
ence warnings
f
or comman
d
names with
i
n
v
alid
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jef
f
King
get_urlmatch: a
v
o
i
d useless st
r
b
uf w
r
ite
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Je
f
f King
format_
c
onfi
g
: simplify buffer han
d
ling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
format_config: do
n
'
t init
s
trbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vreportf: avoid
interme
d
i
at
e
b
u
ffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff Kin
g
vreportf: repor
t
to arbitr
a
ry
f
il
e
h
a
ndles
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
memoize co
m
mon git-path "
c
onst
a
n
t" files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
get_repo_path: refactor path-allocation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
fin
d
_hook
:
k
e
ep ou
r
own
static buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Kin
g
ref
s
.
c: remove_empty
_
d
i
rectories can take a
s
trbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c: avoid git_path a
s
sign
m
ent in lock_ref_
s
ha1_basic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c: avoi
d
r
epeated git_path ca
l
ls in renam
e
_
tmp_
l
og
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
re
f
s
.
c: s
i
m
plify strbuf
s
in reflog
setup and
w
riting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
path
.
c: drop
g
it_p
a
th_submodule
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c: remov
e
ex
t
r
a
git_path ca
l
ls from rea
d
_loos
e
_
r
e
fs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
remote
.
c: drop extraneous
l
ocal vari
a
ble
f
rom
migra
t
e_file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
prefe
r
mkpathdup
t
o mkpath in a
s
sig
n
m
e
nts
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
p
r
e
f
e
r git_pathdup to g
i
t_path i
n
so
m
e possibl
y
-dangerous
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
add_
t
o_alternates_
f
ile:
d
o
n
't add du
p
licat
e
ent
r
i
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
f
f
King
t5700:
modernize sty
l
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff King
cache
.
h: complete set of git_path_submodule
h
elpers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Kin
g
c
ache
.
h: clarify documentat
i
on for git_path, et al
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clo
n
e:
u
se compu
t
ed length in gue
s
s_dir_name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
f
f King
clone: add t
e
sts for o
u
tp
u
t directory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
test-lib: disabl
e
trace when test
is not verbose
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jef
f
King
test-lib: turn
o
f
f "-x" t
r
ac
i
ng
durin
g
chain
-
lint c
h
ec
k
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
refs:
support
n
egative transfer
.
h
ideR
e
f
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-28
Jeff King
doc
s
/con
f
i
g
.
tx
t
: reorde
r
hi
d
eRefs config
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-21
Jeff King
strbuf: m
a
k
e strb
u
f_addftime
m
ore ro
b
ust
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-08
Jeff King
c
heck
_
and_freshen_
f
ile: fix reversed
succe
s
s
-
c
heck
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-01
Jeff Ki
n
g
re
v
-list: disable --use-bitma
p
-index whe
n
prun
i
ng commits
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jeff King
introduce "form
a
t
" date-mode
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jeff King
convert "enum
da
t
e_mode" into a
st
r
uct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jef
f
K
i
ng
show-b
r
anch: use
D
ATE_RELATIVE inst
e
ad of magic
number
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-26
J
e
ff King
cat-
f
i
le: sort a
n
d
de-dup output of --batch-al
l
-objec
t
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-26
Jeff Kin
g
re
a
d_gitfile_gently
:
fix use-after-free
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat-fil
e
:
add
-
-
ba
t
ch-all-ob
j
ec
t
s
option
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Je
f
f
K
i
ng
ca
t
-fi
l
e
:
split batc
h
_
one_ob
j
e
ct into two stag
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff
Kin
g
cat-fil
e
:
stop returning va
l
ue from batch_one_obj
e
ct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Je
f
f King
cat-fil
e
: add --buff
e
r option
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
J
eff King
cat-file: move batch_o
p
tions definition to top
of file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
J
e
ff King
cat-file
:
min
o
r
style fix in options list
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
f
o
r_each_packed
_
object:
a
ut
o
matically open pack index
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-17
Jeff King
do
c
s
:
cl
a
ri
f
y
t
hat --enc
o
ding can produce
i
nvalid sequences
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-16
Jeff King
pkt-line: s
u
pport tracin
g
verbatim pa
c
k contents
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-15
J
ef
f
King
pkt-line: tighten sideban
d
PACK check when tracing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-15
Je
f
f King
pkt-line: sim
p
l
ify s
t
arts_with
c
hecks in pac
k
et traci
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-15
Jeff King
Revert "stash: requ
i
re a clean index
t
o appl
y
"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-09
Jeff King
i
ndex-p
a
ck: avoid excessive r
e
-reading of pack di
r
e
ctory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-04
Jeff Ki
n
g
ind
e
x-pack: fix trunc
a
tion of
of
f
_t in
compa
r
iso
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-03
J
eff King
e
wah: us
e
less gener
i
c mac
r
o name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-01
Jeff
K
i
n
g
suppress e
r
rors on mis
s
ing
U
NINTERES
T
ING l
i
nk
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-01
J
eff
King
s
i
lence broken lin
k
warnings w
i
th
r
evs->ignore_missin
g
_links
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-01
Jeff King
add quieter ver
s
ions o
f
parse_{tre
e
,commit}
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-05-29
Jeff King
s
etup_git_di
r
e
ctory: delay core
.
bare/core
.
worktree
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-05-29
J
e
ff King
Makefil
e
:
silenc
e
perl/PM
.
s
t
amp recipe
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next