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
Merge branch 'jk/xstrfmt'
2014-07-02
Jeff King
t7300: repair file
s
yste
m
permiss
i
ons wi
t
h test_when_fi
n
ish
e
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff
K
i
ng
se
t
up_git_env(): introduce git_path_fro
m
_env(
)
helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
http-push
:
re
f
actor parsing of remote object names
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
us
e
sk
i
p_prefix to avoid
repeated calculations
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
git: avoid magic numb
e
r w
i
t
h
skip_
p
refix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fetch-pack: refa
c
tor
p
arsing in get_
a
ck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
f
a
st-impo
r
t
:
r
efactor pars
i
ng of spaces
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff Ki
n
g
stat_opt: check e
x
tra strlen call
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
dae
m
on: use
s
kip_prefix to avoid magic numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff K
i
ng
fast-
i
mport: use skip_p
r
efix
for parsing inp
u
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
us
e
ski
p
_prefix to avoid
r
ep
e
a
ting st
r
ing
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
eff King
u
s
e
skip_prefi
x
to a
v
oid magic
numbe
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f
King
t
r
a
ns
p
ort
-
h
elper: av
o
id
reading past end-of-string
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
f
ast-import:
fix read of unin
i
tialized argv mem
o
ry
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f
King
apply
:
use skip_prefix in
s
tead of raw ad
d
ition
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f King
r
e
factor skip_pr
e
fix to re
t
urn a boolean
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff Kin
g
uniqu
e
_path: fix unlikely heap overflow
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Je
f
f King
walker_fe
t
ch: fix
min
o
r memory leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
K
ing
m
e
r
ge: use arg
v
_array
when spawnin
g
merge strate
g
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Je
f
f King
sequencer: u
s
e argv_array_p
u
sh
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
K
ing
setup_gi
t
_env: use git_p
a
thdu
p
instead o
f
xmalloc
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use xstrfmt 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
Jeff King
use xstrdup instead
o
f xmalloc + strcpy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
use xstrfmt in
f
a
v
or of manual si
z
e calculat
i
ons
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff Ki
n
g
str
b
uf: add xstrfmt helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
avoid
u
s
i
ng skip_prefix as a
boolean
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
daemon
:
mark some strings
a
s const
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
J
e
ff
K
ing
parse_diff_col
o
r_slot: dro
p
o
f
s
parameter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
ff King
reuse
c
ac
h
ed commit buffe
r
w
hen
p
arsi
n
g signat
u
res
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jef
f
Ki
n
g
com
m
it: record
b
u
ffer length
i
n cache
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jef
f
King
commit: conv
e
r
t
commit->buff
e
r to a slab
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Je
f
f King
c
o
mmit-sl
a
b: provide
a sta
t
i
c ini
t
ial
i
zer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
use ge
t
_commit_buffer
e
very
w
here
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
c
o
n
vert logmsg_reencode to get_commit_buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jef
f
King
us
e
get_commit
_
buffe
r
to
avoid duplicate code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff
King
use g
e
t
_
ca
c
hed_commit_buffer w
h
ere appropriat
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
provide helper
s
to acce
s
s
the
commit bu
f
fer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
f
f King
provid
e
a
helper to
s
e
t
the commit buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
p
r
ovi
d
e a
h
e
lper to free c
o
mmi
t
buf
f
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
t770
0
: drop explicit --n
o
-pack-kep
t
-obje
c
ts from
.
keep
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Je
f
f
K
i
ng
sequencer: us
e
l
ogmsg_reencode in g
e
t_message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff Ki
n
g
log
m
sg_reencode: return const buf
f
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
d
o
n
o
t
c
reate "struct comm
i
t" with xcalloc
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Je
f
f King
co
m
mit: p
u
sh co
m
mit
_
index update into alloc_co
m
m
it_node
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
alloc:
i
nclude
an
y
-o
b
ject allocations i
n
alloc
_
repo
r
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
J
e
ff King
r
e
place dangerous uses
of str
b
uf_at
t
ach
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
commit_tr
e
e
:
take a pointer/len
pair rather th
a
n
a
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff
K
ing
repack: introd
u
c
e
repack
.
w
r
iteBitma
p
s config option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff Ki
n
g
repac
k
: simp
l
i
f
y
handling
o
f --write-bitmap-index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
pack-objects: stop respecting pack
.
wri
t
ebi
t
maps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff K
i
ng
repa
c
k: s/write_bitma
p
/&s/ in c
o
de
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
repack: resp
e
c
t
pack
.
writebitmaps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
J
e
ff King
repa
c
k: do
not
a
c
cidentally pa
c
k kept objects
b
y
default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-04
Jeff
K
ing
update-index: fix
segfault
wit
h
missing --cachein
f
o
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-03
Jeff
K
ing
er
r
or_resolve_
c
onflict:
d
rop quotati
o
ns around operation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-03
J
e
ff King
error_r
e
solve_co
n
fli
c
t: rewrap advi
c
e
message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-30
Jeff King
t55
3
7: re-drop
h
t
tp tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-27
Jeff King
http: def
a
ul
t
text char
s
et to i
s
o-8859
-
1
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-27
Jeff
K
ing
remote-curl
:
reencode
h
tt
p
error messages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-27
Jeff Ki
n
g
strbuf:
add
s
trbuf
_
reen
c
ode hel
p
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-27
Jeff K
i
ng
h
t
tp: optio
n
all
y
ex
t
ract charset parameter from content
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-27
Jeff Kin
g
http:
e
x
tract
t
y
pe/subtyp
e
porti
o
n
of con
t
ent-type
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-23
J
eff King
strb
u
f:
a
dd strbuf_tolower functio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-23
J
eff King
t5550: test display of remot
e
ht
t
p error messag
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-23
Jeff Ki
n
g
t/lib-httpd
:
use write_
s
cri
p
t
to copy
CGI scripts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-23
Je
f
f King
tes
t
-lib: pres
e
rve GIT
_
CU
R
L_VERBOSE from the
environment
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-23
Jef
f
King
da
e
mo
n
/
config: fac
t
or out dupl
i
cate xstrdup_tolower
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-21
Je
f
f King
format
-
p
a
tch: mak
e
newl
i
n
e after
s
ig
n
at
u
re con
d
itional
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-20
Jeff
King
m
o
ve "--follow need
s
one pathspec" ru
l
e to diff_set
u
p_do
n
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff K
i
n
g
o
pen_sha1
_
f
il
e
: rep
o
rt
"
most in
t
erest
i
ng" er
r
no
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff Kin
g
a
rgv
-
arr
a
y
: drop
"
detach" code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff Kin
g
get
_
importer: use run-c
o
mman
d
's internal argv
_
array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff
K
ing
get_
e
xporter: use argv
_
array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff
K
ing
get
_
h
elper: use run-c
o
mmand's i
n
ternal ar
g
v_ar
r
ay
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff Kin
g
git_conne
c
t: u
s
e argv_a
r
ra
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff Kin
g
run_column_filte
r
: use ar
g
v_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Je
f
f
K
ing
run-command: store an o
p
tio
n
al argv_a
r
r
a
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff K
i
ng
run_dif
f
_file
s
: do not look at uninit
i
alized st
a
t dat
a
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-12
Jeff King
index-pack: distinguish missing obje
c
ts from type errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-12
Jeff King
t/lib-httpd: require SANITY prereq
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-07
Jeff King
gre
p
: use r
u
n
-comman
d
's "dir" o
p
tion for --open-files
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-06
Jeff
Ki
n
g
let clang use the
constant-return error() macro
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-06
Jeff King
inline constant re
t
urn from error() fu
n
ct
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-02
Jeff
King
c
ommit: a
c
c
ept more date
f
ormats
f
o
r "--da
t
e"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-02
Jeff
King
comm
i
t: print "Date" l
i
ne w
h
en t
h
e user has se
t
date
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-02
Jeff K
i
ng
pr
e
tty: make
s
how_ident
_
date p
u
blic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-02
Jeff K
i
n
g
commit
:
use split_i
d
en
t
_line to compare author/co
m
mi
t
ter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-04-29
Jeff King
rep
l
ace
:
add --edit option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-04-29
Jeff King
replace:
fac
t
or
o
b
j
e
ct
r
esolutio
n
out of replace_objec
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-04-29
Jeff King
repla
c
e: use O
P
T_CMDMODE to handle modes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-04-29
Jeff King
re
p
la
c
e: ref
a
c
t
or co
m
m
and-mode
d
eterminati
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-04-29
Jeff
K
i
ng
t391
0
:
show failure
o
f
co
r
e
.
precomposeunicode with
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-04-28
Jeff King
commit: do n
o
t complain of empty m
e
s
sages f
r
om -C
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-04-21
J
e
f
f King
run_exter
n
a
l
_dif
f
: ref
a
ct
o
r
c
mdline setup lo
g
ic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-04-21
J
e
ff King
run_exter
n
al
_
diff: hoist common bi
t
s out of conditiona
l
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-04-21
J
e
ff King
run_external
_
diff: d
r
op fflush(NULL)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-04-21
J
eff King
run_external_diff: clean up error hand
l
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-04-21
Jeff
K
ing
run_ex
t
e
r
nal_diff
:
u
s
e an argv_array
f
or the
e
n
vir
o
n
ment
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-04-21
Jeff King
r
u
n_external
_
diff: use an arg
v
_array for the
command
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next