repo.or.cz
/
git
/
mingw
/
j6t.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
copy_fd(): do not close the input file descriptor
2014-07-28
Je
f
f K
i
ng
t
401
3
: test d
i
ff-tree
'
s --stdin commit
formatting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
t1402: check for refs ending with a dot
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Je
f
f
K
in
g
diff-tre
e
: avoid lookup_u
n
known_obje
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff
King
ob
j
ect_as_
t
ype: set comm
i
t index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff Ki
n
g
alloc: fa
c
tor
o
ut commit index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
add objec
t
_as_type he
l
p
e
r for
casting objects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff Kin
g
par
s
e_object_buffer
:
d
o
not set object typ
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Je
f
f King
move se
t
ting of o
b
je
c
t->type t
o
alloc_* functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jef
f
King
a
lloc: write out alloc
a
tor d
e
finitions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
appl
y
:
avoid possible b
o
gus point
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
J
e
ff K
i
ng
fix memory lea
k
parsing core
.
comme
n
tcha
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
transport: fix
l
eak
s
in refs_from_altern
a
te_cb
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
free ref string r
e
turned by dwim_
r
ef
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
r
e
ceive-p
a
ck: don
'
t copy "dir" parameter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
t5539: upda
t
e a
f
laky test
commit
|
commitdiff
|
tree
2014-07-15
J
e
ff King
paint_down_to_common
:
use
p
rio_queue
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
J
e
ff K
i
ng
pri
o
-queue: m
a
ke
o
u
tput stable with respect to insertion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
J
e
ff King
prio-queue: fa
c
tor out compar
e
and swap ope
r
atio
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
diff
-
tree: avoid
l
ookup_unknown_object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff K
i
ng
o
bje
c
t_as_type
:
set comm
i
t index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Je
f
f King
alloc
:
factor
o
ut
c
om
m
it index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff
K
in
g
ad
d
ob
j
ec
t
_as_type
help
e
r for casting
o
bjects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
parse_object_buffer: do not
s
et object type
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
m
o
v
e
setting
o
f object->ty
p
e to
a
l
l
oc_*
f
unctions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff Kin
g
alloc: write out allocator definitions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Je
f
f King
tag: use skip_prefix instead of m
a
gic num
b
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
remot
e
-curl: mark helper-protocol errors mo
r
e c
l
early
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff Kin
g
remot
e
-c
u
rl: use error in
s
tead of fp
r
intf(stderr)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
J
e
f
f King
remote-curl: do not complain on EOF f
r
om parent git
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-02
Jeff K
i
ng
t
7300: repair fil
e
sy
s
t
e
m permi
s
sions with test_w
h
en_finished
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff Ki
n
g
pr
e
pare_
p
acke
d
_git_one:
r
efact
o
r duplicate-pack
c
heck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
J
e
ff
King
veri
f
y-pack: use strbu
f
_str
i
p_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff Kin
g
strbuf: implement str
b
uf_stri
p
_
suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
index-pack: use strip_suffix
t
o av
o
i
d magic
n
u
m
bers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jef
f
King
use strip_suffix ins
t
ead
o
f end
s
_with in s
i
mple cas
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
J
ef
f
King
replace has_extension with e
n
ds_with
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff K
i
n
g
impl
e
ment ends_with via strip_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
J
e
ff King
add str
i
p_suf
f
ix fu
n
ction
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff
K
ing
repl
a
ce: add a --raw
m
ode for --ed
i
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff Ki
n
g
replac
e
: use ar
g
v_array in e
x
port_object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
J
e
f
f
King
avoid
d
ouble cl
o
se
o
f descript
o
r
s
handed
t
o run_com
m
a
n
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jef
f
K
i
n
g
repla
c
e: replace
s
paces with tabs
i
n
i
n
dentati
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
move "%
G
"
f
o
rmat
test from t7
5
1
0
to t6006
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
J
ef
f
King
setup_
g
it_env():
intro
d
uce git_pat
h
_from
_
en
v
() h
e
lper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jef
f
King
http-push: refactor parsing of remote object names
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
u
se ski
p
_prefix to
avoid r
e
peat
e
d calculations
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Ki
n
g
git:
a
v
oid magic n
u
mber
w
ith
skip_prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
King
fetch-pack: refac
t
or parsi
n
g
in
get_ack
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff King
f
ast-import: refactor
p
a
r
s
ing of spaces
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
King
s
t
at_o
p
t: check extra strlen call
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
daem
o
n:
u
s
e s
k
ip_prefix
t
o avoid
m
a
g
ic 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_prefix for
pa
r
sing
in
p
ut
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
f
f K
i
ng
use skip_p
r
efi
x
t
o
a
v
o
i
d repeating strings
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
use ski
p
_
p
refix t
o
avoid m
a
g
i
c numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
t
r
ansport-
h
elper
:
avoid reading past en
d
-of-string
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f King
fast-import:
f
ix read o
f
un
i
niti
a
lized argv mem
o
r
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
King
apply: use skip_
p
refix instead of ra
w
ad
d
i
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jef
f
King
r
e
factor skip_prefix to
r
eturn a bool
e
an
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
uni
q
u
e
_pat
h
: fix u
n
likely hea
p
o
verfl
o
w
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
J
e
f
f Kin
g
walker
_
fetch: fix
mino
r
m
e
m
ory
l
eak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
J
eff Kin
g
me
r
g
e
: use argv_array when spawning merge strategy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
s
e
quencer: u
s
e argv_array_
p
u
s
h
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jef
f
King
setup_git_env: use git
_
path
d
up instead
o
f
xm
a
ll
o
c
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jef
f
K
i
ng
use xstrfm
t
to
r
epl
a
ce
x
malloc + strc
p
y/strcat
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use xs
t
rfmt t
o
re
p
l
a
ce xm
a
lloc + sprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use xstrdu
p
instead of xmalloc +
strcpy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Je
f
f King
use x
s
trf
m
t i
n
favor of ma
n
ual
size cal
c
ula
t
ions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
strbuf: add xstrfmt helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
avoid us
i
ng ski
p
_prefix as a
b
oolean
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
J
e
ff Ki
n
g
da
e
mon: mark some
str
i
ngs
as co
n
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
parse_
d
iff_
c
olor_slot:
drop
o
fs param
e
ter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff King
pretty: avoid reading past end-of-string with "%G"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
J
e
ff King
t7510: c
h
eck %
G
* pre
t
ty-format output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff
K
ing
t7510:
test a com
m
i
t
signed by an unk
n
own key
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
J
e
ff King
t7510: stop referring to
ma
s
ter in later tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
r
e
u
se cached commit bu
f
fer whe
n
par
s
ing s
i
gnatures
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Je
f
f Ki
n
g
com
m
it: record
bu
f
fer length in cac
h
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Je
f
f King
c
o
mmit: c
o
nver
t
commit->b
u
ffer to a
s
la
b
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
commit-slab:
provid
e
a
static init
i
alizer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
us
e
get_c
o
mmit_buffer e
v
ery
w
h
e
r
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff Ki
n
g
convert logmsg_reenc
o
d
e
to
ge
t
_commit_buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
ff
K
i
ng
use
g
et
_
commit_buffer
t
o
avoid d
u
pli
c
ate co
d
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
us
e
get_cached_co
m
mi
t
_buf
f
er wh
e
re appropriate
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jef
f
King
prov
i
de h
e
lpers to acc
e
ss the commit buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
provide a helper to set th
e
commit buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
ff King
provide a helper
to fr
e
e
co
m
mit b
u
ffe
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
t7700: dr
o
p
explicit
--no-pac
k
-kept-objects from
.
kee
p
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff
K
i
n
g
sequencer: us
e
logmsg
_
reencode in get_mess
a
ge
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
logms
g
_reencode:
return cons
t
buf
f
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
do not create
"
s
truct c
o
mmit" wi
t
h xca
l
loc
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
J
e
f
f
King
c
o
mmit: pus
h
commit_index update into alloc_commit_nod
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
a
ll
o
c:
include a
n
y-ob
j
ect allocations i
n
alloc_
r
eport
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff
King
repla
c
e dangerous uses of st
r
buf_a
t
ta
c
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
commit_tree: take a
poin
t
er/len p
a
ir rather than a
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff Ki
n
g
repack: introduce
repac
k
.
writeBitmaps config
o
ption
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
repack: simplify handling of --write-bitmap-index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
pack-objects: st
o
p
r
especting pack
.
w
ri
t
ebitmaps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jef
f
King
repack: s/write_bitmap/&s/ in code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
repack:
r
e
spect pack
.
writ
e
b
itmaps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
repack: do n
o
t a
c
ci
d
en
t
ally pack kept objec
t
s
by defaul
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next