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
Merge branch 'ep/avoid-test-a-o'
2014-07-28
Jeff King
t
4
01
3
:
t
est
d
iff-tree's --stdi
n
commit format
t
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
t
1
4
02: ch
e
ck fo
r
r
efs endi
n
g with a do
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
diff-tree: avoid loo
k
u
p
_unknow
n
_
o
bject
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
object_
a
s_t
y
pe
:
set co
m
mi
t
index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
J
eff King
alloc: fac
t
o
r
out comm
i
t
index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jef
f
K
ing
add object_a
s
_type helper
for casting objects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
parse_object
_
b
u
ff
e
r: do n
o
t
s
e
t
o
b
j
ect type
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
move se
t
t
i
ng of object
-
>t
y
pe to alloc_* functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jef
f
Kin
g
al
l
oc: w
r
ite
out allocato
r
definition
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff
K
i
n
g
apply: avo
i
d possible b
o
gus point
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
J
e
ff Ki
n
g
fix memory leak parsing co
r
e
.
com
m
entcha
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
tran
s
port: fix leaks i
n
refs_from_alternate_cb
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
J
e
ff Ki
n
g
free
ref string
returned by dwim_ref
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
J
e
f
f King
r
e
ceive
-
pack
:
don't co
p
y "dir" parameter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
t55
3
9: upd
a
te a flaky test
commit
|
commitdiff
|
tree
2014-07-15
J
eff
K
ing
paint_down
_
to_common: use pri
o
_queue
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
J
eff King
p
r
io
-
q
u
eue: make o
u
tput stable with r
e
spe
c
t to insertion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
pr
i
o
-
queue: factor
o
ut c
o
mpare and s
w
ap
operations
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
di
f
f-
t
r
e
e
:
avoid lookup_unk
n
own_object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
o
bjec
t
_
a
s_type: set commit index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
alloc: f
a
cto
r
out commi
t
in
d
ex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
J
e
ff King
add ob
j
e
ct_as_type hel
p
er for cas
t
i
n
g o
b
jects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
parse_ob
j
ect_buffer
:
d
o
no
t
set object type
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
move setting o
f
object-
>
t
ype to a
l
loc_*
functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
alloc: write out
a
l
locator def
i
n
i
tions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff Kin
g
tag: use s
k
ip
_
prefi
x
ins
t
ead
o
f
m
a
g
ic numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Je
f
f King
remote-cur
l
: mark helper-protocol errors mor
e
clearly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
rem
o
te-curl:
u
s
e
error
i
nstea
d
of fprintf(st
d
err)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
r
emo
t
e
-
curl
:
do
not co
m
plain on EOF
from
p
arent
git
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-02
Jeff King
t7300:
r
epai
r
filesystem permi
s
sio
n
s with
t
est_w
h
en_finished
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff Kin
g
prepar
e
_pa
c
ked_git_one: refactor duplica
t
e-pack check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff Kin
g
ver
i
fy-pack:
u
se strbuf_strip_suf
f
ix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
strbuf:
i
mplement str
b
uf_st
r
ip_su
f
fix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Je
f
f King
index-pa
c
k:
use strip_su
f
fix to av
o
id magic num
b
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
u
se s
t
r
ip_suf
f
ix instead of ends_w
i
th
i
n
s
imple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
replace has_ex
t
ens
i
on with
ends
_
wi
t
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Je
f
f King
i
mplement e
n
ds_with via strip_
s
u
ffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff
King
a
d
d
s
trip_suffix func
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
replace: ad
d
a --ra
w
mode for -
-
edit
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
J
e
ff King
repl
a
ce: use
a
rg
v
_
a
rray in export_object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
a
v
oid
double close o
f
desc
r
iptors hande
d
to run_com
m
and
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
replace: r
e
place spaces with tabs i
n
ind
e
ntat
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff Kin
g
m
o
v
e "%G" form
a
t
test from t
7
510 to t6
0
06
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
setu
p
_git_
e
nv():
i
ntrodu
c
e
git_pa
t
h_from_env
(
) he
l
per
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
eff
K
ing
http-push: refactor par
s
in
g
of r
e
m
o
t
e object
n
a
m
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
use
skip
_
pref
i
x to avoid repeated
c
alculatio
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
eff Kin
g
git:
avoid magic number w
i
th skip_prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fetc
h
-pack:
refactor parsing in get_ack
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fast-i
m
po
r
t:
refactor
p
arsing
o
f
spaces
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff K
i
ng
stat_
o
pt: check
extra
s
trl
e
n c
a
l
l
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f King
dae
m
on: use skip_p
r
efix to avoid ma
g
ic numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
f
ast-import: use skip
_
p
r
efix f
o
r pa
r
sing
input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
u
s
e skip_p
r
efix to a
v
oid repeating strings
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jef
f
K
ing
u
se s
k
i
p
_
p
refix to av
o
id ma
g
ic nu
m
bers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
t
r
ansport-helper: avoi
d
readin
g
past
end-of-string
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fast-
i
mport: fix re
a
d of unini
t
i
a
lized argv
m
emor
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff King
apply: use ski
p
_prefix instead of raw a
d
dition
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Ki
n
g
refactor
s
kip
_
p
refix t
o
re
t
ur
n
a boolean
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
unique
_
p
ath: fix unlikely heap overflow
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
King
walker_fetch: fix minor memory leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff Kin
g
merge: use argv_array when spawning merge strate
g
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
sequencer: u
s
e argv_a
r
ray_pushf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
J
e
ff King
setup_git_env: use git_pa
t
hdup instea
d
of xmall
o
c
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use xs
t
rfmt to r
e
pl
a
c
e
xmalloc +
str
c
py/strcat
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use xstrfmt to
r
eplac
e
x
malloc +
s
p
r
intf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
u
s
e xst
r
dup instea
d
of x
m
al
l
oc +
str
c
py
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jef
f
K
i
ng
use xstrfmt in favor of manual si
z
e ca
l
c
ulations
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
J
eff King
s
t
rbuf: add xstrfmt helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
J
e
f
f
King
avo
i
d using skip_prefix
a
s a bool
e
a
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
daemon: mark some strings a
s
cons
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jef
f
K
ing
parse_diff_color_slo
t
:
d
rop ofs pa
r
ameter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff Ki
n
g
pretty:
a
void r
e
ading past e
n
d-of-string wi
t
h "%G"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff K
i
n
g
t7510: check
%
G* pre
t
ty-format output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff
Kin
g
t7510: test
a
commit signed by an
unknow
n
ke
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff
K
ing
t7510: stop refer
r
ing to
m
aster in later tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
reuse
cached commit buffer when p
a
rsing si
g
nat
u
res
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff
K
ing
commit: rec
o
r
d
buffer lengt
h
in cache
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jef
f
King
comm
i
t: convert
c
ommit->buffer to
a
slab
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
eff King
com
m
it-sl
a
b: provide
a
st
a
tic i
n
i
t
i
a
lizer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jef
f
King
use g
e
t_com
m
it_buffer everywhere
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
eff King
c
o
nvert lo
g
msg_
r
eencode to g
e
t_c
o
m
m
it_bu
f
fer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
u
s
e
get_com
m
i
t
_buffer to av
o
id duplic
a
te
c
ode
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jef
f
King
u
s
e g
e
t_
c
ac
h
ed_commit
_
buff
e
r where appropriate
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
ff
K
ing
provide helpers to ac
c
es
s
the commi
t
bu
f
f
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
provide
a help
e
r t
o
s
e
t
t
he commit buf
f
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff
King
p
rovide a h
e
lper to
free c
o
mmi
t
buff
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
J
eff King
t7700: drop explici
t
--no-pack-kept-
o
bjects f
r
o
m
.
ke
e
p
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
sequencer: use logm
s
g
_re
e
ncode in get_me
s
sage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff K
i
ng
logmsg_
r
eencode: retu
r
n
const buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
do no
t
c
reate "
s
tru
c
t commit" with xcalloc
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
c
ommit:
push commit
_
ind
e
x update
i
nto alloc_commit_node
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
J
eff King
al
l
oc: inc
l
ude any-ob
j
e
ct allocations i
n
alloc_r
e
port
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
repl
a
ce dangerous u
s
es of
str
b
uf_
a
ttach
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jef
f
King
commit_tree: take a pointer/le
n
p
air rather th
a
n a
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
J
e
ff Kin
g
repack
:
introduce repa
c
k
.
writeBit
m
aps c
o
nfi
g
opti
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jef
f
King
repack: s
i
mplify handling of -
-
write-bit
m
a
p-ind
e
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
J
ef
f
King
pack-objects: stop respecting p
a
ck
.
writebitmaps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
repack: s/write_bi
t
map/&s/
in code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff
K
ing
repack:
r
espect p
a
ck
.
w
r
itebitmaps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
repa
c
k: do not accid
e
n
t
al
l
y
pack
kept
objects
b
y default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next