repo.or.cz
/
git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
commit: provide a function to find a header in a buffer
2014-08-27
Jef
f
K
i
ng
c
omm
i
t
: provide a
function to find a
header in a buff
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff
K
ing
t
4013: test diff-tree'
s
--std
i
n comm
i
t
formatting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
t1402: c
h
eck for refs en
d
ing wi
t
h
a dot
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
diff-tre
e
:
av
o
id lookup_unknown_object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
object_
a
s_typ
e
:
set comm
i
t i
n
d
ex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
all
o
c
: factor
o
u
t
commit ind
e
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
add obje
c
t_as_type helper fo
r
casting
o
b
j
ects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
pa
r
se_object_buffer: do not set obj
e
ct type
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff
K
ing
move setting o
f
o
bject->
t
ype to allo
c
_* function
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff
K
i
n
g
al
l
o
c
: write out allocator
d
efinitions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
apply: avoid pos
s
ible bogus pointe
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
J
e
ff
King
fix
m
emory leak parsing core
.
commentc
h
ar
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
tran
s
port: f
i
x leak
s
in refs_from_alte
r
na
t
e
_cb
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff K
i
ng
free
re
f
string r
e
turned by dwim_ref
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
receive-pack
:
don'
t
cop
y
"d
i
r" pa
r
a
m
eter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jeff
Ki
n
g
t5539:
u
pd
a
te
a fla
k
y test
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
paint_d
o
wn_to_common: use
p
rio_queue
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Je
f
f
K
ing
prio-que
u
e: make output stable with respect to insertion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
J
e
ff Kin
g
pr
i
o-queue: factor out compare a
n
d
swap opera
t
ions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Je
f
f Kin
g
di
f
f-tr
e
e: avoid lookup
_
unknown_object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
J
eff Kin
g
o
bje
c
t_as_type: set commit in
d
ex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
a
lloc: factor
out commit ind
e
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Je
f
f
King
add obj
e
ct_as_type helpe
r
for ca
s
ting obj
e
cts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jef
f
King
par
s
e
_
object_bu
f
fe
r
: do no
t
set obj
e
ct t
y
pe
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
move s
e
ttin
g
of object->type to alloc_
*
functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
a
l
lo
c
:
write out allocat
o
r de
f
initi
o
ns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff
K
i
n
g
tag:
use skip
_
p
r
efix inst
e
a
d
o
f ma
g
i
c nu
m
ber
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
rem
o
te-curl:
mark helper-
p
rotocol errors m
o
re clearly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Je
f
f King
r
emote-curl:
use error
i
nstead of fprintf(stderr)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff Ki
n
g
re
m
ote-curl:
do n
o
t
complain o
n
EOF f
r
om paren
t
g
it
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-02
J
eff King
t7300:
repair fil
e
system
p
e
rmi
s
sion
s
with t
e
st_when_finished
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Je
f
f King
prepare_packed
_
gi
t
_
one
:
refacto
r
duplica
t
e-pack check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff
K
ing
verify-pac
k
: use strbuf_strip_suf
f
i
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
strbuf: impleme
n
t s
t
rbuf_strip_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Je
f
f
King
index-pack
:
u
se s
t
rip
_
suffix to avoid
m
agic n
u
mbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff
K
ing
us
e
strip_suf
f
ix
i
nstead
of e
n
d
s_with in simpl
e
cas
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
replace ha
s
_
e
xten
s
ion with
end
s
_with
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
impleme
n
t ends_with via st
r
ip_s
u
ff
i
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
a
dd strip_suffix
fun
c
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff K
i
ng
r
e
pl
a
ce: add a --raw mo
d
e for --
e
d
it
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
J
e
ff Ki
n
g
replace: use a
r
g
v
_a
r
r
a
y in export_object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
a
v
oid double c
l
o
s
e of de
s
crip
t
o
r
s handed to run_command
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
re
p
l
a
c
e
:
replace spaces with tabs in indentati
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
J
eff Ki
n
g
mov
e
"%G"
form
a
t test from t7510
t
o t
6
006
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
setup_git_env():
i
n
tr
o
duce gi
t
_path_fr
o
m_env() helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
http-push: refactor
p
arsing of remote obj
e
ct names
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
K
ing
use skip_prefix to avoid r
e
p
e
ated calcul
a
tions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
f
f King
git: avoid magic nu
m
ber wit
h
s
kip_prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff K
i
ng
fetch-pack: refa
c
tor parsi
n
g
i
n
ge
t
_ack
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f King
f
a
st-im
p
ort: r
e
f
actor
parsin
g
of spaces
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
K
ing
stat_opt:
c
heck
e
xtra st
r
l
e
n c
a
l
l
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff
K
ing
daemon: use
ski
p
_
p
r
e
fix to avoid mag
i
c number
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Ki
n
g
fas
t
-
i
mport: use skip_prefix fo
r
parsin
g
inp
u
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff King
use ski
p
_prefi
x
to avo
i
d
rep
e
atin
g
s
trings
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Kin
g
use skip_prefix to avoid magic
numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Kin
g
transport
-
helper: avoid reading past
e
nd-of-strin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fast
-
import: fix r
e
a
d of uninitial
i
zed a
r
gv
memor
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
a
p
p
l
y: u
s
e skip_prefix instead of ra
w
a
ddition
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
K
ing
refac
t
or skip_pre
f
ix
to retur
n
a boolean
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jef
f
K
ing
u
n
ique_path: fix un
l
ikel
y
heap
overflow
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
King
w
alker_
f
etch: fix minor
m
e
m
o
ry l
e
ak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
merge: u
s
e argv_array whe
n
spawning me
r
g
e
strategy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
J
e
ff K
i
n
g
sequencer: u
s
e argv_array_pushf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff Ki
n
g
setup
_
g
it_en
v
: u
s
e git_pathdup i
n
stead of xmalloc
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
K
i
ng
us
e
xstrfmt
t
o r
e
place x
m
all
o
c +
s
t
rcpy/strcat
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use
x
s
tr
f
m
t to
r
eplace xmal
l
oc + sp
r
intf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use
x
strdup instead
of xmalloc + strcp
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff K
i
ng
use
x
s
t
rfmt in
f
avor o
f
manual
s
ize
calculations
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
strbuf: add x
s
trfmt helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff Kin
g
avoid using skip_prefix as
a
b
oolean
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
daem
o
n
: m
a
rk
s
ome strings a
s
const
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
par
s
e_dif
f
_color_slot: drop o
f
s para
m
eter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff King
pretty: avoid re
a
ding past
e
nd-of-string
w
it
h
"
%
G
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
J
e
ff King
t7510: check %G* p
r
e
t
ty-format output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Je
f
f King
t7510: test a commit
s
igned
b
y an unk
n
own key
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jef
f
King
t7510: stop referrin
g
t
o master in later test
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
eff King
reuse cached commi
t
buffer when parsing s
i
gna
t
ures
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff
K
i
ng
commit: record buffer leng
t
h i
n
c
a
c
he
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
commi
t
:
c
onver
t
commi
t
->bu
f
fer to a slab
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
commit-slab: provi
d
e a static initializer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
ff King
us
e
get_commit_buff
e
r
everywhere
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff
K
i
n
g
c
o
nve
r
t logmsg_reencode to get_commit_buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jef
f
Ki
n
g
u
se get_commi
t
_buffer to avoid duplicate
code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Je
f
f King
use get_cached_co
m
mit_buffer where appropriate
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
provide helpe
r
s to access the commit buff
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
f
f
King
provide a he
l
per to set the commit b
u
f
fer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
ff
King
provide
a
helper to free com
m
i
t
buffe
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
t7700:
drop
explicit --no-p
a
c
k-kept-objects from
.
keep
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
sequencer
:
use logmsg_re
e
n
c
ode i
n
ge
t
_message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Je
f
f
K
ing
l
o
gmsg_r
e
e
nco
d
e: re
t
urn const buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff
King
do not
c
reate "struct
com
m
i
t
" with xca
l
loc
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Je
f
f King
commit: push
c
o
m
m
i
t_index updat
e
into alloc_commit_node
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff
K
ing
alloc: in
c
l
u
d
e any-object allocations in allo
c
_rep
o
rt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
J
e
ff Ki
n
g
r
eplace dangero
u
s uses of
s
trbu
f
_attach
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
com
m
i
t
_tree: take
a pointer/len pair rather than a
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Je
f
f King
repack:
i
ntrod
u
ce repack
.
writeB
i
t
m
a
ps co
n
fig o
p
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff Ki
n
g
r
e
pa
c
k:
simplify
h
andl
i
ng of -
-
w
r
ite-bitm
a
p-ind
e
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
J
eff King
p
a
c
k
-
o
bje
c
t
s: stop respecting pack
.
writ
e
bi
t
maps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
repack
:
s/write_bitmap/&s/ in cod
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
J
eff Kin
g
r
e
p
a
ck:
r
espect
p
a
ck
.
wr
i
tebitm
a
ps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next