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
drop strcpy in favor of raw sha1_to_hex
2015-10-05
Jeff King
drop strcpy
in
f
avor of
raw
sha
1
_to_h
e
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
us
e
s
ha1
_
to_he
x
_
r
() instea
d
of strc
p
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
eff King
dae
m
o
n
:
use cld->env_array when
re-spawning
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
stat_tr
a
cking_info: convert to argv_array
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
http
-
push: use an argv_a
r
ray fo
r
set
u
p_revisions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
f
etch-p
a
c
k
:
use argv_array for index-pack
/
unpack
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
f
f King
diagn
o
se_inv
a
lid_index_path: u
s
e
strbuf to av
o
id strcpy
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
write_loose_object
:
c
o
nvert to str
b
uf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
re
m
ove_le
a
ding_p
a
th: use a strbuf for internal sto
r
age
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
en
t
er_repo:
co
n
vert fixed-s
i
ze buffers to
s
trbufs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff
King
m
erge-recurs
i
ve: convert
malloc / strcpy t
o
strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
transport: use strbuf
s
for status
t
a
ble "quick
r
e
f"
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff Kin
g
app
l
y
:
con
v
ert ro
o
t string to
s
t
rbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
in
i
t
: use strbu
f
s to store p
a
ths
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
eff King
probe_utf8_pathname_co
m
position: use int
e
rnal st
r
buf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
p
recompose_utf8:
drop u
n
u
s
ed va
r
i
able
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
sha1_get_p
a
ck_n
a
me: us
e
a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
h
t
tp-
w
alk
e
r
: store ur
l
in a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f Ki
n
g
http-pus
h
: use str
b
uf instea
d
of fwrite_buffe
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
remot
e
-ex
t
: simplify git pk
t
-
line
g
ene
r
ation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
u
ploa
d
-arc
h
ive: conv
e
rt
sp
r
intf
to strb
u
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
resolve
_
ref: use strbufs for inte
r
nal bu
f
fe
r
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
re
a
d_remo
t
e
s
_file:
s
impl
i
fy strin
g
hand
l
ing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
read_br
a
nches
_
file
:
simplif
y
stri
n
g ha
n
dling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mailmap: replace strcpy
w
ith xs
t
rdup
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
help
:
drop p
r
epend functio
n
in fa
v
or of
xs
t
rfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ref-f
i
l
ter
:
drop sprin
t
f and s
t
rcpy calls
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
use strip_suffi
x
a
nd xstrfmt
to replace suffix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
f
et
c
h: replace s
t
ati
c
buffer with xstr
f
m
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
King
confi
g
: us
e
xstrfmt
in norma
l
ize
_
va
l
ue
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
repl
a
ce trivial ma
l
loc + sprintf
/
strcp
y
calls with
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
receive-pack:
c
onve
r
t
strncpy t
o
xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff Ki
n
g
ht
t
p
-pu
s
h:
r
eplace strcat with xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
add_packed_git: convert s
t
rc
p
y i
n
t
o xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
entry
.
c: convert st
r
cpy to xsnp
r
intf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
grep: use xsnpr
i
ntf to
f
ormat fail
u
re
m
essa
g
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
compat/hstrerror: convert s
p
rintf to snprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
K
ing
stop_progres
s
_msg: convert sprintf to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
find_short_o
b
je
c
t_filename: conve
r
t sprintf to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
ng
us
e
xsnprin
t
f
f
or generating g
i
t o
b
ject headers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
archive
-
tar:
use xsnp
r
i
n
t
f
for trivial formatting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
convert trivial sprintf / s
t
r
cpy
c
a
l
l
s to xs
n
p
rintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
compat
/
inet_
n
top: f
i
x o
f
f-by-one in inet_ntop
4
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
test-
d
u
mp-cach
e
-tre
e
:
a
void ov
e
rf
l
ow of cache-tree
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
progr
e
s
s
: store
t
hroughput display in a strbu
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
trace: use
s
t
rbuf for quote
_
crnl output
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
K
i
ng
m
ailspli
t
: make PATH_MAX buffe
r
s d
y
n
amic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
ef
f
King
fsck
:
use s
t
rb
u
f to gene
r
a
te a
l
te
r
nat
e
director
i
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
ng
a
dd reentrant variant
s
of sha1_to_hex
and
f
ind_unique_abbrev
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f King
s
trbuf: mak
e
strbuf
_
complete_line
more g
e
neric
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
ct
i
on
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff Ki
n
g
add
xsnprintf helper f
u
n
ction
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
fsck: d
o
n'
t
f
sck alte
r
nates f
o
r connectivity-only
c
heck
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
a
r
chive-tar: fix minor indentation
v
iolation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
mailspl
i
t
:
fix
F
I
LE*
leak in s
p
lit_m
a
ildir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff Ki
n
g
show-bran
c
h: avoid s
e
gfault with -
-
reflog of unborn
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
show-bra
n
ch:
u
se a st
r
buf for reflo
g
descrip
t
i
o
ns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff Kin
g
r
ead
_
i
n
fo_alternates: h
a
ndle paths
la
r
ger
t
han
PATH_
M
AX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
note
s
: use a
strbuf i
n
a
d
d_non_n
o
te
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff K
i
ng
v
e
r
ify_ab
s
ent:
allow filena
m
es longer
t
han PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
J
e
ff
Ki
n
g
pack-pr
o
to
c
ol: clarify LF-
h
an
d
l
i
ng
i
n
P
K
T-LINE()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
Je
f
f Kin
g
r
e
rere: release lockfile in
non-writing functions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-31
Jeff King
log: diagn
o
se
e
mp
t
y HEAD
m
ore clearly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
J
e
ff King
rev
-
list: make it obvious t
h
at we do not sup
p
o
r
t notes
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff
King
conf
i
g: sil
e
nce
w
arnings
f
or
c
o
mmand names with
i
n
val
i
d
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
get_ur
l
match: av
o
id u
s
eless s
t
r
buf write
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
J
eff King
format_config: s
i
mplify buffer
h
andling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
format_c
o
nfig: don't init strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vreportf: avoid inter
m
ed
i
ate
b
uffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Je
f
f
K
i
ng
vreportf: report to arbitrary filehandles
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
m
e
moize commo
n
g
it-path "c
o
nstant" files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
get_repo_path
:
refactor p
a
th-all
o
c
a
tion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f King
find_h
o
ok
:
keep ou
r
ow
n
s
tatic bu
f
fer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f
Kin
g
ref
s
.
c: r
e
mov
e
_empty_di
r
ectories can t
a
ke a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f
King
r
ef
s
.
c: avoid git_path assignment in lock_
r
e
f
_sha1_b
a
sic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
refs
.
c: avoid r
e
peated git_path calls in rename_tmp_
l
og
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
refs
.
c: s
i
m
pli
f
y s
t
rbufs in ref
l
o
g
s
etup
a
nd wr
i
ting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f King
pa
t
h
.
c: d
r
op git_path
_
su
b
modu
l
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c
: remove extra
g
it
_
pa
t
h calls
f
rom
r
e
ad_
l
o
o
se_refs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f King
remote
.
c: drop extraneous l
o
cal
v
a
ria
b
le from migrate_file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
n
g
prefer m
k
pathdup
t
o
m
kpath in assignments
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f King
prefe
r
git_pathdup
t
o git_
p
at
h
in some possib
l
y-dangerous
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
add_to_alte
r
nates_file: don't
a
dd du
p
licate
e
ntr
i
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
t5700
:
m
o
d
e
rnize style
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
cache
.
h: complet
e
set of
gi
t
_path_submodul
e
helpers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
cache
.
h:
cl
a
rify documentation for
git
_
path
,
et al
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
clone: use computed le
n
gth in guess_
d
ir_name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clo
n
e: add t
e
st
s
f
or
output directory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
J
eff
King
t
est-lib: di
s
able trace when tes
t
i
s
not verbose
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
J
ef
f
King
tes
t
-lib:
turn off
"
-x" tr
a
cing during chain-lint
check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
J
eff
Kin
g
r
efs: sup
p
ort
n
egative trans
f
er
.
hideRef
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-28
J
ef
f
King
docs/conf
i
g
.
txt: reorder hide
R
efs
c
onfi
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-21
J
eff King
strbuf: mak
e
strbu
f
_
ad
d
ftim
e
mo
r
e robu
s
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-08
Jeff King
check_a
n
d_fr
e
shen_
f
i
l
e: fix
rever
s
ed
s
uccess-check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-01
Jeff K
i
n
g
rev-
l
ist: di
s
able
--use
-
bi
t
map-ind
e
x
when pruni
n
g
c
ommits
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Je
f
f King
introduce "format" date-mode
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jeff King
convert "enum date_mode" in
t
o a stru
c
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jeff
King
s
h
ow
-
branc
h
:
use DA
T
E
_RELATI
V
E in
s
tead
o
f magic number
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-26
Je
f
f King
cat
-
file: sort and de-dup outpu
t
of
-
-
b
atch-all-ob
j
ect
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-26
J
eff Ki
n
g
read_git
f
ile_ge
n
tly: fix us
e
-
a
fter-fre
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next