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
record_author_date(): use find_commit_header()
2014-08-27
Jeff King
record_a
u
thor_da
t
e():
u
se find_commit_header()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-27
Jef
f
King
record_author_d
a
t
e
(): fix mem
o
ry leak o
n
malforme
d
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-27
J
eff Kin
g
commi
t
:
p
rovide a func
t
i
o
n to find a head
e
r in
a
buffe
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
J
e
ff King
t
4
013
:
test diff-tree's --std
i
n c
o
mmit formatt
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
t1
4
02: check
for r
e
fs
ending with a dot
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
d
i
f
f
-tree:
avoid lookup_unkn
o
wn_object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
J
e
ff K
i
ng
o
b
ject_as_type: se
t
com
m
i
t index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
J
ef
f
King
alloc: fac
t
or out commit index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Je
f
f K
i
ng
add object_as_type helper
for ca
s
ti
n
g objects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
J
e
f
f
Ki
n
g
p
a
rse_object_bu
f
fer:
d
o n
o
t set object
type
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
move setting of object->type to alloc_* functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff K
i
ng
alloc: writ
e
out allo
c
ator definitions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff Ki
n
g
a
p
ply:
a
void
p
ossible bogus pointer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
fix m
e
mo
r
y leak p
a
rsing core
.
commentch
a
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
trans
p
or
t
: fix leak
s
in
re
f
s_from_alternate_cb
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
J
e
ff Kin
g
free r
e
f string
r
eturne
d
by
d
wim_ref
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
receive
-
p
a
ck: don
'
t cop
y
"dir" parameter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jeff
K
ing
t
5
539: update
a
f
l
ak
y
test
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
paint_down_
t
o_common: use prio_queue
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
prio-q
u
eue: make output stable with respect to insertion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jeff Kin
g
pr
i
o-q
u
eue: factor out co
m
pa
r
e an
d
swap op
e
ration
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
J
e
ff Ki
n
g
di
f
f
-tree: avoid lookup_unknown_obj
e
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
object_
a
s_type: s
e
t commit
i
ndex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff K
i
ng
al
l
oc: f
a
ctor out commit in
d
ex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
J
eff King
a
d
d
o
b
j
ect_as_type
helper for cas
t
ing obj
e
cts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jef
f
K
i
n
g
parse_o
b
j
e
c
t_buffer: do not set object type
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff Ki
n
g
move setting of objec
t
->type to a
l
loc_* functio
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
J
e
ff King
alloc
:
w
r
ite out al
l
o
cator defi
n
i
t
i
o
ns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff
K
ing
tag
:
us
e
s
k
i
p_pr
e
fi
x
instead of magic numbe
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff Kin
g
remo
t
e-
c
u
r
l: mark helper-protocol
e
rrors
m
ore clea
r
l
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Je
f
f
K
ing
remote-curl: use error instea
d
o
f
fprint
f
(stder
r
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
remote-curl: do not complain on
EO
F
from p
a
re
n
t gi
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-02
Jeff King
t
730
0
: repair f
i
lesystem pe
r
m
issions
w
ith test_when_finished
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
prepare_packed_
g
it_one: refac
t
or d
u
p
l
i
c
a
te-pac
k
che
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff K
i
ng
verify-pack: use
s
trbuf
_
st
r
ip_suff
i
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jef
f
King
s
trbuf: implement s
t
rbuf_strip_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff Ki
n
g
index-pack: use strip_suffix to
a
void magi
c
numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
use strip_suffix ins
t
ead of ends_with in simple ca
s
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
r
e
place has_extensio
n
with ends_with
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
implem
e
nt ends_
w
ith
via
strip_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff Ki
n
g
add strip_suffix function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
r
e
place: add a --raw mode for -
-
edit
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
J
eff
K
in
g
r
eplace: use argv_arr
a
y
i
n
e
xpo
r
t
_
object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff K
i
ng
avo
i
d doub
l
e
close of descri
p
tors handed to run_command
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
replace:
r
eplace spac
e
s wit
h
ta
b
s in
i
ndentat
i
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff Ki
n
g
move
"
%G" format test from t7510 to t60
0
6
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
setup_git_env
(
): introduce git_pat
h
_fr
o
m_e
n
v() helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
http-push: re
f
acto
r
parsing of remote
o
b
ject
na
m
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
K
ing
u
s
e skip_prefix
to avoid repeated calcul
a
t
i
ons
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Kin
g
git
:
a
v
o
i
d
magic number
w
ith skip_prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jef
f
King
fetch-p
a
ck: refactor pars
i
ng in get_ack
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Ki
n
g
fa
s
t-import: r
e
factor
p
arsing of spa
c
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
eff Kin
g
stat_opt: check extra strlen c
a
ll
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
eff Kin
g
daemon: use
skip_prefi
x
to
avoid magi
c
numbe
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
eff King
fast-impor
t
:
use
s
kip_prefix for parsing input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f
King
use skip_prefix to avoid repeating strings
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
use skip_
p
refix
t
o a
v
oid magic nu
m
bers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff King
transport
-
helper
:
a
vo
i
d
re
a
d
ing pas
t
end-of-s
t
ring
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
King
fast-i
m
port: fix
read o
f
un
i
nit
i
alize
d
argv memor
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff K
i
ng
apply: us
e
skip_pref
i
x instead
o
f raw additi
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Ki
n
g
r
e
factor sk
i
p_prefix to re
t
urn a boo
l
ean
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jef
f
Ki
n
g
uniq
u
e_path: fix unlikely h
e
ap o
v
er
f
low
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
walker_fet
c
h: fix minor mem
o
ry leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
merge: use argv_array when spaw
n
ing
m
erge strategy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
sequencer:
u
se argv_array_push
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Je
f
f
Kin
g
setup_git_env: use
g
it_pathdup instead of xmall
o
c
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use xstrfm
t
to repla
c
e xmallo
c
+ strcpy
/
str
c
a
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Je
f
f
King
use xst
r
fmt to
r
eplace
x
malloc + sprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use
xstrdup in
s
t
ead of xmall
o
c
+
strcpy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Je
f
f
King
use xstrfmt i
n
f
a
vor of manu
a
l
s
ize cal
c
u
l
ations
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
K
ing
strbuf:
add xstrfmt helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
J
eff King
avoid
using skip_prefix as a bo
o
le
a
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
daemon:
mark
so
m
e strin
g
s
a
s const
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff Kin
g
parse_diff_color_s
l
ot: drop ofs p
a
rameter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jef
f
Kin
g
p
r
etty: avoid reading past end-of-string wit
h
"%G"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff King
t7510: check %G* pre
t
t
y
-
format output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff Kin
g
t
7510: tes
t
a commit signed by an unkn
o
wn
k
ey
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
J
eff King
t7510: stop referri
n
g to m
a
ster
i
n later tes
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
eff King
r
e
use cached commit buffer when
p
arsing signatur
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
eff
K
ing
commit: record buffe
r
length in
c
ach
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
c
o
mm
i
t: con
v
ert commit->buffer to a
slab
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff
K
ing
commit-slab:
p
rovi
d
e
a static initia
l
izer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff
K
ing
use get
_
c
o
mmit_buffe
r
ev
e
r
ywhe
r
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
eff King
c
o
nvert logmsg_reencode
to get_
c
o
m
mit_buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
us
e
get_co
m
mi
t
_buffer to av
o
id duplicate code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
use g
e
t_cached_
c
ommit_buffer
w
here
appropr
i
ate
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
p
r
ovide helper
s
to access t
h
e co
m
mit b
u
ffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
provide a helper to set
t
he commit buff
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
p
r
ovi
d
e
a
he
l
per to fr
e
e comm
i
t
b
uffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff Ki
n
g
t7700: drop
expli
c
it --no-p
a
ck-kept-objects from
.
k
eep
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Je
f
f King
sequencer: use l
o
gms
g
_reencode in g
e
t_m
e
ssage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
logmsg
_
reen
c
ode: retu
r
n const buff
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
J
e
ff
K
ing
d
o
not create "struct commit" with xcalloc
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
c
o
mmit: push co
m
mit_index u
p
date i
n
to all
o
c_commi
t
_no
d
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff
K
ing
alloc: include
a
n
y
-object al
l
o
cations in
a
lloc_
r
eport
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jef
f
King
replace dangerous uses
o
f
s
trbuf
_
attach
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
commit_tree: t
a
k
e a poi
n
ter/len pair
rather than a
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
repack: introduc
e
repack
.
writeBitmaps con
f
ig
o
ption
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff
K
i
n
g
repack:
s
i
mplify h
a
ndling o
f
--write-bitma
p
-in
d
e
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff
K
ing
pack-ob
j
ects: stop r
e
specting
p
ack
.
writebitmaps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next