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
Eighth batch for 2.1
2014-07-10
Jef
f
K
ing
tag:
u
se skip
_
pr
e
fix instead
o
f magic numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-02
Je
f
f
K
ing
t7300: repair
file
s
ystem permissions wi
t
h test_whe
n
_
f
i
nished
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
J
eff King
pr
e
par
e
_packed_g
i
t_one: refactor duplicate-pack check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
ver
i
fy
-
pack: use strb
u
f_stri
p
_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jef
f
King
strbuf:
i
m
plement strb
u
f_s
t
rip_suf
f
ix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff Kin
g
i
n
d
e
x-pack:
u
s
e
str
i
p_
s
u
f
f
ix to
avoid magic n
u
m
bers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff
King
u
s
e
strip
_
su
f
f
i
x instead of ends_with in sim
p
le cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
replace has_exte
n
sion
with ends_with
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
im
p
lemen
t
ends_with
via strip_su
f
f
i
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
ad
d
stri
p
_s
u
f
fix function
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 for --ed
i
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jef
f
Ki
n
g
r
eplac
e
: use argv_array in export_o
b
je
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
avoid double
c
lose of descriptors
h
anded to
run_comm
a
nd
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Je
f
f Kin
g
replace: replace spaces with tabs
i
n indentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff Ki
n
g
move "%G" format test from t7510 to t6006
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
J
eff King
s
etup
_
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-p
u
sh
:
refactor
p
ars
i
ng of
remote object names
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Kin
g
use skip_prefix to av
o
id rep
e
ated
c
alcul
a
tions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
git:
avoid magic number with skip_p
r
efix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f King
fetch
-
pack: refa
c
tor parsin
g
i
n get_ack
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fast-imp
o
rt: refactor
parsi
n
g
o
f spaces
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
eff King
stat_opt: check extra strlen cal
l
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f King
daemon: us
e
skip_prefix to avoid
m
agic numbe
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fast-import: use
s
k
ip
_
pr
e
fix for p
a
rsing input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff
K
ing
u
se sk
i
p_prefix
to avoid
repeating strings
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Ki
n
g
use
s
kip_
p
refix to avoid magi
c
numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff King
transport
-
helper: avoid read
i
n
g
p
a
st e
n
d-of-str
i
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fast
-
imp
o
rt: fix r
e
ad
o
f
u
ninitial
i
zed argv
memor
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
apply: use skip_prefix instead of raw ad
d
ition
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jef
f
K
i
ng
refactor sk
i
p_prefix to return
a boolean
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
Ki
n
g
un
i
que
_
pa
t
h: fix unlikely heap over
f
low
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
walker_fetch:
fi
x
minor
memory leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
merge: use arg
v
_
a
rr
a
y
w
hen spawning merge str
a
tegy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
King
seq
u
encer: use argv_ar
r
ay_
p
ushf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
setup_git_env: use git_pat
h
dup i
n
ste
a
d of x
m
alloc
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
King
us
e
x
strfmt to replace xmall
o
c + strcpy/
s
trc
a
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
J
eff K
i
ng
use
x
strfmt to replace xmall
o
c
+ sprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
J
e
ff King
use xstrdup instead of xmalloc + s
t
rcpy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Jeff Ki
n
g
u
s
e
xstrfmt in favor of manual size calculation
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-19
Je
f
f
King
strbuf
:
a
d
d xstrfmt helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
avoid using
s
kip_pre
f
ix as a
boolea
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Je
f
f King
daemon: mar
k
some strings a
s
const
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-18
Jeff King
parse_d
i
ff_co
l
or_slot:
drop ofs
parameter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff Ki
n
g
pretty:
avoid re
a
d
in
g
past end-of-st
r
ing wi
t
h "%G"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Je
f
f King
t7
5
10: check %G* pretty-form
a
t o
u
tput
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff
K
i
ng
t7
5
10:
t
e
s
t a commit signed
b
y an unknown
k
ey
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-17
Jeff K
i
ng
t7510: stop referring to master in l
a
ter test
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Je
f
f Ki
n
g
reuse
c
ached commit buffer when
parsing si
g
nature
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff
King
commit: rec
o
r
d
buffer
l
eng
t
h in
cache
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
ef
f
K
ing
c
ommit: convert co
m
mit->buffer t
o
a
s
l
a
b
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
co
m
mit-sl
a
b:
p
r
ovide a static initi
a
li
z
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff
Ki
n
g
u
s
e
get_co
m
mit_buffer everyw
h
ere
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
e
ff K
i
ng
convert logmsg_reenc
o
de
to get_commit_b
u
ffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
J
eff King
use
g
et_commit_buff
e
r
to
avoid d
u
plicate code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
use get
_
cached_c
o
mmit
_
b
uf
f
er w
h
ere ap
p
r
o
priate
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
provide
h
elpe
r
s to access
t
h
e
com
m
it bu
f
fer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-13
Jeff King
prov
i
de a hel
p
e
r
to set 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 helper to
free commit
b
u
f
fer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Je
f
f King
t7700
:
drop explic
i
t
--no-pack-kept-objects f
r
om
.
keep
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
sequence
r
: use
l
ogmsg_reencode in
get_
m
essag
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff Ki
n
g
logmsg_
r
e
e
ncode: r
e
tur
n
const buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
J
e
f
f
King
do not
create "struct c
o
mmit" with xcalloc
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jef
f
K
i
ng
co
m
mit:
push commit_inde
x
up
d
ate into alloc_commit_node
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jef
f
King
alloc: include an
y
-ob
j
e
ct allocation
s
in alloc_report
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff Kin
g
r
e
p
l
a
ce dan
g
erous uses
of strbuf_attach
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-12
Jeff King
commi
t
_
t
ree:
take
a
pointer/len
pair rather tha
n
a
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
repack:
i
n
troduce
repack
.
w
r
iteB
i
tmaps c
o
nfig option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff Kin
g
repack: simplif
y
handling
o
f
--write-bitmap-
i
ndex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff
K
ing
p
ack-object
s
: sto
p
respecting pack
.
w
ritebitmaps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
re
p
ack: s/write_bitmap/&s/ in code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
J
e
f
f
King
repack: re
s
pect
p
ack
.
wr
i
tebi
t
maps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-10
Jeff King
repa
c
k
: do not acc
i
denta
l
ly pack kept objects
by
d
efault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-04
Je
f
f King
update-index: fix segfault with missing --ca
c
h
e
i
nfo
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-03
Jeff
K
ing
error
_
resolve_c
o
nfli
c
t: drop
quo
t
ations
a
round o
p
era
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-03
Jeff Kin
g
e
r
ror_res
o
l
ve_c
o
nfl
i
ct: re
w
rap advice mes
s
age
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-30
Jef
f
King
t5537: r
e
-drop
http tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-27
J
e
f
f King
http: default text charset to iso-8
8
5
9-1
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-27
Jef
f
King
r
emote
-
curl: re
e
ncode ht
t
p error m
e
s
s
ages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-27
J
eff King
strbuf: add
s
t
rbuf_reencode helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-27
J
e
ff
King
http: optionally
e
xt
r
act charse
t
parame
t
er fro
m
content
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-27
Jeff King
http: extract
t
y
pe/s
u
b
type port
i
on of content
-
t
ype
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-23
Jeff Kin
g
strbuf: add strbuf_tolo
w
e
r function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-23
Jeff King
t
5550
:
test display
of
remo
t
e
h
ttp error message
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-23
Jeff Kin
g
t/
l
ib-ht
t
pd: use write_script to
c
o
p
y CGI scripts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-23
Jeff K
i
n
g
test-lib: prese
r
ve
GIT_CURL_V
E
RBOSE from t
h
e environ
m
ent
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-23
Jeff
King
daemon/config: factor out duplicate
x
s
trdup
_
t
olower
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-21
Jeff
Ki
n
g
format-patch: make newline after signat
u
re
conditional
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-20
Jeff Kin
g
move "--follow needs one pathspec" rule to diff_setu
p
_done
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jef
f
K
ing
o
p
e
n
_
s
ha1
_
f
i
le: r
e
port
"mos
t
inter
e
sting" errno
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
J
eff King
argv-array: drop "deta
c
h" code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff
K
ing
get_imp
o
rter
:
us
e
run-co
m
m
a
nd's
internal argv_a
r
ra
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff King
get_expor
t
e
r: use ar
g
v_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff King
get_helpe
r
: u
s
e
r
u
n-comman
d
's internal
a
r
gv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff
King
git_c
o
nnect
:
use argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jef
f
Ki
n
g
run_
c
olumn_filter: u
s
e a
r
gv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff King
run-command:
s
tore a
n
optional argv
_
array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-15
Jeff King
run_diff_files: do not
l
ook
a
t
u
n
i
nitial
i
zed stat
d
a
ta
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-12
Jeff King
ind
e
x
-
pack: distingui
s
h missi
n
g
ob
j
ec
t
s from t
y
pe err
o
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-12
J
e
ff King
t/l
i
b-httpd: require S
A
N
I
TY prere
q
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-05-07
Jeff King
grep: use run-command's
"dir" option fo
r
--o
p
e
n
-file
s
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next