repo.or.cz
/
alt-git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
date: use strbufs in date-formatting functions
2014-08-27
Jeff King
d
a
te: use str
b
u
f
s i
n
d
a
te-form
a
tting func
t
ions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-27
J
e
f
f King
record
_
au
t
hor_date(): u
s
e
find_commit_
h
eader()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-27
Je
f
f
K
i
ng
record_author_dat
e
(
): fix memory leak on m
a
l
f
orm
e
d
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-27
Jeff King
commit: provide a function to find a h
e
ade
r
in
a buff
e
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff
King
t4
0
1
3: test diff-tree'
s
--stdin c
o
m
mit form
a
t
ting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
t1
4
0
2
: c
h
eck for
r
efs
e
nd
i
ng with a d
o
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
diff-tree: avoi
d
loo
k
up_unk
n
own_
o
bject
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff K
i
ng
obj
e
ct_as
_
type: s
e
t commit
i
ndex
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
a
l
loc: fa
c
tor out
c
o
m
m
i
t
ind
e
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff K
i
ng
add
object
_
as_ty
p
e
helper
f
or casti
n
g object
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
J
e
ff King
parse_object
_
bu
f
fer: do not
s
et object type
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff
K
ing
move setting o
f
o
b
ject
-
>
t
ype to alloc_*
func
t
ions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
J
e
ff
K
ing
a
l
loc: w
r
ite out al
l
ocator
d
e
finitions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-24
Jeff
Ki
n
g
appl
y
: avoid possibl
e
bogu
s
pointer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-24
J
e
ff
King
fix memory
l
e
a
k
p
arsing cor
e
.
commentchar
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-24
J
e
ff King
transport: fix leaks
i
n refs_fro
m
_
a
lternate_cb
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-24
J
e
f
f
King
free ref string ret
u
rned b
y
dwim
_
r
ef
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-24
Jeff Kin
g
rece
i
ve-pa
c
k
: don't copy
"
dir" para
m
eter
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
t5539
:
up
d
a
t
e a flaky
t
est
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
pa
i
nt_do
w
n_to_common:
u
s
e
prio_queue
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-15
Jeff
K
i
ng
prio
-
queue: make output stable wit
h
re
s
pect
to insertion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-15
J
e
ff King
p
rio-queue
:
factor
out compare a
n
d
swap operations
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Jeff
K
ing
diff-tree: avoid lo
o
k
u
p_
u
nknown_ob
j
e
ct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
object_as_type: s
e
t
comm
i
t index
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Jeff
K
i
n
g
alloc:
f
actor out
commi
t
in
d
ex
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Jef
f
King
add ob
j
ect_as_type helper for castin
g
o
b
jects
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Jeff
K
ing
parse_object_buffer:
do not set object type
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Jeff K
i
n
g
move setting
o
f obj
e
ct->t
y
pe to alloc_* function
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Je
f
f K
i
ng
a
l
loc: write out
a
llocator
definitio
n
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
tag
:
u
se sk
i
p_prefix in
s
tead of magic numbers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-10
Jeff
King
remote-
c
url: ma
r
k helper-protocol erro
r
s mo
r
e
clearly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
rem
o
te-curl: us
e
error i
n
stead o
f
fprintf(stder
r
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
remote-curl: do not complain on EOF
f
r
om parent g
i
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-02
Jeff King
t
7
300
:
repa
i
r filesystem permissions with test_whe
n
_fini
s
hed
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff Kin
g
prepar
e
_pa
c
ked_
g
it_one: refactor dupl
i
cate
-
p
ack check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
J
e
ff King
ver
i
f
y-pack: us
e
str
b
uf_s
t
rip_suf
f
ix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
strbu
f
: implement str
b
uf_strip_suffix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff Kin
g
i
n
dex-
p
a
ck:
use
strip_suff
i
x to av
o
i
d
mag
i
c number
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff
K
i
n
g
use stri
p
_s
u
ffix instead of
e
n
ds_with i
n
simple ca
s
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff K
i
ng
r
epla
c
e
has_e
x
tension
w
ith ends
_
with
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
J
e
ff King
i
m
pleme
n
t
e
nds_wi
t
h vi
a
strip_suffix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
add strip_suff
i
x f
u
nction
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
replace:
a
dd a
-
-raw
m
od
e
for
--edit
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
re
p
l
a
ce: use argv_ar
r
a
y
in
export_obje
c
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
avoid double c
l
ose of descriptors handed to run
_
command
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
repla
c
e: replace spaces wit
h
tabs in inden
t
ation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
Jef
f
King
move "%G
"
form
a
t test f
r
o
m t
7
510 t
o
t6006
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
J
eff
K
ing
s
etup
_
git_env(): intr
o
d
u
ce git_pa
t
h_from_env() helper
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jef
f
King
http-p
u
s
h
:
r
efactor
p
a
r
sing of remote
o
bject names
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Ki
n
g
use
skip_prefix to avoid repeat
e
d calcula
t
i
o
ns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff K
i
ng
git:
avoid mag
i
c number with skip_prefix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fetch
-
pack: r
e
fac
t
or
p
arsin
g
in g
e
t
_
a
c
k
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Ki
n
g
fast-i
m
port: ref
a
c
tor parsing
of spac
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
K
ing
stat
_
opt: chec
k
extra str
l
en cal
l
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
d
a
emon:
u
se skip_pre
f
ix to avoid magic numbe
r
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fast-import
:
use ski
p
_prefix for parsing input
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
use skip_prefix to avoid repeating
s
trings
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff K
i
ng
use skip_prefix to avoid
magic numbers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
J
e
f
f King
trans
p
ort-helper:
avoid
r
eadi
n
g p
a
s
t e
n
d-of
-
string
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff Ki
n
g
fast-import: fix read of
u
ninitialized argv memory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
apply: use skip_prefix instead
o
f
raw addition
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff King
refactor skip_
p
r
e
f
i
x to return a boolean
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
K
ing
unique_pa
t
h: fix unli
k
ely he
a
p overflow
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
walker
_
fetch: fix mi
n
or me
m
o
r
y leak
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff Kin
g
m
erge
:
u
s
e arg
v
_array when spawning merge stra
t
egy
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff Ki
n
g
s
eque
n
cer:
u
se ar
g
v_arra
y
_push
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
J
eff King
setup_git_env:
use
g
i
t_pathdup instead
of xmalloc
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jef
f
King
use xs
t
rfmt to r
e
p
lace xmalloc + st
r
cpy/strca
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
J
e
ff King
use xstrfmt to
r
eplac
e
xmalloc
+ s
p
r
i
n
tf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
J
eff K
i
ng
use xstrdup i
n
s
t
ead of xma
l
loc +
s
trcpy
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jef
f
King
use xstrfmt
i
n
favor of manual size calcul
a
t
ions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
strbuf: a
d
d
x
strf
m
t
h
elper
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-18
Jef
f
Ki
n
g
avoid
u
s
i
ng
skip_
p
refix as a b
o
olean
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-18
Je
f
f King
daemo
n
: mark so
m
e s
t
rings as const
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-18
J
eff K
i
ng
p
a
rse_diff_c
o
l
o
r_slot:
d
rop ofs
parame
t
e
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-17
Je
f
f Ki
n
g
p
r
etty:
a
vo
i
d r
e
a
ding past
e
n
d-of-
s
tring with "%G"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-17
Jeff King
t7510: che
c
k %G*
p
retty-f
o
rmat
out
p
ut
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-17
Jef
f
Ki
n
g
t7510: test a commit 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 referrin
g
to master in late
r
t
e
sts
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
J
eff King
r
e
u
s
e
cached commit buffer when p
a
rsing signa
t
ures
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
commit: record
buffer len
g
t
h
in
c
ache
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
Je
f
f K
i
n
g
c
o
mmit
:
c
o
n
vert commit
-
>buffer to a
s
lab
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
Jeff Ki
n
g
commit-slab: p
r
ovide a static init
i
a
lizer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
J
e
f
f King
use get_c
o
m
m
it_buffer everywh
e
re
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
Je
f
f King
conve
r
t lo
g
msg_
r
eenc
o
de t
o
get_commit_buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
use
get
_
commit_buf
f
er
t
o avoid d
u
plicate code
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
Jeff K
i
ng
u
se get
_
cac
h
e
d
_com
m
it_buffer whe
r
e
a
ppropriate
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
Jef
f
K
ing
provide helpers to access the com
m
it buf
f
er
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
provide
a
helpe
r
t
o
se
t
t
h
e commit b
u
ffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
provi
d
e
a hel
p
er t
o
free
c
om
m
it
buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-12
Jeff K
i
ng
t
7
70
0
: drop explicit --no-pac
k
-
kept-obj
e
cts fr
o
m
.
keep
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
sequencer: use logms
g
_r
e
enc
o
de
in get_message
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
l
ogmsg_reencode:
return con
s
t buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
do not cre
a
t
e
"
struct
c
ommit" w
i
th xcalloc
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-12
J
e
ff King
commit: push co
m
mit_
i
ndex
u
pd
a
te into alloc_commit_node
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
alloc: incl
u
de any-object allocatio
n
s in alloc_report
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-12
Jeff Kin
g
replace
d
angerous
u
s
e
s
o
f strbuf_attach
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-12
Jeff K
i
ng
commit_tree: t
a
ke
a pointer/len pair rather than
a
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-10
Jef
f
King
r
e
pack: introduce r
e
pack
.
w
riteBitmaps c
o
nfig opt
i
on
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-10
J
e
ff
King
repack:
s
implify
handling of --wr
i
te-b
i
tmap-index
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next