repo.or.cz
/
git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
replace unchecked snprintf calls with heap buffers
2017-03-30
Jeff
K
i
ng
replace unc
h
ec
k
ed snprint
f
ca
l
ls wi
t
h heap buffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
re
c
e
i
ve-
p
ack
:
print
-
-pack-he
a
der dir
e
ct
l
y into argv
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
name-rev: replace
s
tatic b
u
ffer with strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
c
r
eate_branch: use xs
t
rfmt for
r
eflog
m
ess
a
ge
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
J
e
ff King
cre
a
te_branch: m
o
ve msg s
e
tup cl
o
ser t
o
p
oint of use
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
avo
i
d using mk
s
npath for refs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
a
void using fix
e
d
P
ATH_MAX buffers for refs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
fetch
:
use heap buffer to format
r
eflog
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Jeff
King
tag: use strbuf
to forma
t
tag head
e
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Je
f
f King
d
iff:
a
v
oid fixed-siz
e
buffer for patch-ids
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-28
J
eff King
od
b
_mkstemp: u
s
e
gi
t
_p
a
th_buf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-28
Jeff
K
in
g
odb_mkstemp: write filen
a
me into
strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-28
Jeff Kin
g
do
not
c
h
e
c
k
odb
_
mkstemp re
t
u
r
n
v
a
lu
e
f
o
r error
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-24
Jeff King
pack
.
h
:
define
large
s
t possibl
e
encoded ob
j
ect siz
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-24
Jeff King
encode_in_
p
ack_obj
e
c
t
_header: r
e
spect outp
u
t buffer
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-24
Jef
f
King
fast-import: u
s
e
xsn
p
r
int
f
f
or f
o
r
m
atting hea
d
ers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-24
Jeff King
fast
-
impor
t
: use xs
n
p
rin
t
f f
o
r writing sha1s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-24
Jeff K
i
n
g
page
r
_in_use: use
git_env_bool
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
bundle:
use
p
refix_filename w
i
th bundle p
a
th
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
prefix_filename
:
simplif
y
windows #if
d
ef
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-21
J
e
ff King
pref
i
x_filenam
e
: retu
r
n n
e
wl
y
allocated string
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-21
Je
f
f
K
i
ng
prefix_filename: drop
l
ength parame
t
er
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-21
J
e
f
f K
i
ng
prefix_filename: move
d
oc
s
tring to he
a
der
file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-21
Jeff Ki
n
g
has
h
-object: fix buffer reuse with
--path in a subdir
e
ctory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-18
Jeff
K
i
ng
r
u
n-c
o
mman
d
: fix segfault when cleani
n
g forked async
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-17
Je
f
f
K
i
n
g
t0013: add
a b
a
sic sha1
collision detection t
e
s
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-17
Jeff K
i
ng
Makef
i
le
:
a
dd
D
C_SHA1
knob
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-17
Jeff Kin
g
sequenc
e
r: drop "warning:"
when
s
topping for edit
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
Jeff
King
sh
a
1dc: disable safe_hash
f
e
ature
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
s
ha
1
dc: adjust header includes for git
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
s
h
a
1
dc:
add collision-dete
c
t
ing sh
a
1 impl
e
mentat
i
on
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
index-pack: make po
i
nter
-
a
lias
f
allbacks
s
a
fer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
J
eff K
i
n
g
replace snprin
t
f with odb_pack_name()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
J
e
ff King
odb
_
pack
_
ke
e
p
(): stop ge
n
er
a
ting kee
p
file na
m
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
J
e
ff King
sha1
_
f
ile
.
c:
m
ake pac
k
-n
a
me h
e
lper globally accessible
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
Jef
f
King
move odb_* dec
l
arations out of git-com
p
at-util
.
h
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-15
J
eff King
rev
-
parse: si
m
plify parsing of ref options
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-15
Jeff K
i
ng
re
v
-pa
r
se: add helper fo
r
parsing "-
-
foo/--foo="
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-15
Jeff King
rev-p
a
rse: use
skip
_
prefix
w
hen pars
i
ng
o
p
t
ions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-15
Jeff King
cherry-pick: detec
t
bogus ar
g
uments to -
-
m
a
inline
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-14
Jeff K
i
ng
add--interactive: do
not expan
d
p
athsp
e
c
s with ls-files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-13
Jeff King
http-w
a
lker: f
i
x buf
f
er unde
r
flow pr
o
cessing
remote
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
t/int
e
rop:
a
dd
t
est of old
client
s
a
g
ai
n
s
t
modern g
i
t
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-10
Jeff
K
ing
t: ad
d
an
interoperability test harness
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-10
Jeff
K
ing
ref-filter: u
s
e separat
e
cache for contains_ta
g
_algo
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
ref-filter: die on par
s
e_
c
ommit
e
rrors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
ref-filter: use contai
n
s_r
e
sul
t
enum consistently
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
ref-filte
r
: move ref_cbdata definiti
o
n into ref
-
f
i
lt
e
r
.
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-07
Jeff Kin
g
send-pack: rep
o
rt
s
ig
n
al de
a
t
h
of
p
ack-obj
e
cts
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-07
Jeff
Ki
n
g
send-pack: read "unpa
c
k
"
statu
s
e
ven on
pack-obje
c
t
s
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-07
J
e
ff
K
in
g
send-p
a
ck
:
impro
v
e unpack-status error messages
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-07
Je
f
f
K
i
ng
send-p
a
ck
:
use sk
i
p
_prefix for p
a
rsing unpack status
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-07
Jeff Ki
n
g
send-pack: extrac
t
parsing of "
u
npack"
r
espons
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-07
Jeff King
receive-
p
a
c
k: fix d
e
ad
l
ock
w
hen w
e
cannot create
t
m
p
dir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-06
Jeff Kin
g
ewah:
f
ix eword_t/u
i
n
t
64_t confusion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-03
Jef
f
King
t/perf: add
fallback for pre-bin-wrapp
e
r
s ver
s
ions
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-03
Jeff King
t/perf:
u
se
$
MODE
R
N
_
G
I
T
fo
r
a
l
l
repo-c
o
pying
steps
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
checkout: re
s
tri
c
t
@-expansions
w
hen finding br
a
nch
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
J
eff King
strbuf
_
check_ref_
f
ormat(): expand only lo
c
al
b
ranches
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
J
e
f
f
K
ing
br
a
nch: restric
t
@-expan
s
ions when del
e
ting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
t320
4
: test
git
-
branch @-expansion corner cases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
int
e
rpret_branch_nam
e
:
allow
callers to res
t
rict expan
s
ions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
str
b
uf_branchname:
a
dd docst
r
i
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
J
eff King
st
r
b
uf_branchname: drop ret
u
rn va
l
ue
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
interpret_branch_name
:
m
o
ve docstring to
h
e
a
d
e
r
file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff Kin
g
inte
r
p
r
et
_
branch_name(): ha
n
dle a
u
to-namelen fo
r
@{-1}
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff
K
in
g
add--interac
t
ive: fix
m
issing file prompt f
o
r
patch
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-27
Jeff King
t6300: av
o
i
d
c
r
eating refs/heads/HEA
D
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-27
J
eff King
http
:
a
dd
an "auto" mode for http
.
em
p
tyauth
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-24
Jef
f
King
p
a
r
se_hide_refs_config: te
l
l parse_config_key we don
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-24
Je
f
f King
p
arse_
c
onfig_key:
allo
w
ma
t
ching single-l
e
vel config
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-24
Jeff King
parse_c
o
nfig_key: use skip_p
r
efix inste
a
d of
s
t
arts_with
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-23
Jeff King
ident: do not
ignore emp
t
y config name/
e
mail
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-23
Jeff King
ident: reject a
l
l-crud ident name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-23
J
eff King
i
d
ent: handle NULL email when comp
l
a
ini
n
g
o
f empty
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-23
Jef
f
King
i
d
ent: ma
r
k error
messa
g
es f
o
r translation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-23
Jeff King
http: r
e
st
r
i
ct auth meth
o
ds to
what the server advertis
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-17
Jef
f
K
i
ng
temp
f
ile: set errno to
a
known v
a
lue
before call
i
ng
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-16
J
e
ff Kin
g
tempfil
e
: avoid
"ferror | f
c
los
e
"
tri
c
k
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-15
J
eff King
s
h
ow-branch: us
e
skip_pref
i
x to
d
rop magic
n
u
mbers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
Jef
f
King
grep: treat revs
the same fo
r
--unt
r
a
c
k
ed as
f
or -
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
re
m
o
t
e: avoi
d
reading $GIT_DIR
config in
non-re
p
o
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
s
h
o
w
-branch: stor
e
reso
l
v
ed head in heap
b
uffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
J
e
ff King
show-br
a
n
ch: drop
h
e
ad_len variab
l
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
grep: do not
d
i
agnose
m
issp
e
lt revs
w
ith --no-index
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
Jeff
K
ing
grep: av
o
id
resolv
i
ng
r
evision names in --
n
o-index
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
Jeff K
i
ng
grep: f
i
x
"
--
"
rev/pathspec disambigua
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
Jeff Ki
n
g
grep: re
-
order rev-par
s
ing loop
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
Jef
f
Ki
n
g
grep:
move
t
h
r
ead
initializat
i
on a li
t
tle lower
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-13
Jeff King
docs/gi
t
-submo
d
ule: fix
unbalanc
e
d
q
uote
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-13
Je
f
f
K
ing
docs/gitremo
t
e-h
e
l
p
ers
:
fix unb
a
lance
d
q
u
otes
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
Jeff King
receiv
e
-pack: avoid dupl
i
c
a
tes
b
etween
o
ur refs a
n
d
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
Je
f
f
K
ing
receive-pack: treat
namespace
.
h
ave line
s
lik
e
alterna
t
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
Je
f
f King
receive-pack
:
fix misleadi
n
g
namespace/
.
h
ave co
m
ment
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
Je
f
f King
receive-pack:
use oidset to de-dupli
c
ate
.
have lines
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
Jeff King
add
oidset
A
PI
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
Jeff Kin
g
fet
c
h
-
p
ack: cache results
o
f for_each_
a
lt
e
rna
t
e_re
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
Je
f
f
K
i
ng
for_each_alt
e
rnat
e
_
ref:
replace t
r
a
n
sport
code wit
h
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
Jef
f
King
for_
e
ach_alternate_r
e
f
: pass name/oid instead of
re
f
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
Jeff Ki
n
g
for_e
a
c
h_alternate_ref: use
s
t
r
buf fo
r
path
a
llocation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next