repo.or.cz
/
git
/
mjg.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
cache-tree: avoid infinite loop on zero-entry tree
2014-10-30
Jeff King
cac
h
e-
t
ree:
av
o
i
d infin
i
t
e loop on zero-entry
t
ree
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-10-19
Jeff Ki
n
g
p
a
ck-objects:
t
urn off bitmaps
when we split
p
acks
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-09-16
J
ef
f
King
mailin
f
o: make ">
F
rom" in-
b
ody
header
c
h
e
c
k more r
o
bu
s
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-09-12
J
e
f
f King
fsck: return no
n
-zero st
a
tus
o
n missing ref tips
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-09-11
Je
f
f King
config: avoid a fun
n
y sentin
e
l value "a^"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-09-10
Jef
f
K
i
ng
fsck
:
exit
with
non-zero
s
tatu
s
u
p
o
n error from fsc
k
_obj()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-29
J
e
ff King
index-pack:
f
i
x race c
o
ndition wit
h
duplicate bases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-26
Jeff King
send-pack: t
a
ke refspecs over s
t
d
i
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-25
Jeff King
git-prompt:
d
o not look f
o
r refs/st
a
s
h in $GIT_DIR
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-25
Jeff Kin
g
fast-
i
mport: fix b
u
ff
e
r overflow in dump_t
a
gs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-25
Je
f
f King
f
a
st-import: clean up pa
c
k
_
data po
i
nter in e
n
d_packfile
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-25
Je
f
f King
p
a
c
k
-
r
e
fs: p
r
une top-le
v
el r
e
f
s
like "refs/foo"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-20
Jeff
King
interse
c
t_paths: resp
e
ct m
o
de in
gi
t
's tree-sort
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-19
Jef
f
King
Ma
k
efile: make
perf tests op
t
ional
f
or
p
r
ofi
l
e
b
uild
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-12
J
eff
K
i
ng
pack-objects: tu
r
n
o
ff bitmaps when we see --shallow
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-30
Jeff King
pretty:
m
ake empty us
e
r
f
or
m
ats truly empty
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-30
J
eff Ki
n
g
pretty
:
t
r
eat "--format=
"
a
s
an empty userformat
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-30
Jeff Ki
n
g
rev
i
sion: d
r
op useless
s
t
ring offse
t
when parsing
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
J
eff King
t4013: t
e
st diff-
t
ree's --stdin commit for
m
atting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
t1402: check for refs endi
n
g with a dot
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff
King
diff-tree:
av
o
id lookup_unknown_object
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
object_as_
t
ype: set co
m
mit index
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
al
l
oc:
f
actor out
c
ommit index
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
J
e
f
f Ki
n
g
add ob
j
ect_as_type h
e
lper for casting objects
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff K
i
ng
parse
_
object_buff
e
r: do not
set object type
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Je
f
f
Ki
n
g
move settin
g
of object->type to alloc
_
* functi
o
ns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff
K
i
ng
allo
c
: write o
u
t allocator defi
n
it
i
ons
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
apply:
a
v
oid possible bog
u
s
p
o
inter
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-24
Je
f
f
King
fix me
m
ory leak
p
a
r
sing core
.
commentch
a
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
t
ransport: f
i
x leaks in refs_from_alternate_cb
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-24
Jeff Ki
n
g
f
ree ref
s
t
ring returned
by
d
w
i
m
_ref
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-24
Jeff
K
ing
receive-pack: don'
t
copy "d
i
r" parame
t
er
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-15
J
eff Ki
n
g
t5539: updat
e
a
flaky
test
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
p
a
int_down_to_
c
ommon
:
u
s
e pr
i
o_qu
e
ue
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-15
Jef
f
King
prio-queue: make o
u
tput sta
b
le with res
p
ect
to inserti
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-15
J
e
ff King
prio-qu
e
ue: factor out c
o
m
p
are a
n
d
swap o
p
er
a
tions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
diff-tr
e
e: av
o
id looku
p
_unknown_ob
j
ect
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Jeff
K
ing
obj
e
c
t
_as_type: set commi
t
index
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
J
eff Ki
n
g
al
l
oc: f
a
ctor out
c
ommi
t
index
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Jeff Kin
g
add
object_as_type h
e
l
per for
c
a
sting
objects
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Jeff Kin
g
p
a
rse_object_
b
uf
f
er: do not set obje
c
t
ty
p
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
J
e
ff King
m
ove se
t
tin
g
of object->type to alloc_*
f
unctions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Je
f
f Kin
g
alloc:
w
rite
o
u
t
a
llocator
d
efinitions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-10
Jef
f
King
tag
:
use sk
i
p_p
r
e
f
ix instead
o
f m
a
gi
c
numbers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
r
e
mot
e
-curl: mark hel
p
er-p
r
o
t
ocol e
r
rors more c
l
ear
l
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-10
Jeff
Ki
n
g
remote-curl:
use error in
s
tead of fprin
t
f(stderr)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-10
Jeff
Kin
g
remote-cur
l
: do not
c
omplain on EOF
from paren
t
git
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-02
Je
f
f
Kin
g
t73
0
0:
r
epair file
s
ystem per
m
i
s
sions with test_when_finished
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff K
i
ng
prepar
e
_
packed_git_o
n
e: refactor duplicate-pack ch
e
ck
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jef
f
King
verify-pa
c
k: use
strbuf_strip_
s
uff
i
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
J
e
ff King
st
r
buf: i
m
plement
strbuf_strip_s
u
ff
i
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff K
i
ng
index-pack: use strip
_
suffix
to a
v
oid magic
n
u
mbers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
use strip_su
f
fix
i
n
stead of ends_with
i
n simp
l
e cases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
J
eff Ki
n
g
replace h
a
s_extension with ends_with
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff
K
ing
implement
e
n
ds_with via strip_suffi
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff K
i
ng
add s
t
rip_suffix f
u
nction
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
J
eff King
replace
:
add
a
--r
a
w mode for --edit
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
Je
f
f
Ki
n
g
replace: use argv_array in e
x
port_
o
bject
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
J
e
ff K
i
n
g
avoid dou
b
le close
of de
s
criptors handed to run_comm
a
n
d
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
Jeff Kin
g
repl
a
ce:
r
eplac
e
spaces wi
t
h
tabs in indent
a
tion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
Jeff
King
m
o
ve "%
G
"
f
ormat test
from t7
5
1
0
t
o t6006
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
Jeff
K
ing
setup_git_env():
introduce git_pa
t
h
_
from_
e
n
v
() helpe
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
h
ttp-push:
r
efactor pars
i
ng
of
r
emote object names
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f
K
ing
use
skip_pr
e
fix to a
v
oid r
e
peated calcula
t
i
o
ns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
git:
av
o
id ma
g
ic
n
umber
with ski
p
_prefi
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fetch-pack: refactor parsing i
n
g
et_ack
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fast-import:
r
efactor pa
r
sing of spaces
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Ki
n
g
s
t
a
t
_opt: check
extra strlen call
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
daemon: use skip_p
r
efix to avoid magic number
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
K
ing
fast-i
m
port: use
s
k
ip_p
r
efix for
parsing
in
p
ut
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
use
skip_pref
i
x to avoid r
e
peating strin
g
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
J
e
f
f
K
ing
use skip_prefix t
o
avoid
magi
c
nu
m
bers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Kin
g
transport-hel
p
er:
avoid re
a
d
i
n
g
p
ast end-of-string
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fast-import: fix
read
of
u
ninitializ
e
d argv me
m
ory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
apply: use s
k
ip_pref
i
x i
n
stead
o
f
raw a
d
dition
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
refactor skip
_
prefix to return
a
boole
a
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Je
f
f Ki
n
g
uniqu
e
_pa
t
h: fix unlikely heap overflow
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
wal
k
er_fetc
h
: fix minor mem
o
ry
leak
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
J
eff
Kin
g
merg
e
: use a
r
gv_array
w
hen spawning merge strate
g
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Je
f
f King
sequen
c
er: us
e
argv_array_
p
ushf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
J
eff
K
ing
setu
p
_
g
it_en
v
: use git_pathdup inst
e
ad o
f
xmal
l
o
c
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use xstrfm
t
to replace xmallo
c
+ strcpy/strca
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
u
se xs
t
rfmt
t
o re
p
lace xmalloc + sprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Je
f
f King
use xstrdup in
s
tea
d
of xma
l
loc
+
strc
p
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Je
f
f
King
u
s
e xstrfmt in favor of m
a
nual size calculations
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
J
eff
King
strbuf: ad
d
x
s
t
r
f
mt h
e
lper
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-18
J
e
ff King
avoid using skip_prefix
a
s a boolean
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
d
ae
m
on: mark
some s
t
rin
g
s
as const
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-18
Jeff Kin
g
p
arse_diff_color_slot:
d
r
op
of
s
parameter
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-17
Jeff
Ki
n
g
p
retty:
a
vo
i
d rea
d
ing past end-o
f
-stri
n
g
w
i
th "%G"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-17
J
e
ff King
t
7510: check %G* pretty-for
m
a
t
output
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-17
Jeff King
t7510: t
e
st a c
o
mmit sig
n
ed by an un
k
nown
k
ey
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-17
Jeff Ki
n
g
t
7510:
stop referr
i
ng to master in
l
ate
r
tests
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
Jeff K
i
ng
reu
s
e
cached
commi
t
buffer when
p
arsing sign
a
tures
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
J
e
f
f
King
commit: rec
o
rd buffer length in c
a
ch
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
commi
t
:
convert commit->buffer
to a slab
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
Jeff
K
ing
commit-slab: pro
v
ide
a
static initia
l
ize
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
Jeff
King
use ge
t
_commit_buffer ever
y
where
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
J
e
ff King
convert logmsg_reencode
to get_commit
_
buffe
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
Jeff Ki
n
g
use get_commit_buffer
t
o avoid duplicate code
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next