repo.or.cz
/
git
/
gitweb.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
commit: provide a function to find a header in a buffer
2014-08-27
Jeff King
comm
i
t:
provide
a function
t
o find
a
h
eader
in a buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
t
401
3
: test dif
f
-tree'
s
-
-
stdin commit formatting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
t1402
:
check f
o
r refs ending with a dot
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff
King
diff-tree: avo
i
d
looku
p
_unknown
_
obj
e
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
o
b
ject_as_t
y
pe: set co
m
mit index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
alloc: fact
o
r
o
u
t
c
ommit index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
add object_as_type
h
elp
e
r for ca
s
ting ob
j
ec
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
parse_obj
e
ct_buffer:
do n
o
t se
t
object type
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
mo
v
e s
e
tting of object->type to alloc_* functio
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
alloc
:
w
r
ite ou
t
allo
c
ator
definiti
o
ns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff Ki
n
g
apply: avoid possib
l
e b
o
gus pointer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff
K
ing
fix m
e
mory le
a
k parsing core
.
comm
e
ntch
a
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jef
f
Ki
n
g
transport: fix leaks in refs_from_alt
e
r
n
ate_cb
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
fre
e
ref string returned by dwim_ref
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Je
f
f
K
i
n
g
receive-pa
c
k: don
'
t copy "d
i
r" par
a
mete
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jeff
K
in
g
t5539: update a fl
a
ky test
commit
|
commitdiff
|
tree
2014-07-15
Jeff
King
paint_down_t
o
_common: use
prio_qu
e
ue
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
p
r
i
o-
q
ueue: m
a
k
e output stable with r
e
spect to
i
nserti
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
prio-queue: fac
t
or out compar
e
and swap opera
t
i
ons
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff Ki
n
g
dif
f
-tree: avoid lo
o
kup_u
n
k
nown_objec
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
J
e
ff K
i
ng
object_as_type: set co
m
mit index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Je
f
f King
alloc:
f
actor out commit index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Je
f
f
Ki
n
g
a
d
d
o
bje
c
t_as_
t
y
pe helper
for casting objects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
J
e
ff King
parse_ob
j
ect_buffer: do not set object
t
y
p
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff K
i
ng
move setting of object->type
to alloc_* fun
c
tions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff Ki
n
g
alloc
:
wri
t
e out allocat
o
r definitions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
tag: use skip_prefix instead
o
f
magic numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff K
i
ng
remote-curl: mark
h
elper-
p
ro
t
ocol errors mor
e
c
lea
r
ly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff Kin
g
remote-
c
url: use error i
n
stea
d
of fprintf(
s
tderr)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
r
e
m
ote-curl: do not c
o
m
p
l
ai
n
on E
O
F from paren
t
git
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-02
Jef
f
King
t7
3
0
0
: repa
i
r
f
ilesystem
p
e
r
missio
n
s
with test_when_finish
e
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff
King
prepare_p
a
ck
e
d_git_one: refact
o
r duplicate-
p
ack check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff Ki
n
g
verify-pack: u
s
e strbuf_str
i
p_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff K
i
ng
strbuf: imple
m
ent strbuf_strip_s
u
ffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
i
n
de
x
-pack: use strip_suffix to avoid ma
g
ic numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Je
f
f
K
in
g
u
se strip_
s
uffix instead of ends_with
i
n
sim
p
le c
a
s
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jef
f
King
r
e
place
h
as_exten
s
io
n
with ends_wit
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff K
i
ng
i
mpl
e
ment ends_with
v
ia s
t
rip
_
suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Je
f
f
King
add strip_suffix functio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Je
f
f Kin
g
re
p
lace: add a --raw mod
e
for --e
d
it
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
rep
l
ace: use argv_array in e
x
port_object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
av
o
id
d
o
uble cl
o
s
e
o
f
descr
i
ptors h
a
nded
to run_
c
om
m
and
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
r
eplace: replace spaces with tabs in indentati
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff
King
move "%G" f
o
rmat
t
est from t7510 to
t6006
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
setup_g
i
t_
e
n
v
(
): introduce git_path_f
r
om_env() help
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
eff King
h
t
t
p-push:
refactor parsi
n
g
o
f remote object names
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
K
in
g
u
se skip_
p
re
f
ix
t
o
avoi
d
re
p
eat
e
d c
a
l
c
u
l
a
ti
o
ns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Kin
g
git
:
avoid ma
g
ic number wi
t
h sk
i
p_pr
e
fix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fetch-pack: refactor p
a
rsi
n
g in get_ack
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff King
fast-import:
refac
t
or parsing
o
f s
p
a
ces
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jef
f
Kin
g
st
a
t_opt: che
c
k extra strl
e
n call
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff King
daemon: use skip_prefix to avoid magic n
u
mbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fast-import: u
s
e skip_pr
e
fix for pars
i
ng i
n
p
u
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
use
skip_
p
r
efix to
a
void repeating strings
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f
King
use skip_prefix to avoid magic
n
umbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f
Ki
n
g
tr
a
nsport-helper: avoi
d
reading past end-of-string
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fast-import: fix
read of uninitialized argv mem
o
ry
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
apply: u
s
e sk
i
p_
p
r
e
f
i
x i
n
stead of
raw
a
d
dition
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f King
refac
t
o
r
s
kip_prefi
x
t
o return a boolean
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
J
e
ff King
u
nique_path: fix unlikely
heap o
v
erflow
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff K
i
ng
walker_fetch:
fix m
i
nor memo
r
y leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jef
f
King
merge
:
use
argv_array w
h
en spawning merge strategy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Je
f
f King
sequencer: use
a
rgv_array_pus
h
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
s
etup_
g
it_env: use git_pat
h
d
up instead of
x
m
alloc
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use
xstrfmt to
repl
a
ce xmalloc + str
c
py/s
t
r
c
at
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use
x
s
trfmt to repl
a
ce xmal
l
oc
+ s
p
rintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use xstrdu
p
in
s
tead of xmal
l
oc
+
s
trcp
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff K
i
ng
use xstrfmt in favor
o
f m
a
nual s
i
ze
calculations
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff Ki
n
g
s
t
rbuf: add xstrfmt hel
p
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
avoid u
s
i
ng skip
_
pre
f
ix as a boolean
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
daemon: ma
r
k some
strings as const
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
parse_diff
_
color
_
slot: drop ofs
parameter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Je
f
f King
pr
e
tty:
a
void reading past
e
n
d
-o
f
-
s
tring with
"
%G"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Je
f
f King
t
7
510: che
c
k %G
*
prett
y
-forma
t
output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff King
t7510
:
t
e
st
a
commit sig
n
ed
b
y an unk
n
own
k
e
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff King
t7510: stop referri
n
g to
m
a
ster
i
n later tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
reuse
c
a
ch
e
d commit b
u
f
f
er when
p
a
r
si
n
g
s
i
gna
t
ures
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
f
f King
c
o
m
mit
:
r
e
cor
d
buffer length in
cac
h
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
f
f King
commit: c
o
nve
r
t
c
ommit->bu
f
fer to a slab
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
commit-slab: provide a static initializer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
f
f
Kin
g
u
s
e g
e
t_commit_buffe
r
e
v
erywhere
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
eff King
convert logmsg_r
e
encode to get_commit_buff
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
f
f
K
i
ng
use get_commit_buffer t
o
a
v
oi
d
duplicate cod
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff
K
ing
u
s
e get_
c
ached_co
m
m
i
t_buffer w
h
e
r
e appropriate
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff Kin
g
p
r
ovide helpers to access
the comm
i
t
buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
eff King
p
r
ovide a h
e
lp
e
r
to
set the commit
b
uffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff Ki
n
g
p
r
o
vid
e
a h
e
lpe
r
t
o fr
e
e
com
m
it buffe
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
t7700
:
d
r
op expl
i
cit --no
-
pack-kept-objects fr
o
m
.
keep
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
J
e
ff Kin
g
se
q
uen
c
er: use
logmsg_reencode in
g
et_
m
essag
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff
K
ing
logmsg_reen
c
ode:
r
e
turn const buffe
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
do
no
t
c
re
a
te "stru
c
t
commit" with xc
a
l
l
oc
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
J
eff King
commit: pu
s
h comm
i
t_
i
ndex u
p
date i
n
to a
l
loc_
c
ommit_node
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
J
e
ff King
a
lloc
:
include
any-object allocations in
a
lloc
_
report
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
replace d
a
ngerous us
e
s
of strb
u
f_attach
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
J
eff
K
i
ng
commit_tree: take a pointer
/
l
e
n
pair
ra
t
h
e
r th
a
n a
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Je
f
f K
i
ng
rep
a
c
k
:
i
n
tr
o
duce repack
.
writeBitmaps
config option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
re
p
ac
k
: simplify handli
n
g of
--write-bitm
a
p-i
n
dex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
pack-obj
e
cts: s
t
op res
p
ecti
n
g pack
.
w
r
itebitm
a
ps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff
K
i
n
g
repack:
s
/w
r
i
te_bitma
p
/&s/ in code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
J
e
f
f King
re
p
ack: respect pack
.
writebitmap
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next