repo.or.cz
/
git
/
mjg.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Refactor type_from_string() to allow continuing after detecting an error
2014-08-25
Jeff King
git-p
r
ompt:
d
o
not look for refs/stas
h
in $GIT_DIR
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-20
J
ef
f
K
i
ng
inte
r
se
c
t_paths: respect m
o
de in g
i
t's
tree-sort
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-19
Jeff King
Makefil
e
: make perf
t
ests optional for pr
o
file build
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-12
Jef
f
King
pack-objects: turn off b
i
tmaps when
w
e see --
s
ha
l
low
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-07
Jeff King
stash: defau
l
t listing
t
o working
-
tree
d
iff
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-30
Jeff King
pr
e
t
t
y
:
make emp
t
y us
e
r
formats tru
l
y empty
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-30
Jeff K
i
n
g
pre
t
ty: treat "-
-
forma
t
=" as an em
p
ty u
s
erformat
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-30
Jef
f
K
ing
r
evis
i
on: drop us
e
less string off
s
et whe
n
p
a
rsing
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
J
e
ff King
t4013:
t
est diff-t
r
ee's --stdin commit formatting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
J
e
ff King
t
1
40
2
: check
f
or 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
ff-tree: avoid
l
o
o
kup
_
u
nkn
o
w
n
_o
b
jec
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
o
bj
e
ct_as_type: set
c
ommit index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
J
eff
King
alloc: factor out c
o
mmit i
n
d
e
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jef
f
King
add object_as_type
helper for casting objects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
pars
e
_object
_
buffer: do not set o
b
ject typ
e
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
J
eff King
all
o
c: write out al
l
ocator
d
ef
i
niti
o
ns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
a
p
ply: av
o
id possible bogus pointer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jef
f
K
i
ng
fix memory leak parsing core
.
commentchar
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff
Kin
g
transport: fix
l
eaks in ref
s
_from
_
alt
e
rnate_cb
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff
King
free ref string re
t
urned by dwim_
r
ef
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
receive-pack:
d
on
'
t copy "dir" parameter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
J
e
ff King
t5539: update a flaky test
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
p
a
int_dow
n
_t
o
_
common:
u
se p
r
io_que
u
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jeff
K
ing
prio-queue: make outpu
t
stable w
i
th r
e
spect to insertion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jeff
K
i
ng
p
r
io-queue: factor out compare and swap opera
t
i
ons
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Je
f
f King
diff-tree: avoi
d
lookup_unknown_object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
J
e
ff
King
object_as_type:
set
c
o
mm
i
t
i
n
d
ex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
J
eff
K
ing
alloc: factor
o
ut commit in
d
e
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff
K
i
ng
add object_as_
t
ype he
l
pe
r
for casting objects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff Ki
n
g
parse_object_bu
f
fer: do not set object t
y
p
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
J
e
ff King
mo
v
e
s
e
t
ting
of object->ty
p
e
t
o alloc_* functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff
K
i
ng
alloc: w
r
ite o
u
t a
l
l
o
cator
d
efinit
i
ons
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff
K
i
n
g
tag: use skip_prefix instead of magic
numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff
King
r
e
m
ote-curl: mark helpe
r
-protocol errors mo
r
e
cle
a
rl
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Je
f
f King
remote-cu
r
l
: us
e
error
i
nstead of
f
prin
t
f(stderr)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
remote-curl: do no
t
c
o
m
p
l
ain on EOF from
p
arent
g
i
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-02
Je
f
f King
t7
3
00: repair filesyste
m
permi
s
sions with test_whe
n
_finis
h
ed
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
J
e
ff
K
ing
p
r
epare_pa
c
k
e
d_git_one
:
ref
a
ctor dupl
i
cate-pack check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
J
eff Ki
n
g
ver
i
fy-pa
c
k: use
strbu
f
_strip_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
s
tr
b
u
f: impleme
n
t
strbuf_st
r
ip_suff
i
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
index-
p
a
c
k: use strip_suffix
t
o avoid ma
g
ic numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
use strip_
s
uffi
x
in
s
tead of
e
nds_with in simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff K
i
n
g
replace
has_
e
xtensi
o
n
w
ith ends_w
i
t
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
implement ends_with via strip_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
J
eff K
i
ng
add strip_suffix functi
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff K
i
ng
replace: a
d
d
a
--raw mode fo
r
--edit
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
replace: us
e
argv_array in
e
xport_object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Je
f
f Ki
n
g
avoid dou
b
le close of
d
escriptors
han
d
e
d to run_
c
omm
a
nd
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
J
e
ff King
r
e
pla
c
e:
r
eplac
e
spaces with tabs in inde
n
tation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
m
ove "%G" format te
s
t from t7510 to t6006
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff
King
set
u
p_git_env():
i
ntroduce gi
t
_path_f
r
om_env(
)
h
e
lper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
http-push: refactor parsing of remote object names
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
K
i
ng
use skip_prefix to avoi
d
rep
e
ated cal
c
ulatio
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
git: av
o
id magic number wit
h
ski
p
_pref
i
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
f
f King
fetch-pack:
r
efactor
parsin
g
in g
e
t_a
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff
K
ing
fast-im
p
ort: refactor parsing of spaces
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jef
f
King
s
tat_opt:
c
heck
e
x
t
ra strlen call
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff Ki
n
g
d
a
emon: use
sk
i
p
_prefix to a
v
oid magi
c
num
b
e
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fast-impo
r
t:
u
se sk
i
p_prefix for
pars
i
ng inpu
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff K
i
n
g
use sk
i
p_prefix to avo
i
d re
p
eating st
r
i
n
gs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
Ki
n
g
use skip_p
r
efix to
a
void magic n
u
mber
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
transport-helper: avoid
r
eading past end-of-string
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jef
f
Kin
g
fast-
i
mport: fi
x
r
ead of uninitia
l
ized argv memor
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
K
i
ng
a
pply: us
e
skip_prefix instead of raw addition
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
re
f
actor ski
p
_prefix to ret
u
r
n a boole
a
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
uniq
u
e_path
:
f
ix
unlikely h
e
ap overflow
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
walker_fet
c
h: fix mino
r
m
e
mor
y
leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
merge: use argv_arra
y
w
h
en spa
w
n
in
g
merge strat
e
gy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jef
f
King
sequencer: use argv_array_pushf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
setup_
g
it_env: use git_pathdup ins
t
ead of xmallo
c
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
K
ing
u
s
e
x
strfmt to replace xm
a
lloc +
s
trcpy/strcat
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use
x
strfmt to
repla
c
e
xmalloc + sprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
J
e
f
f
King
use xstrdup instead o
f
xmalloc + st
r
c
py
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff Kin
g
u
se xstrfmt in favor of
m
a
nual size calculatio
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Je
f
f King
s
t
rb
u
f: add
x
s
trfmt helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jef
f
King
avoid using skip_prefix as a b
o
olean
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff Ki
n
g
daemon
:
mark some s
t
rings as co
n
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Je
f
f King
pa
r
se
_
diff_color_slot: drop ofs
pa
r
a
m
eter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff Kin
g
prett
y
: avoid read
i
n
g
past end-of-string w
i
t
h "%G"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff
Kin
g
t7510: check %G* pretty
-
f
o
rmat
output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Je
f
f King
t7510:
te
s
t a commit
s
igned by an
un
k
nown key
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff King
t7510:
s
t
o
p referring to mas
t
er in
l
ater tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
f
f
King
reuse cached comm
i
t buffer when parsing signatures
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Je
f
f
K
ing
c
ommit:
rec
o
rd buffer len
g
th in cach
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
commit: convert commit->bu
f
fe
r
to a
s
lab
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
c
o
mmit-slab: provide
a
static initializer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jef
f
King
use get_commit_buffer everywhere
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Je
f
f Kin
g
convert logmsg
_
reencode
t
o get_com
m
it_buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
ff
King
use ge
t
_c
o
mmit_buffer
t
o avoid duplic
a
te
code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jef
f
K
i
ng
us
e
g
e
t_
c
ached_commit_buff
e
r where appropria
t
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jef
f
K
ing
provide helpers to access t
h
e co
m
mit buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff
Ki
n
g
prov
i
d
e a hel
p
er to set the c
o
mmit buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff Ki
n
g
prov
i
de a helpe
r
to free co
m
mit buffe
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
t7700:
d
r
o
p expli
c
it
-
-no-pack-kep
t
-obj
e
cts from
.
keep
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff K
i
ng
sequencer: use logmsg_
r
ee
n
cod
e
in get
_
message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
J
ef
f
Kin
g
logmsg_re
e
n
c
o
de: return
const buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff
K
ing
do no
t
cre
a
t
e
"
s
t
r
u
ct commit" with xca
l
loc
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Je
f
f King
co
m
mit: push commit_i
n
dex upda
t
e
i
nto alloc_commit
_
node
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
a
l
loc: include an
y
-object all
o
cations in a
l
loc_
r
eport
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next