repo.or.cz
/
git
/
mingw.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
mv: flatten error handling code block
2014-07-28
Jeff King
t4013: t
e
st di
f
f
-tre
e
's --stdin commi
t
f
orma
t
ting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
t
140
2
: check
for r
e
f
s
e
nd
i
ng with a dot
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
di
f
f-tree: avoid loo
k
up_unknown_ob
j
ect
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
object_a
s
_type: set commit index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
J
eff King
alloc: fa
c
tor
o
u
t
c
om
m
it index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff K
i
ng
add object_as_typ
e
helpe
r
for casting objects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jef
f
King
par
s
e_object_buffer: do n
o
t
s
et object
t
y
p
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jef
f
Kin
g
mo
v
e se
t
tin
g
of object->ty
p
e to al
l
oc_* fu
n
ctions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
allo
c
:
write out allocator de
f
initions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff
K
ing
apply: avo
i
d
po
s
s
i
bl
e
bogus pointer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff Kin
g
fix memory l
e
a
k parsing core
.
c
ommentchar
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
tran
s
port
:
fix l
e
aks
in
refs_f
r
om_alternate_c
b
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jef
f
King
f
ree
ref string returned by dwim_ref
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
r
e
ceive-pack: do
n
'
t copy "dir" parameter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
J
eff King
t5539: updat
e
a flaky test
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
p
aint
_
d
o
wn_to_common: use prio_qu
e
ue
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Je
f
f Kin
g
prio-queue:
m
ake
output stable with respect to insertion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jef
f
K
ing
prio-queue: factor o
u
t co
m
pare and swap ope
r
ations
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff Ki
n
g
diff
-
tree: avoid l
o
o
k
up_unknown_obje
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
J
e
ff
King
objec
t
_as_ty
p
e: set commit index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
J
e
ff King
alloc: fac
t
or out commit index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jef
f
King
add object_
a
s
_
typ
e
helpe
r
for
c
asting objec
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jef
f
King
parse_obje
c
t
_
buffer
:
do not set obje
c
t type
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Je
f
f K
i
n
g
move setting of objec
t
->
t
ype to al
l
oc_* funct
i
ons
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
allo
c
: write
out allocator definitions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
t
ag: use skip_
p
refix instead of magic
n
umbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
r
e
mote-curl: mark h
e
lper-protoco
l
errors mor
e
clear
l
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jef
f
Ki
n
g
remote-curl: use error instead
o
f fprintf(stderr)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Je
f
f
K
ing
remote-c
u
r
l
:
do not complain o
n
EOF
from
par
e
nt
g
it
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-02
Jef
f
K
i
ng
t7
3
00
:
r
e
pai
r
files
y
ste
m
pe
r
missions with
t
e
s
t_wh
e
n_f
i
nished
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
J
e
ff Ki
n
g
prepare_pa
c
k
ed
_
git_one:
r
efactor duplicat
e
-pack ch
e
ck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff
K
ing
verify-pack: use strbuf_strip_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff
K
ing
strb
u
f: implement strbuf_strip_suff
i
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff Kin
g
i
n
d
e
x-pack: u
s
e
s
trip_suffix to avo
i
d mag
i
c numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff
K
i
n
g
use strip_su
f
f
ix in
s
tead
o
f
ends_with in simple
cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
J
eff King
replace has_extensi
o
n
w
i
th ends_with
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
i
m
plement ends_with via strip_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
add strip_suffix function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
replac
e
: add a --
r
aw mode for -
-
edit
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jef
f
King
repl
a
ce: use
argv_array in export_objec
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
avoid double close
o
f descriptors handed to run_comma
n
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff
King
repla
c
e: replace spa
c
es with tabs in indentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff K
i
ng
move "%G
"
format te
s
t
from t751
0
to t6006
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff Ki
n
g
setup_git_en
v
(): intr
o
duce git_path_fr
o
m_env() h
e
l
per
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
h
ttp-
p
ush: refac
t
or p
a
r
s
ing of re
m
ote objec
t
names
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
use skip_prefix
t
o avoid repeated calcul
a
t
i
on
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jef
f
Kin
g
git: avo
i
d magic numbe
r
with s
k
ip_prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
King
f
etc
h
-pa
c
k: refactor parsing in ge
t
_ack
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jef
f
K
i
ng
fast-import
:
refac
t
or parsing
of spac
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
K
i
n
g
stat_opt: check extra
strlen call
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jef
f
Ki
n
g
daemon: use
s
kip_prefix to avoid magic numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
eff
K
in
g
fast-import: use skip_prefix for parsi
n
g in
p
ut
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jef
f
King
u
s
e
s
k
i
p_prefix t
o
a
void
repeating string
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
K
i
n
g
u
s
e sk
i
p
_prefix to avoid ma
g
i
c
numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
transpo
r
t-help
e
r: avo
i
d readin
g
p
a
st end-of
-
s
tring
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff King
fa
s
t-import: fix rea
d
of u
n
initialized argv me
m
o
ry
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
apply:
u
se s
k
ip_prefix instea
d
of raw addition
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
r
e
factor skip_prefix to r
e
turn a bo
o
lean
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
K
ing
unique_p
a
th: fix unlikel
y
heap
overflow
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
J
e
ff King
walker_fetch:
fix m
i
nor mem
o
ry leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Je
f
f King
merge: use arg
v
_
a
rray when spawn
i
ng mer
g
e stra
t
egy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jef
f
King
sequencer: use
argv_
a
rray_p
u
shf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
Ki
n
g
s
e
tup_
g
i
t
_env: use
g
it_pathdup instead
o
f xmalloc
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use xst
r
fmt to replace x
m
alloc + strcpy/strcat
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
J
eff K
i
ng
use xstr
f
mt to replace xm
a
lloc +
s
pri
n
tf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
J
eff King
use
x
s
t
r
d
up instead of xmall
o
c
+ strcpy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
J
eff King
use xstrfmt
in
favor of manua
l
s
i
ze calculations
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff Ki
n
g
strbuf:
a
dd xstrfm
t
h
elp
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff
K
ing
a
v
oid using
skip_prefix as a boolea
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
daemon:
mar
k
so
m
e strings as const
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
par
s
e_diff_co
l
or_slot:
drop ofs p
a
rameter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
J
eff King
pr
e
tt
y
: a
v
oid r
e
ading past e
n
d-of-string with "%G"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
J
e
ff King
t7510: check %G* pretty-format outp
u
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
J
e
ff King
t7510:
t
est a co
m
mit
signed
by an unkno
w
n key
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Je
f
f
K
ing
t
7510:
s
top r
e
fe
r
r
ing to master in later tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
reuse cache
d
c
o
mmit bu
f
fe
r
w
hen parsing sign
a
t
u
res
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
ff
Kin
g
commi
t
: record buffer lengt
h
in c
a
che
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff Ki
n
g
co
m
mit: conve
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 init
i
al
i
z
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
eff Ki
n
g
use get_commit_buffer everywhere
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff
King
conve
r
t lo
g
msg_reencode to
g
et_co
m
mit_buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
use
get_
c
o
m
mit_buffer to avoi
d
d
u
plic
a
te
code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff Ki
n
g
use get_cached_commit
_
buffe
r
where appropr
i
ate
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
provide helpers to acc
e
ss the
comm
i
t buf
f
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Je
f
f
King
provid
e
a h
e
lper to s
e
t the commit buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
provide a
h
elper to free co
m
mit bu
f
f
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff
King
t7700: drop exp
l
icit
--no-pack
-
kept-ob
j
ec
t
s from
.
keep
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff
King
sequ
e
ncer: use
logmsg_reencode in get_message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Je
f
f King
logmsg_r
e
enc
o
de: return const buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff Ki
n
g
do no
t
create "struct commi
t
"
w
ith xcalloc
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
commi
t
: push commit_index update into alloc_commit_node
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
a
lloc:
i
nclude any-o
b
jec
t
allocations in all
o
c_rep
o
rt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Je
f
f
K
ing
replace
d
angero
u
s us
e
s
of strbuf_attach
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Je
f
f K
i
n
g
com
m
it_tr
e
e: take a pointer/len pair rather
t
h
a
n a
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
J
eff King
re
p
ack: intro
d
uce repack
.
writeBitmaps config option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff K
i
ng
repack: simplify ha
n
dling of -
-
w
r
it
e
-bitmap-i
n
dex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
J
eff King
pa
c
k
-
ob
j
ects:
stop respecting pack
.
writebitmaps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff
King
re
p
ack: s/
w
rite_
b
itmap/&s/ in
cod
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jef
f
King
repack
:
r
espect pack
.
writeb
i
tmaps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
repa
c
k: do not accidentally pac
k
kept objects by
default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next