repo.or.cz
/
git
/
debian.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 King
r
e
place un
c
hecked snprintf calls
with h
e
ap buff
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jef
f
K
i
ng
recei
v
e-pack: print -
-
pack-header directly into argv
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
J
e
ff Kin
g
name-re
v
: replace static buf
f
er
w
ith strbu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff Ki
n
g
create_bran
c
h: use xstrfmt for
r
eflog message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
crea
t
e_branch: move msg setup c
l
ose
r
to point of use
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff
K
ing
avoid using mksnpath
for refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
avoid u
s
ing fixed
P
ATH_MAX buffers for
re
f
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
f
et
c
h:
use heap buffer to format
r
efl
o
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff
King
tag: u
s
e strbuf to forma
t
tag header
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
diff:
a
void fixed-size
b
u
f
f
e
r for patch-ids
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-28
Jeff K
i
n
g
odb_mkstemp:
use git_path_buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-28
Je
f
f
King
odb_mkstemp: wr
i
t
e
filename into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-28
Je
f
f King
do not c
h
eck odb_mkstemp ret
u
r
n v
a
lue
for errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff King
pac
k
.
h:
define largest possi
b
le en
c
oded object
s
ize
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff Kin
g
encode_in_pack_obj
e
ct_heade
r
: respect outpu
t
buffer
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
J
eff
K
ing
fast
-
im
p
ort:
use x
s
n
printf for formatting headers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Je
f
f King
fa
s
t
-
import:
us
e
xs
n
pri
n
tf
f
or writin
g
sh
a
1s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff K
i
ng
p
ager_in_use: use git_env_bool()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff
K
ing
bundl
e
: u
s
e pr
e
fix_file
n
ame with
bundle path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff Ki
n
g
pref
i
x
_filename
:
s
implify
w
indow
s
#ifdef
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
prefix_
f
i
lename:
re
t
u
rn newly alloca
t
ed
s
tr
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff Ki
n
g
prefix_
f
i
l
e
name: d
r
op le
n
g
th parameter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
J
e
ff King
prefix_file
n
a
m
e:
m
o
v
e do
c
str
i
ng
t
o
h
eade
r
file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
J
eff King
hash-ob
j
ect:
f
ix buffer reuse with --path
i
n a su
b
d
i
rectory
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-18
Jeff
K
i
ng
ru
n
-command: fix segfault
w
hen cleaning forked async
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-17
Jeff King
t00
1
3: add
a
basic sha1 collision
d
etection test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-17
Je
f
f King
Ma
k
efil
e
: add DC
_
SHA1 k
n
ob
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-17
Jeff Kin
g
sequencer: drop "warn
i
ng:" when st
o
pping f
o
r ed
i
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
sha1d
c
: disable
s
a
fe_
h
ash f
e
ature
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
sha1dc: a
d
jus
t
hea
d
er
in
c
lud
e
s f
o
r
g
it
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
sha1dc: ad
d
collis
i
on-dete
c
ting sha1 implementation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Je
f
f King
in
d
ex-pack
:
make
p
ointe
r
-alias
fallbacks s
a
fer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff K
i
n
g
replace s
n
p
r
i
ntf with odb_pack_n
a
me(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
odb_pack_keep(): st
o
p generating k
e
epfile
n
ame
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
J
eff Ki
n
g
s
h
a1_f
i
le
.
c: make pa
c
k
-name helper globally accessib
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
move odb_* decl
a
rations out of git-c
o
mpat-util
.
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Je
f
f King
r
ev-parse
:
s
impli
f
y pars
i
n
g of
r
ef options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Jeff
K
i
n
g
rev-parse: add
h
elper fo
r
parsing "--foo/--foo="
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Je
f
f King
rev-pars
e
: use skip_pref
i
x when parsing options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Jef
f
King
c
h
erry-pick
:
d
etect bogus ar
g
uments t
o
-
-
m
a
inli
n
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-14
Jeff King
ad
d
--interac
t
ive: do not ex
p
and
p
aths
p
ecs with ls-files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-13
Jeff King
http-walk
e
r: fix b
u
ff
e
r und
e
rflow proces
s
i
ng remote
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
t
/interop: add
t
est of ol
d
c
l
i
ents agains
t
modern git
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
t: add an intero
p
erabi
l
ity test harness
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
J
e
ff
King
ref-filter: use
s
eparat
e
cache for contains_tag_algo
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
re
f
-
filter: die on par
s
e_commit e
r
rors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff
King
ref
-
filte
r
:
u
se conta
i
ns_re
s
u
lt enum co
n
s
i
st
e
ntl
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
ref-filter: move
r
e
f_cbdata definition
into
ref-fi
l
t
e
r
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff King
s
e
n
d-pack: report signal
death of pack-obj
e
cts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Je
f
f King
se
n
d-pac
k
:
re
a
d "
u
n
p
ack"
s
tatus even
on pack-objects
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Je
f
f King
s
e
nd-pack: impro
v
e unpack
-
stat
u
s
e
rror messages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff King
s
end
-
pack
:
use s
k
ip_pr
e
fix f
o
r parsi
n
g unpa
c
k
s
tatus
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff King
send-pa
c
k: ex
t
ract parsing of "unpack" response
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff King
rec
e
i
v
e-pack: fix
dea
d
l
o
ck
w
he
n
we c
a
nnot create
tmpdir
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-06
Jef
f
King
ewah: fix eword_
t
/
u
int64_t confusion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-03
Jeff King
t
/perf: add fal
l
back fo
r
pre-bi
n
-wrappers versions
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-03
Jeff Kin
g
t/perf: use $MODERN_
G
I
T
for all
repo-copying steps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
c
h
eckout: restrict @-expansions when finding branch
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff K
i
ng
strbuf_check_ref_fo
r
m
a
t(): expa
n
d only
l
ocal branches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff
King
b
ranch:
restri
c
t @-expans
i
ons when deleting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
t3204: test git-bra
n
c
h @-expans
i
o
n
c
o
rner cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
J
e
ff Ki
n
g
interpret_branch_name: allow callers
t
o
res
t
ric
t
e
x
pan
s
ions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff Kin
g
s
t
rbuf_branchna
m
e: add do
c
s
tri
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff Kin
g
strbuf_branc
h
name: drop retu
r
n
value
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
interpret_branch_na
m
e: move docstring to header
f
il
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
J
e
ff Ki
n
g
interpret_branch_name(
)
:
handl
e
auto-
n
amelen
for @{-1}
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff Ki
n
g
add
-
-in
t
er
a
cti
v
e
: fix missing file prompt for patch
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-27
Jef
f
King
t6
3
0
0
: av
o
id
creating refs/heads/H
E
AD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-27
J
ef
f
King
http: add an "auto" mode for http
.
e
mptyauth
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-24
Jef
f
Kin
g
parse_hide
_
r
efs
_
config: tell parse_config_key we don
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-24
Jeff
K
i
n
g
parse_config_key: allow
matching single
-
level con
f
ig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-24
Jeff King
parse_config_key: u
s
e s
k
ip_prefix inst
e
ad of st
a
rts_wit
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Je
f
f King
ident:
do not ignore empty config name/email
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
J
e
ff King
ide
n
t: rejec
t
all-
c
r
ud ident na
m
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Jeff Ki
n
g
id
e
nt: handle NULL email when com
p
laining of
empty
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Jeff Ki
n
g
i
d
ent: mark error me
s
sages for t
r
a
n
slatio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Je
f
f K
i
ng
http:
r
estri
c
t
a
uth method
s
to what the server a
d
vertises
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-17
J
eff K
i
n
g
tempfile: set errno to a known va
l
ue be
f
o
re ca
l
ling
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-16
Jef
f
K
i
ng
tem
p
file: avoid "ferror | fclose" trick
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-15
Jef
f
K
ing
show-branch: use skip_prefix to
d
rop magic number
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
grep: treat revs the same for --unt
r
a
c
ked
a
s for -
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
remote: avo
i
d reading $GIT_DIR config in non-rep
o
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Je
f
f K
i
n
g
show-branch: store re
s
o
lved head in heap buf
f
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
J
eff King
s
how-branch: drop
h
ead_len vari
a
b
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Je
f
f
K
ing
grep
:
do not diagn
o
se mi
s
s
pelt revs wit
h
-
-
no-index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
gr
e
p: avoid resolving r
e
vis
i
on
n
ames i
n
-
-
no-index
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
g
r
ep: fi
x
"--"
rev/p
a
ths
p
ec disamb
i
gu
a
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff
K
ing
gr
e
p
: re-order r
e
v-parsing loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Je
f
f King
g
re
p
:
move thread initializ
a
tion a little lower
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-13
Jeff King
docs/g
i
t-
s
ubmodule: fix unbalanced quote
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-13
Jef
f
K
i
ng
d
ocs/gitremote-help
e
r
s: fix unbalance
d
quotes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jeff
Ki
n
g
receive-pack: avoid duplicates between
o
ur refs
and
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jeff King
receive
-
pa
c
k: t
r
eat nam
e
space
.
have lines like alternates
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
J
eff King
receive-pack
:
fix mislea
d
ing namespac
e
/
.
have com
m
e
nt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jeff King
receive
-
pack: use oidset to de-duplicate
.
have lin
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jeff Kin
g
add oid
s
et API
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jeff Ki
n
g
f
e
tch-pack: cac
h
e
r
esult
s
of fo
r
_
e
a
ch_alternate_ref
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jeff King
for_
e
a
c
h
_alternate_ref: r
e
pla
c
e tr
a
nsp
o
rt code with
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jeff King
for_each_alternate_
r
ef: p
a
ss
name/oid instead of
ref
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-08
Jeff King
for_each_alterna
t
e_ref: use
strbuf for
p
a
t
h
allo
c
ation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next