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
probe_utf8_pathname_composition: use internal strbuf
2015-10-05
Jeff King
probe_ut
f
8_pa
t
hname_compositio
n
: use internal strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
precompose_utf8: drop unused v
a
r
iable
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
sha1_get
_
pa
c
k_name:
u
se a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
htt
p
-walker: store u
r
l in a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
h
t
tp-push:
u
se strbuf instead
o
f
fwrite_buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
K
ing
re
m
ote-ext: simplify git p
k
t-
l
ine
gen
e
r
a
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
upload-archive
:
co
n
vert
s
p
r
in
t
f
to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
K
ing
resol
v
e_re
f
:
u
s
e st
r
bufs for int
e
rn
a
l
b
uff
e
rs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
in
g
r
e
ad_
r
e
mo
t
e
s
_
file: simplify string
h
a
n
dlin
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
read_branches_fil
e
:
s
implify string handling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
mailmap: replace
strcpy
w
it
h
xstr
d
up
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
help: drop prepend
f
unction i
n
fav
o
r
of xstrfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ref
-
filt
e
r: drop sprintf and strcpy calls
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff Ki
n
g
use
s
t
rip_suffi
x
an
d
xst
r
fmt to repla
c
e
s
u
ffix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff
K
i
n
g
fetch: rep
l
a
ce
s
tati
c
b
u
f
fer with
x
strfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
c
o
n
fig
:
use xstrfmt
i
n nor
m
alize_value
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
r
eplace trivial malloc
+ spri
n
tf /
s
trcpy call
s
with
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
receive-pack: convert strncpy to xsn
p
rintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
http-push:
r
epla
c
e strcat
w
ith
x
snprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
add_pack
e
d_git:
conve
r
t strcpy into xs
n
p
rint
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
e
n
try
.
c: co
n
vert strc
p
y
t
o xs
n
pr
i
ntf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
gre
p
: use xsnpr
i
n
t
f
to
format
f
ailure
message
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
c
o
m
pat/h
s
tre
r
r
or: convert
spr
i
nt
f
to snprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
s
to
p
_pro
g
ress_msg: convert sprintf to xs
n
printf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
find_
s
hort_
o
bject_fi
l
en
a
me: convert sprintf to xs
n
printf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
use xsnpri
n
tf fo
r
gene
r
atin
g
gi
t
object headers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
archive-tar: use xs
n
printf for t
r
ivial formatting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
K
ing
convert trivial
sp
r
in
t
f /
s
trcpy
calls to xsn
p
rintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
compat/inet
_
nt
o
p: fix off-by-one in inet_ntop4
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
t
est-dump-cache-tree: avoid overflow of cache-
t
re
e
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
pr
o
gress: store
t
hr
o
ughput di
s
p
l
ay in a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
tra
c
e
: use s
t
rbuf for
q
u
o
te_crnl outpu
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
Ki
n
g
mailsplit
:
make PATH_MAX buf
f
er
s
dynamic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fs
c
k:
u
se strbuf to
g
enerat
e
al
t
e
r
nate d
i
rectories
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ad
d
reentrant vari
a
nts
o
f s
h
a
1
_to_hex and find_u
n
ique_abbrev
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
ef
f
K
i
n
g
strbuf: make strbuf
_
c
o
m
p
lete_line more g
e
neric
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
add
git_
p
ath_
b
uf helper f
u
nc
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
add xsnprintf h
e
lp
e
r func
t
i
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
ef
f
K
i
ng
fsck: don'
t
fsck alternates for connectivity-only check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
archi
v
e-tar: fix mino
r
indentation
v
iolation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
mailsplit: fix FILE* leak in split_maildir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
s
h
ow-branch: avoid segfault with -
-
reflog of
unbor
n
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
show-branch: use
a
strb
u
f for r
e
flog descripti
o
n
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
King
re
a
d_in
f
o_a
l
ternat
e
s: han
d
le paths larger than
P
ATH
_
MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
no
t
es: use a strbuf
i
n add_non_note
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
v
e
ri
f
y_absent: a
l
low filenames longe
r
than PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
Jeff King
pac
k
-
protocol: cla
r
i
f
y
LF-handlin
g
in PKT-LINE()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
J
e
ff Ki
n
g
rerere: release lo
c
kfile in no
n
-writing f
u
ncti
o
ns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-31
Je
f
f King
log: diagnose empty HEAD more clearly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
J
ef
f
King
rev-list:
m
ak
e
it obvious that we do not support notes
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
config:
s
ilence wa
r
ning
s
for com
m
and names w
i
th invalid
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
get_urlmatch:
a
v
o
id useless st
r
buf
w
r
ite
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
format_
c
onfig: simp
l
ify buffer handl
i
ng
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
J
e
ff King
format_
c
on
f
ig:
d
o
n
'
t
ini
t
s
t
rb
u
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vr
e
portf: avoid intermed
i
ate buff
e
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vrepor
t
f:
r
eport to
ar
b
itr
a
ry filehandles
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
Kin
g
memoize common
g
i
t-p
a
th "constant" f
i
les
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
g
e
t_re
p
o_pa
t
h: refactor path-allocation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
f
ind_ho
o
k: keep o
u
r own static buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f K
i
n
g
refs
.
c: remove_empty_direct
o
ries
can take a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f King
refs
.
c: avoid gi
t
_
p
ath assignment in lo
c
k_ref
_
sha1_basic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
refs
.
c: a
v
o
i
d
repeat
e
d git_
p
ath calls in rename_tmp_log
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff Kin
g
refs
.
c: simplify
strbufs
in ref
l
og s
e
tup and
w
r
iting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
path
.
c: drop git_path_su
b
module
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff King
r
e
fs
.
c: remove extra git_
p
ath calls
f
rom read_loose_refs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f
K
ing
remo
t
e
.
c:
dr
o
p ex
t
raneou
s
loc
a
l v
a
riabl
e
from migrate_file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
K
i
ng
prefer mkpathdup to mkpath in assignments
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
pr
e
fer git_pathdup to g
i
t
_
path in some
po
s
s
ibly-da
n
gerou
s
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f King
add_t
o
_
alternates_
f
ile:
d
on
'
t add duplica
t
e
e
ntries
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
t5
7
00:
m
ode
r
nize style
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff King
cach
e
.
h:
complete set of gi
t
_path_submodule
h
elpers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
cache
.
h: clari
f
y documentation for
git_path, et al
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clon
e
:
use comp
u
ted length in guess_di
r
_
n
ame
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
clo
n
e: add tests for
output dire
c
tory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff
K
ing
test-lib: disable trace w
h
en test is not v
e
rbose
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
test-lib: tur
n
off "-x" trac
i
ng
d
uring chain-
l
int check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff
K
in
g
re
f
s: s
u
pport
n
egati
v
e
t
ransfer
.
hideRefs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-28
J
e
ff K
i
ng
doc
s
/con
f
ig
.
txt: reorder hideRefs config
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-21
Jeff King
strb
u
f
: make strb
u
f_addfti
m
e
mo
r
e
ro
b
u
st
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-08
Jeff King
c
heck_and_fr
e
shen_file: fix reversed
success-ch
e
ck
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-01
Jeff King
rev-li
s
t
:
disa
b
l
e
--
u
se-bitmap-ind
e
x
whe
n
prunin
g
commit
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Je
f
f King
introduce "
f
ormat" date-mod
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jeff
King
convert
"enum date_mode" into a struct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jeff Ki
n
g
show-branch: use DATE_RELA
T
IVE ins
t
ead of magic number
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-26
Jeff King
cat-file: sort and de-dup output of --bat
c
h-a
l
l-ob
j
ec
t
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-26
Jeff
K
ing
read_g
i
tfile_
g
ently:
fix use-after-free
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
J
eff K
i
ng
cat-file: add --batch-all-objects option
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat-file: split ba
t
c
h_one_ob
j
ect into two stages
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
c
at-file:
st
o
p returning
val
u
e
from batch_
o
n
e_
o
bject
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
J
e
ff King
cat-file: add --
b
uffer option
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat-file:
m
ove batch
_
opt
i
o
n
s defin
i
ti
o
n to to
p
o
f
file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat-file: mino
r
st
y
le f
i
x in options list
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
for_each_pa
c
k
ed_object: auto
m
a
tically o
p
en
pack index
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-17
Jeff King
doc
s
:
clarif
y
t
hat --encod
i
ng can
p
roduce
i
nval
i
d
s
equenc
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-16
J
e
f
f
K
ing
pkt-line: support
t
rac
i
ng
v
erb
a
tim pack contents
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-15
Jef
f
Kin
g
pkt-line: tighten sideband PACK c
h
eck when tracing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-15
Jef
f
King
pkt-line: si
m
plify
starts_with check
s
in
p
acke
t
tracing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-15
Jef
f
King
Revert "stash:
re
q
uire a clean index to apply"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-09
Jeff King
i
ndex
-
pack: avoid
e
xc
e
ssive re-rea
d
ing
of pa
c
k di
r
ectory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-04
Je
f
f Ki
n
g
in
d
ex-pack:
fi
x
trun
c
at
i
on
o
f off_t in
c
omparison
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next