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
checkout: do not fail if target is an empty directory
2014-07-14
Jeff Kin
g
mov
e
set
t
ing of o
b
ject->type to
all
o
c_* fun
c
tions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
alloc: write out alloc
a
tor
d
efinitions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff
K
ing
tag: us
e
skip_prefix instead
o
f mag
i
c numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
remote-curl: mark helper
-
protoc
o
l
e
rrors
m
ore
clea
r
l
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
remot
e
-
c
u
r
l: use erro
r
instead of f
p
rintf(stderr)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
J
e
ff K
i
ng
remote-curl:
d
o not comp
l
ain on EOF from parent gi
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-02
Jeff King
t7300:
repair f
i
lesyst
e
m
permissions
with tes
t
_when_fin
i
shed
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
prepare
_
packed_git
_
one: refactor duplicate-
p
ack check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
J
eff King
verify
-
pac
k
: use strbuf_stri
p
_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jef
f
King
strbu
f
: imple
m
ent
strbuf_strip_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
index-pa
c
k:
use strip_suffix to av
o
id magic numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff Kin
g
use strip_suffix instead
o
f
e
nds_with in simpl
e
cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
rep
l
ac
e
ha
s
_ext
e
nsion wi
t
h ends_with
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
i
m
pl
e
ment en
d
s_with via strip_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff
K
ing
add strip
_
su
f
f
i
x function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
replace: add a --ra
w
mod
e
fo
r
--edit
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
rep
l
ace: use ar
g
v
_array
in export_obje
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Je
f
f King
avoid double close of des
c
riptors handed to ru
n
_command
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
replace: repl
a
ce spaces with tabs in inde
n
tation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
m
o
ve "
%
G" format
t
e
s
t from t
7
510 to t60
0
6
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
J
e
ff
King
setup_git_env(): introduce
git_path_from_e
n
v() he
l
p
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff King
http-
p
ush:
refactor parsing of remote objec
t
names
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff King
use
s
kip_pre
f
ix t
o
a
v
oid repeated calcu
l
atio
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff King
gi
t
: a
v
oid magic n
u
mber with skip_prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fetch-pack: refactor parsing
i
n get_ack
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fast-import: refa
c
t
o
r
pars
i
ng of sp
a
ces
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
eff King
sta
t
_opt: check extra strlen ca
l
l
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
daemon: use skip
_
prefix to avoid magic
n
u
mbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fast
-
i
m
port: use skip_prefix
for parsing input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff K
i
ng
us
e
skip_p
r
efix t
o
av
o
i
d repe
a
tin
g
s
trings
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f
King
use skip_prefix to avoi
d
magic numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff King
transport-help
e
r:
a
void reading past
e
nd-of-string
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
eff K
i
ng
fast-import: fix
r
ead
o
f uniniti
a
lized
argv memory
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
ap
p
ly: use skip_p
r
efix
instead
o
f raw addition
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
refactor skip_prefix to
r
e
turn a boolean
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jef
f
K
ing
unique_pa
t
h
: f
i
x
unlikely heap
o
v
e
r
flow
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
K
ing
walker_fetch: f
i
x
minor me
m
ory leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
m
erge: u
s
e
argv_array when spawnin
g
merge s
t
rateg
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
sequencer:
use argv_array_
p
u
s
hf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
se
t
up_git_env: u
s
e git_pathdu
p
inste
a
d of
xmalloc
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
u
s
e xstrfmt to replace xmalloc + strcpy/strcat
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
Ki
n
g
use xstrfmt
to repl
a
ce xmalloc + sprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
K
ing
u
s
e xstrdup inst
e
ad of
x
m
a
l
loc
+
strcpy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use xstr
f
mt in favor of
m
anual size calculations
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
King
strbuf: a
d
d
x
str
f
mt helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
avoid
u
sing skip_prefix as a
boolean
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jef
f
King
daemon: mark so
m
e s
t
rings as con
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff
King
parse
_
diff_color_sl
o
t
:
dr
o
p
o
f
s
parameter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
J
eff
K
ing
p
r
etty: avoid
r
eading past
e
n
d-of-string with "%G"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Je
f
f King
t
7
5
10: check %G* pretty-
f
ormat output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff King
t7
5
10: test a commit
s
ig
n
ed b
y
an unknown key
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
J
e
f
f Kin
g
t7510: stop
r
ef
e
rring
to master in lat
e
r tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
f
f
King
reuse cached c
o
m
mit buffer
w
hen parsing signatures
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
eff King
comm
i
t
: rec
o
r
d
bu
f
fer l
e
ngt
h
in cache
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
commit: convert
c
ommit->buffer to a slab
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
f
f King
commit-slab: provide a st
a
t
ic initializer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
use get
_
commit_buffer everywhere
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff Ki
n
g
convert logmsg_reencode t
o
g
e
t
_co
m
m
it_buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jef
f
Kin
g
use get_com
m
it_buffer to avoid duplicate c
o
de
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
use get_cached_c
o
mmit_b
u
ffer w
h
ere appr
o
priate
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Je
f
f King
provide
h
elpers to a
c
cess th
e
commit buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
pr
o
vide a helper to set the commit bu
f
f
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jef
f
Ki
n
g
provid
e
a he
l
p
e
r to free commit buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Je
f
f K
i
n
g
t7700: drop
explicit -
-
no-pack-ke
p
t-objec
t
s f
r
om
.
k
e
e
p
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jef
f
Ki
n
g
sequen
c
e
r
: use
logms
g
_re
e
ncode i
n
get_message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
log
m
sg_r
e
e
n
code:
return const buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff
King
d
o
not create
"
struct commit" with
x
calloc
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
commit: p
u
sh commit_ind
e
x update into alloc_
c
ommit_node
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
J
eff King
alloc
:
include any-object all
o
cation
s
i
n all
o
c_report
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff
K
i
ng
re
p
lace dangerous us
e
s o
f
strbuf_attach
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
J
e
ff King
commit
_
tre
e
:
take a poin
t
er/len
p
air rathe
r
tha
n
a
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff
K
ing
repack: in
t
roduce repack
.
writeBitmaps config option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
repack:
simplify h
a
ndling of
-
-write-bitmap-index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
pack-o
b
jects: stop
r
esp
e
cting pack
.
wri
t
ebitma
p
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Je
f
f Kin
g
rep
a
ck:
s/write_bitmap/&s/ in co
d
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff
K
ing
r
epack: respect pack
.
writebitm
a
ps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
repack: do not acc
i
dental
l
y pac
k
k
e
p
t
objects by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-04
Jef
f
King
upda
t
e-index: fix s
e
gfault with mi
s
sing --c
a
chein
f
o
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-03
Je
f
f King
error_resolve
_
conflict
:
drop qu
o
tations aro
u
nd operation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-03
Je
f
f King
error_res
o
lv
e
_confl
i
ct:
r
ewrap
a
d
vice message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-30
Jeff
K
i
ng
t5537: re-drop http tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-27
Jeff Kin
g
ht
t
p
:
d
efault text ch
a
rset to iso-8
8
59-1
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-27
Jeff King
remot
e
-curl: re
e
ncode ht
t
p e
r
ror messages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-27
Jeff King
strb
u
f: add strbuf_reencode helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-27
Jeff Kin
g
http: optionally extract charset p
a
r
ameter from content
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-27
J
eff King
ht
t
p:
e
xtract type/subtype
p
orti
o
n of content-type
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-23
J
e
f
f King
s
t
rbuf:
a
dd
strbuf_tolower f
u
n
c
ti
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-23
J
e
ff King
t555
0
: test di
s
play of remote http error messages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-23
Jeff Kin
g
t/li
b
-httpd: use w
r
ite_scr
i
pt to c
o
py CGI
scr
i
pts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-23
Jeff King
test-l
i
b
:
preserve GIT_C
U
RL
_
VER
B
OSE from
t
he environ
m
ent
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-23
Jeff
K
ing
daemon/config: factor
out d
u
plica
t
e xstrdup_t
o
l
o
wer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-21
J
eff King
f
ormat-patch: make newline
aft
e
r signature cond
i
t
ional
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-20
Je
f
f King
move
"--follow needs one pat
h
spec"
r
u
le to
di
f
f
_
setup_do
n
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff King
open
_
sha1_
f
ile: report "mo
s
t int
e
resting"
errn
o
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff Kin
g
argv-array: drop "detach" code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Je
f
f
King
ge
t
_
importer: use run-command's internal a
r
g
v
_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff Kin
g
get_expor
t
e
r
:
use argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Je
f
f King
g
e
t_helper: u
s
e
r
un-
c
ommand's internal arg
v
_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
J
e
ff
K
i
ng
g
it_c
o
nnec
t
:
u
se argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff King
run_column_filt
e
r: use ar
g
v_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next