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
apply: convert root string to strbuf
2015-10-05
Je
f
f Kin
g
apply: convert root string to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
i
ng
i
n
it: u
s
e strbuf
s
to store paths
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
probe_utf8
_
pathname_compo
s
ition: use
i
nternal strbu
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
prec
o
mpose_utf8: drop unused
va
r
i
ab
l
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
Kin
g
sha1_get
_
pack_n
a
me: u
s
e
a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
http-
w
alker
:
store url in a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ht
t
p-pus
h
:
use strbuf instead of fwrite
_
buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
rem
o
te-
e
xt: simp
l
ify git pkt-lin
e
gene
r
ation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff Ki
n
g
u
p
l
o
a
d-archive:
c
onvert sprintf to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
reso
l
ve_ref: use strbufs f
o
r internal buffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
r
e
ad_remotes_f
i
le: simpl
i
fy string ha
n
dli
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
read_bran
c
hes
_
file: s
i
mplify string handlin
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
m
a
ilmap: rep
l
ac
e
strc
p
y with x
s
trdup
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
help: d
r
op prepend function in f
a
v
o
r of
x
s
t
rfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ref-filter: dr
o
p
sprin
t
f and strcpy call
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
use strip_su
f
f
ix
a
nd xstrfmt to repl
a
ce suffix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
Ki
n
g
fet
c
h: replace static b
u
f
f
er
w
it
h
x
s
trf
m
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
Kin
g
conf
i
g
: use xstrfmt i
n
normalize_value
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
r
epl
a
c
e
triv
i
al mal
l
oc + sprin
t
f / strcpy calls
with
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
receive-pack: convert strncpy to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
K
ing
http
-
push: replace strc
a
t
with
xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
a
d
d
_pa
c
ked_git: convert strcpy in
t
o
xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
ef
f
King
entry
.
c:
c
onvert st
r
cp
y
to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
gr
e
p:
u
se
x
s
nprintf to format
failure m
e
ssage
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
compat/hstrerror:
convert s
p
rint
f
to snprint
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f K
i
n
g
stop_progre
s
s_msg: co
n
vert
s
printf
to xsnp
r
i
n
t
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
f
i
n
d_short_object_filen
a
me: con
v
ert
s
pri
n
tf to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
use xsnprintf for generati
n
g g
i
t object h
e
aders
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
archive-tar: u
s
e xsnprintf for trivial
f
ormatti
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
convert tr
i
vial
spri
n
t
f
/ strcpy calls to xsnp
r
intf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff Ki
n
g
c
o
mpat/i
n
et_nto
p
: fix of
f
-by-one in inet_
n
t
o
p
4
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
test-dump
-
cache
-
tree:
a
void overflow of cache-tree
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
progress:
s
to
r
e t
h
roughpu
t
disp
l
ay in a
s
trbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
trace: use
st
r
buf fo
r
quote_crn
l
o
u
tpu
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mailsplit: make PATH_MAX buffers d
y
namic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
fsck: use strbuf to generate alt
e
rnate
d
ire
c
tories
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add re
e
nt
r
an
t
variants of sha1
_
to_hex and
f
ind_
u
ni
q
u
e
_abbrev
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
K
i
ng
strbuf: m
a
ke
s
trbuf_complete_line more g
e
ne
r
i
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ad
d
git_pa
t
h_buf helper fu
n
ction
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff
K
ing
add xsnpri
n
tf helper funct
i
on
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
fsck: don't f
s
ck al
t
ernates fo
r
connectiv
i
t
y-only
c
heck
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
arc
h
ive-tar: fix
minor indentation vio
l
ation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
mailsplit: f
i
x
FILE* leak in spl
i
t_maildir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
ef
f
King
show
-
branch: a
v
oid segfaul
t
with --reflog of unborn
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
J
eff
K
ing
show-
b
ranch: use a strbuf for
reflo
g
description
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
read_info_alte
r
nates: handle paths
l
arger
tha
n
PAT
H
_MA
X
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
notes: use
a
s
trbuf i
n
add_n
o
n
_
note
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
J
e
ff King
verify_abse
n
t: allow filenam
e
s longer tha
n
PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
Jeff Ki
n
g
p
a
c
k
-protocol: c
l
arify LF-handling in PKT-LINE()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
Jef
f
King
rerere: release lock
f
ile in non-writing fu
n
ctions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-31
J
e
ff King
l
og:
d
iagnose empty HEAD mo
r
e
cl
e
arly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
rev-list
:
m
ake it obvious that we do
n
o
t support n
o
tes
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff K
i
ng
config: silence warning
s
fo
r
co
m
mand names with inv
a
lid
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff K
i
ng
get_ur
l
match: avoi
d
use
l
ess strb
u
f
w
rite
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
J
eff King
for
m
at_c
o
nfig: simp
l
ify
b
uffe
r
hand
l
ing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
format_co
n
fi
g
: don't init strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff K
i
ng
vrep
o
rtf: avoid int
e
rmediate buff
e
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vr
e
portf: report to arbitrary fileha
n
dle
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
f
f
King
me
m
oi
z
e com
m
on gi
t
-p
a
th "c
o
nstant" fil
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f
King
get_repo_pa
t
h: refactor
path-
a
l
l
oc
a
tio
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
find
_
ho
o
k: k
e
e
p our own static
b
uf
f
er
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
n
g
refs
.
c: remove
_
empty_directories can take a strbu
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c: a
v
oid g
i
t_pa
t
h
assignment in lock_ref_sha
1
_
basic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
r
e
fs
.
c: av
o
id repe
a
ted git
_
path
c
alls in
rename_tmp_
l
og
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
refs
.
c: simplify st
r
bufs in ref
l
og setup and writ
i
ng
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
p
a
th
.
c
: drop git_path_submodule
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
Ki
n
g
r
efs
.
c: re
m
o
ve ex
t
r
a git_p
a
th
c
all
s
from read_loose_re
f
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
r
e
m
ote
.
c: drop
extraneou
s
local
v
a
riable from migrate_file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
prefer mkpathdup to mkpath in assi
g
nments
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
i
ng
prefer git_p
a
thd
u
p to git_path in s
o
me
possibl
y
-dangerous
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
add
_
to_alterna
t
es_file:
d
o
n
't
a
d
d
duplicate entrie
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
t570
0
: modernize style
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
cache
.
h: c
o
mplete
s
et of git_p
a
th_su
b
m
odule helpers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
cache
.
h: clarify
documen
t
at
i
on
f
or git_path, et al
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clo
n
e: use c
o
mputed leng
t
h in g
u
ess_dir_name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clone:
a
dd t
e
sts for output
d
irectory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
J
ef
f
King
test-lib: disable trace when te
s
t is
not verbose
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
t
est-
l
i
b: turn off "-x" tracing during chain-li
n
t check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff Kin
g
refs:
support negative t
r
ansfer
.
hideRefs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-28
Je
f
f
King
doc
s
/c
o
nfig
.
t
xt: reorder hideRefs
config
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-21
Jeff Ki
n
g
strbuf:
ma
k
e strbuf_addftime
more r
o
bust
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-08
Jeff King
check_a
n
d_freshen_file: fix reversed
success-
c
heck
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-01
Jeff King
re
v
-lis
t
:
disable
--
u
se-bitmap-index when pru
n
ing commits
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jeff King
in
t
rodu
c
e "fo
r
mat" date-mode
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jef
f
King
convert "enum
date_mode" into a struct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jeff King
sh
o
w-branch
:
use DATE_R
E
LATIVE
instead of magic
n
umb
e
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-26
J
eff King
cat
-
f
i
le: sort and de-dup output of
-
-batch-all-object
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-26
Jeff King
read_g
i
tfile_g
e
ntl
y
: fix use-after-free
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff Kin
g
cat-
f
ile: add --batch-
a
ll
-
objects option
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
J
eff King
cat-file: split batc
h
_one_o
b
ject into
two stag
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
c
a
t-file: stop returning va
l
ue
fr
o
m batch_
o
n
e_object
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Je
f
f
K
i
ng
cat-file: add --buf
f
er op
t
i
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
c
a
t-file: move b
a
tch_o
p
tions defin
i
tion to top of file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
J
ef
f
K
ing
c
a
t
-f
i
le:
m
inor s
t
yle fix in options
list
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Je
f
f King
for_each_packed
_
obje
c
t: automatically open pac
k
index
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-17
Jeff King
d
o
c
s:
c
larify t
h
at --encoding
can
p
roduce inv
a
lid s
e
qu
e
nce
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-16
J
e
ff King
pkt-line
:
support
tracing verbatim pack
contents
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-15
Jeff Kin
g
pkt-line: t
i
ghten
sideband PACK check whe
n
tracing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-15
J
e
f
f
King
pkt-
l
ine:
s
impli
f
y starts_with checks in packet
tracing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-15
Jeff Kin
g
R
ev
e
rt "stas
h
:
r
equi
r
e a c
l
ean index
to apply"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next