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 Kin
g
repla
c
e unchecked s
n
printf calls
with hea
p
buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
receive-pack: print --p
a
ck-head
e
r
directly int
o
a
rg
v
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Je
f
f King
n
a
me-rev: replace static buffer with strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jef
f
King
create_branch: us
e
xstrfmt for reflog message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
cre
a
te_branch: mo
v
e
msg setup closer to
p
oint of use
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
av
o
id using mksnpath for
refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
a
v
oid usi
n
g fixed PATH_MAX bu
f
fers for r
e
fs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
fetc
h
: use heap bu
f
fer to format reflo
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
t
a
g: us
e
st
r
buf to format
tag h
e
ad
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Je
f
f
K
ing
diff
:
avoid f
i
xed-size buffer
for patch-i
d
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-28
Jeff King
o
d
b_
m
kstemp: use git_path_bu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-28
Je
f
f Kin
g
odb_mkstemp: write fi
l
e
n
a
m
e into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-28
Jeff King
do no
t
chec
k
odb_mkstemp return value
f
o
r
err
o
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jef
f
K
ing
pack
.
h: define largest possible
encoded object siz
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff King
encode_i
n
_pack_
o
bje
c
t_heade
r
:
respect output
b
uffer
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff King
fast-impor
t
: us
e
xsnpri
n
tf for formattin
g
headers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff King
fast-impo
r
t: u
s
e xs
n
print
f
fo
r
wr
i
ting sha1s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
J
eff Kin
g
pager_in_use: use git_env_bool()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Je
f
f King
b
u
ndle: use pr
e
fix_fil
e
n
ame with bundle
p
ath
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
J
e
ff King
p
refix
_
f
i
lename: simplify wi
n
dows #ifde
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
prefix_filename: return new
l
y
a
l
l
ocate
d
st
r
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff
K
ing
prefix_filen
a
me: drop l
e
ngth paramete
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff Ki
n
g
prefix_filename
:
m
ove d
o
cstring to he
a
der fi
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
hash
-
object
:
f
ix buffer
re
u
s
e with
-
-path i
n
a s
u
bdirectory
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-18
J
eff King
run-command: fix segfau
l
t when cleaning forked
async
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-17
Jeff Ki
n
g
t0013
:
add a
b
a
sic s
h
a1
c
ollision detectio
n
test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-17
Jeff Ki
n
g
Makefi
l
e: add DC_SH
A
1
knob
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-17
Jef
f
King
seq
u
e
nce
r
: drop "warning:" when
s
topping for
e
di
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff
King
sha1dc
:
disable
safe_h
a
sh feature
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
J
eff Ki
n
g
sha
1
d
c
: ad
j
ust
header
i
n
c
ludes
f
o
r
git
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff Ki
n
g
sha1dc:
a
d
d
collision-
d
etec
t
ing sha1 i
m
plementat
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
index-pack
:
make point
e
r-alias fa
l
l
bac
k
s safer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff
King
rep
l
ace snprintf
w
ith o
d
b_
p
ack_name()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
odb_p
a
ck_keep():
stop generat
i
ng keep
f
ile n
a
me
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
J
e
ff
K
ing
sha1
_
file
.
c: make
p
ack
-
name helper global
l
y accessible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
move
odb_*
d
eclaration
s
out of git-c
o
mpat-util
.
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Jeff King
rev-parse: simplify par
s
ing of ref optio
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Jeff King
rev-parse
:
add helper fo
r
parsing
"
-
-
f
o
o/--f
o
o="
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Jeff Ki
n
g
rev-pa
r
se: use skip_prefix
w
he
n
parsing option
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Jeff King
ch
e
rry
-
p
i
ck: detec
t
bogus arg
u
me
n
ts to
-
-mainline
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-14
Jeff K
i
ng
a
dd-
-
interactive:
do not expand
p
athspec
s
with ls-files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-13
Jeff King
http-walker: fix buff
e
r underflo
w
p
r
o
cessing remote
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jef
f
King
t/intero
p
: add test of old
clie
n
ts against m
o
der
n
git
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
t: add an interoperab
i
li
t
y
t
est harness
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
J
e
ff K
i
n
g
ref-filter: use sepa
r
ate cache for co
n
ta
i
ns_tag_algo
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff
K
ing
ref-filter: die on parse_c
o
mmit
errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Je
f
f King
r
ef-filter: use
conta
i
ns
_
result enum consistently
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jef
f
King
ref-fil
t
er:
m
ove r
e
f_
c
bdata definitio
n
int
o
ref-f
i
lter
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff King
send-pack: report
signal dea
t
h
of p
a
c
k-objects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
J
e
ff K
i
ng
s
end-pack:
r
ead "
u
npack" s
t
a
t
us eve
n
on pack-obje
c
t
s
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff
K
ing
send-pack: imp
r
ove u
n
p
a
c
k-status
e
rror messages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff K
i
ng
se
n
d-pac
k
: use
skip_prefix for
p
a
rsing unpack
s
t
a
t
us
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Je
f
f Kin
g
send-pack: extract parsing of "unpack" response
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff
K
i
n
g
receive-pack: fix deadloc
k
w
h
en we c
a
nnot
create tmpdir
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-06
Jeff
K
i
ng
e
wah: f
i
x eword
_
t/uint64_t c
o
nf
u
sion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-03
Jeff
King
t
/
perf: add fallback for p
r
e-b
i
n-wrappers ver
s
ion
s
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-03
Jeff King
t/perf: use $MO
D
ERN_GIT fo
r
all repo-c
o
py
i
ng
steps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
checkout: restrict @-expansio
n
s when
f
inding branch
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
strbuf_
c
heck
_
ref_f
o
rmat(): ex
p
a
n
d
o
n
l
y loc
a
l branch
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff
Ki
n
g
branc
h
:
rest
r
ict @-expansio
n
s
w
hen deleting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
t3204: test gi
t
-branch @-expansion corn
e
r case
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Je
f
f K
i
ng
interpret_
b
ran
c
h_name
:
allow ca
l
lers to restrict expansions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
strbuf
_
bra
n
chname: add
d
ocstring
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
str
b
uf
_
branchnam
e
: drop return
v
a
l
ue
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
interp
r
et_branch_
n
ame: mo
v
e d
o
cstr
i
ng to h
e
ad
e
r file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff K
i
n
g
i
nter
p
ret
_
branch_name(): handle auto-namelen for @{-1}
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff K
i
n
g
add--interactive:
f
ix missin
g
file promp
t
f
o
r patc
h
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-27
Jeff K
i
n
g
t6300
:
a
v
oid
c
reati
n
g
r
e
f
s/h
e
ads/H
E
AD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-27
Jeff King
http:
add a
n
"aut
o
" mo
d
e
for http
.
emptyauth
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-24
J
eff King
parse_hi
d
e_refs_config: tell p
a
rse_config_k
e
y we don
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-24
Jeff King
parse
_
config_
k
ey
:
allow
mat
c
hing single-level config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-24
Jeff K
i
n
g
parse_config_key: use skip_pr
e
f
i
x in
s
tead of sta
r
t
s
_with
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Jeff K
i
ng
ident: d
o
not ignore empty config name/emai
l
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Jeff Kin
g
ident: reject all-crud
i
d
ent nam
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Jeff Kin
g
i
d
e
n
t: handle N
U
LL e
m
ail w
h
e
n
c
o
m
plaini
n
g of e
m
pty
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
J
e
ff King
i
d
en
t
: mark err
o
r m
e
ss
a
g
es
for tr
a
n
s
l
a
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Jeff K
i
ng
http:
restrict a
u
th methods to what the serve
r
a
d
vertises
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-17
Jeff
K
ing
tempfi
l
e: set errno to a known va
l
ue b
e
fore call
i
ng
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-16
Jeff
K
i
n
g
tempfile: av
o
i
d "ferror | fclose" trick
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-15
Jeff
K
ing
sho
w
-
b
ra
n
c
h: use skip_prefix t
o
drop
m
a
g
ic num
b
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff K
i
ng
grep: t
r
eat revs the same fo
r
--untracked as for -
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff K
i
ng
remote: avoid reading
$GIT
_
DIR co
n
fig in non
-
r
e
po
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff Kin
g
s
ho
w
-br
a
nch: store resolved hea
d
in heap buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff
K
ing
sho
w
-branc
h
: d
r
o
p
he
a
d_le
n
var
i
abl
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
grep: do not diagnose misspelt revs with --no-index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
grep: avoid resolving r
e
vis
i
o
n name
s
i
n
-
-
n
o
-
i
n
dex
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
grep:
fi
x
"
-
-" rev/pathspec disambiguation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
J
e
f
f
King
grep: re-ord
e
r rev-p
a
rsing loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff K
i
ng
grep
:
mo
v
e thread initializa
t
i
on a little lower
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-13
Jeff King
docs/git
-
s
u
bmodul
e
: f
i
x unbalanced quote
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-13
Jeff King
docs/
g
itremote-helpers
:
fix unbala
n
c
e
d quo
t
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jeff King
r
e
ceive-pack:
avo
i
d
d
u
plicates between our refs
a
nd
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jef
f
King
receive-pac
k
: trea
t
namespace
.
have line
s
l
ike al
t
ernates
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
J
eff
K
ing
receive-pa
c
k:
fix
m
isleading namespace/
.
hav
e
comment
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jeff King
recei
v
e
-
p
a
ck
:
u
s
e
oidset to de-duplicate
.
h
ave lines
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jeff King
a
d
d oidset API
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jeff King
fetch-pack: cach
e
r
e
s
ult
s
of for_each_
a
lt
e
r
n
ate_ref
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jeff K
i
ng
for_each_alternate_ref: replace transp
o
rt code with
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jeff
K
in
g
for_each_alternate_ref:
pa
s
s na
m
e/oi
d
in
s
tead of ref
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jeff Kin
g
for_e
a
ch_alternate_ref: use
str
b
uf for path
a
l
loca
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next