repo.or.cz
/
git
/
git-svn.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
use alloc_ref rather than hand-allocating "struct ref"
2015-10-05
Jeff King
use
a
lloc_ref rather th
a
n hand-alloc
a
t
i
ng "struct
ref"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
eff
King
colo
r
: add overflow checks fo
r
par
s
ing colors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
dr
o
p strcpy in
f
a
vor of raw sha1_to_hex
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
use s
h
a1_to_hex
_
r()
i
n
s
t
e
ad
of str
c
py
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
f
f King
daemon
:
u
se cl
d
-
>
e
n
v_arra
y
whe
n
re-spa
w
ning
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
s
t
at_tracking_info: convert to argv_ar
r
ay
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
http-push
:
u
s
e
an argv_
a
rray
for
s
etup_r
e
vi
s
ions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
eff
K
i
ng
fetch-pack:
u
se argv_arra
y
for ind
e
x-pa
c
k / u
n
p
a
ck
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
d
i
agnose
_
invalid
_
index
_
p
a
t
h:
u
se strbuf to avoid strcpy
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
i
n
g
write_loose_object: convert t
o
strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
eff
King
rem
o
ve_leading_pa
t
h: use a strbuf fo
r
internal stor
a
ge
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
enter_repo: convert f
i
xed-size bu
f
fers to strbufs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
merge-rec
u
r
s
ive: convert
malloc / strcpy to strb
u
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
trans
p
o
rt: use
s
t
rbufs for
status table "quickref"
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
apply: c
o
nvert root string to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
init: use st
r
bufs to store pat
h
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
pr
o
be_utf8_pathnam
e
_
c
o
mposition: use
i
n
ternal strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
precompose_utf8: drop unused v
a
riable
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
sha1_get_
p
ack_name: use a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
ng
htt
p
-walker: store url in
a
st
r
buf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
h
t
tp-push: use
s
trbuf
instead
o
f
f
write_buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
remote-ext: simpl
i
f
y git pkt-
l
ine ge
n
eration
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
upload-a
r
chive: convert
s
pri
n
tf
t
o strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
resolve_ref: use st
r
bufs for
internal buffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
rea
d
_remotes_file
:
simplify string handling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f Ki
n
g
read_b
r
anches
_
file: s
i
mp
l
ify string
handli
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
mai
l
map:
replace
s
trcp
y
w
ith x
s
trdup
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
help: dro
p
pre
p
end
funct
i
on
in favor of xstrfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
r
e
f-filter
:
dr
o
p s
p
rintf
a
n
d
strcpy calls
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
use strip_
s
uffix
a
nd xstrfmt to re
p
lace suffix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fetch: re
p
l
a
ce
s
tatic
buf
f
er with xst
r
fm
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
config: us
e
x
strfmt
i
n
norma
l
i
z
e_value
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff Ki
n
g
replac
e
triv
i
al malloc + spri
n
tf / strcpy calls with
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
receive-pack: conv
e
rt s
t
rnc
p
y
to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
http-push:
r
ep
l
ace s
t
r
c
at with xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ad
d
_pac
k
ed_git: convert strcpy into x
s
nprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
entry
.
c:
convert strcpy
to xsnpr
i
ntf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
gre
p
:
use
xsnpri
n
tf to format fa
i
l
u
r
e
m
e
s
sage
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
compat/
h
strer
r
or: convert sprintf to snprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
s
t
op_progre
s
s_msg: convert
s
printf to
xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fin
d
_s
h
or
t
_object_fi
l
ename: convert
sprintf to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
use xsnprintf for
g
enerating git object heade
r
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
a
r
c
h
ive-tar: use
x
snprin
t
f for trivial
f
o
rmat
t
ing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
convert
t
rivial
s
printf /
strcpy c
a
ll
s
to
x
snprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
compat/inet_ntop
:
f
ix o
f
f-by-one in inet_ntop4
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
test
-
dump-cache-t
r
e
e
: avoid overflow
of cache-t
r
ee
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
progres
s
: store
t
hr
o
u
g
h
p
u
t display
i
n a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
t
r
a
c
e: us
e
str
b
uf for quo
t
e_crnl ou
t
put
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff Kin
g
mailsplit: make PA
T
H_MAX
buffers dyn
a
mic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
f
s
ck:
u
se s
t
rbuf to generate
al
t
e
r
nate directories
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add r
e
entrant
variants of sha1_t
o
_hex
a
nd fi
n
d_unique_
a
bb
r
ev
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
strbuf: m
a
ke s
t
rbuf_
c
omplete_line more g
e
ner
i
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add git_path_
b
uf helper fu
n
ction
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
add
x
s
n
printf helper funct
i
on
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
f
s
ck: don't fsck alte
r
nates f
o
r con
n
ectivit
y
-only
c
heck
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff Ki
n
g
ar
c
hive-tar: fix
m
inor
i
ndentation vio
l
ation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
mailspli
t
: f
i
x
F
IL
E
* leak
i
n split_maildir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
sho
w
-
b
ranch: av
o
id
segfau
l
t
with --reflog of
unborn
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Je
f
f King
show-
b
ranch: use a
st
r
buf
f
or reflog descriptions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
r
e
a
d
_
i
nfo_
a
lternate
s
: handle paths larger than PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jef
f
King
notes: use a strbuf in add_
n
on_note
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
verify_abse
n
t: allow f
i
lenames
long
e
r than PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
J
e
ff
King
p
a
c
k-prot
o
col:
clarif
y
LF-h
a
n
d
ling in
P
KT-
L
I
NE()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
J
eff King
rerere: release
l
ockfile in no
n
-wri
t
i
ng f
u
nctions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-31
Jeff King
l
og: diagnose empty HEAD more clearly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff
K
ing
rev-li
s
t: ma
k
e it o
b
vi
o
us that we do no
t
sup
p
ort not
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff Kin
g
config: silen
c
e w
a
rni
n
g
s
for
comma
n
d names w
i
t
h invalid
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
g
e
t_urlmatch: avoid us
e
l
ess strbuf write
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
for
m
at
_
con
f
ig:
sim
p
l
i
fy buffe
r
handling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Je
f
f King
fo
r
m
at_
c
onfig: don't init strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff Kin
g
v
reportf: avoid
i
n
t
ermediate
b
uff
e
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff Ki
n
g
vreportf: report to arbi
t
rary fileha
n
d
l
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
m
e
moize common git-path "cons
t
ant" files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
g
et_repo_path: refact
o
r path-alloca
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff K
i
ng
find_hook:
k
eep our ow
n
stati
c
bu
f
fer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c: remove_empty_directories can take
a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c: avoid git_path assignme
n
t
in lock_ref
_
sha1_
b
asic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
refs
.
c: avoid repeated git
_
pat
h
calls in rename_tmp_l
o
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
i
ng
r
e
fs
.
c: simpl
i
fy strb
u
fs
in reflog
s
e
tup and wri
t
in
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
pat
h
.
c
: drop
git_
p
a
th_submodul
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c: remove
e
xtra
g
it_path calls
from
r
ead
_
loose_refs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff K
i
ng
remote
.
c: drop ex
t
raneo
u
s local v
a
r
i
able from m
i
g
rate_f
i
le
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
prefer mkpathdup to mkp
a
th in assi
g
nments
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
prefer git_
p
athdup to git_
p
ath in
s
ome po
s
s
i
bly-dangerous
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff King
add_to_
a
l
ternates_file: don't add duplicate
entries
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
i
n
g
t
5700: mod
e
rnize style
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
cache
.
h: complet
e
set
o
f g
i
t_pa
t
h_submo
d
ul
e
helpers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
c
a
c
h
e
.
h:
c
larify documentatio
n
for git_path, et
al
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
clon
e
: use computed length
i
n guess
_
d
i
r
_name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
clone: add
t
ests for ou
t
put directory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
test-lib
:
disable trace when test is not verbose
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
J
e
f
f King
test-l
i
b: turn off "-x"
traci
n
g
d
uring
chain-lint ch
e
ck
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
refs: support negative transfer
.
hideRefs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-28
Jeff K
i
n
g
docs
/
config
.
txt: reorde
r
hi
d
eRefs
c
onfi
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-21
Jeff
King
s
t
rbuf: make strbu
f
_
a
ddftime
m
ore robust
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-08
Je
f
f
Ki
n
g
c
heck_and
_
freshen_fil
e
:
fix rev
e
rse
d
succe
s
s-check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-01
J
eff
K
ing
rev
-
lis
t
: disa
b
l
e
--use-bitma
p
-i
n
dex when prunin
g
commits
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Je
f
f King
introduce "format" date
-
m
ode
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jeff K
i
n
g
conver
t
"enum date_mode" i
n
t
o a struct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jeff King
show-branch
:
use DATE
_
RELATIVE
instead of magic numbe
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next