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
read_packed_refs: avoid double-checking sane refs
2015-04-16
Jeff Ki
n
g
r
ead
_
pa
c
ke
d
_refs:
avo
i
d
d
ouble-che
c
king sane refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
Jeff King
s
trbuf_getwholeline: use getdelim if it is availa
b
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
J
eff King
s
trbuf
_
g
etwholeline: avoid callin
g
strbuf_grow
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
Jeff
K
ing
strbuf_addch:
a
void calling strbuf_grow
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
Jeff
K
ing
conf
i
g
:
use
g
etc_unlocke
d
whe
n
r
eadin
g
from file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
Jeff King
str
b
uf_getwholeline: us
e
get
c
_unlocke
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
Jeff Ki
n
g
git-compat-util:
a
dd fallbacks for
un
l
ock
e
d
stdio
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
J
e
ff Ki
n
g
strbuf_g
e
twholel
i
ne: use
g
etc
mac
r
o
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff King
t9001: dr
o
p
save
_
confi
r
m
hel
p
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jef
f
Ki
n
g
t0020:
u
se test_* helpers instead o
f
hand-rolled messages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff King
t: si
m
pli
f
y lo
o
p
exi
t
-
c
o
de sta
t
us vari
a
bles
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff Ki
n
g
t: fi
x
som
e
t
r
i
v
ial
cases of
i
g
nored e
x
it codes in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff King
t7701:
fix ignored
exit c
o
de in
s
ide loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff K
i
ng
t
3305
:
f
ix ign
o
red ex
i
t code in
s
ide lo
o
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
J
eff
King
t0020: f
i
x ignored ex
i
t cod
e
ins
i
de loops
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff King
perf-lib:
f
ix ignore
d
e
x
i
t
c
ode
inside loo
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-23
J
eff
K
in
g
run-command:
forbid using run_co
m
mand
wit
h
piped output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-23
Jeff Kin
g
trailer:
u
se
c
a
p
t
u
r
e_co
m
m
a
nd
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-23
Jeff King
submodule
:
use c
a
pture_command
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-23
Jeff King
w
t
-stat
u
s: use
c
apture
_
com
m
and
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-23
Jeff
K
ing
r
un
-
command
:
i
n
troduce cap
t
ure_com
m
and helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-22
Jeff Kin
g
wt
_
st
a
tus: fix signedness
mismatch in str
b
u
f_read
cal
l
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-22
Jeff King
wt-status
:
don't
f
lush
b
e
for
e
running "subm
o
dule sta
t
us"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
J
e
ff Kin
g
refs
.
c: drop curate_pack
e
d_refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
J
eff
K
i
ng
repack: turn on "ref parano
i
a" when
doing a destructive
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jef
f
K
ing
prune: turn on re
f
_paran
o
ia flag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff Kin
g
refs:
i
ntro
d
u
ce a "ref p
a
rano
i
a"
flag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff
King
t5312: test
o
bject
deletion code paths
i
n a corrupted
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t4104: drop hand
-
rolled erro
r
reporting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t0
0
05: f
i
x broken &&-chains
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff
K
ing
t7004: fix
e
mbedded
single-quotes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t
0050:
appease --
c
hai
n
-lin
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
J
e
ff
King
t9
0
01: use te
s
t_when_f
i
ni
s
hed
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t4
1
17: use modern test_* helpers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Je
f
f Ki
n
g
t6
0
34: use
m
o
d
ern test_* helpe
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff Kin
g
t130
1
:
us
e
mod
e
r
n
tes
t
_* hel
p
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t0020: use modern test_*
h
elpers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
J
eff
King
t6030: use mo
d
ern t
e
st_* hel
p
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff
K
i
n
g
t
9
502
:
fix &&-chain breakage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t7201: fix &&-chain breakag
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff
K
ing
t
3600: fix &&-chain breakage
for
setup c
o
m
m
ands
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t: a
v
o
i
d
u
sing ":"
for comme
n
ts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
J
e
ff King
t
:
w
rap com
p
l
ic
a
ted expect_code u
s
e
r
s in
a block
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t: use
t
est_expect_cod
e
instead of hand-
r
olled comparison
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff
K
ing
t: use tes
t
_
m
ight_fail for diff and grep
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t
:
f
ix &
&
-chai
n
ing issues around setup which might
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t
:
us
e
test_m
u
s
t
_f
a
i
l inst
e
ad of han
d
-
r
olled blocks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t: u
s
e verbose ins
t
ead o
f
hand-rolled erro
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t: assume te
s
t_cmp
produce
s
verb
o
se out
p
ut
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
J
e
ff King
t
: fix trivi
a
l &&-chai
n
breakage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
J
e
f
f Ki
n
g
t: fix m
o
derate
&&-c
h
ain break
a
ge
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t: f
i
x
s
evere
&&-chai
n
breakage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t/test-lib: i
n
troduce --chain-li
n
t
o
ption
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
Jeff King
f
etch-pack:
remove dea
d
assi
g
n
m
ent to ref->new_s
h
a
1
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
Jeff Ki
n
g
fetch
_
r
e
fs_v
i
a_pack:
f
ree
e
xt
r
a
c
opy of refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
Jeff Kin
g
filter_
r
ef: make a copy of ex
t
ra "sou
g
ht" entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
Jeff King
f
i
l
t
er
_
r
ef: a
v
oid ov
e
r
w
riting ref->ol
d
_s
h
a1 w
i
th ga
r
b
a
ge
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
Jef
f
King
c
lone:
dr
o
p period from
end o
f
die_e
r
rn
o
message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
J
eff King
clone: init
i
alize atexit cleanup han
d
l
e
r earlier
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
Jef
f
Ki
n
g
sha
1
fd
_
check: die when we c
a
nnot open t
h
e file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jef
f
King
t
5
551: m
a
k
e EXPENSIVE t
e
st
c
h
e
a
p
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff Kin
g
t5541: move run_wit
h
_c
m
dl
i
n
e
_
l
imit to test-l
i
b
.
sh
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff King
t:
p
ass GI
T
_
TRAC
E
through Ap
a
che
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff Kin
g
t: redirect stderr GIT_TRACE t
o
desc
r
i
p
tor 4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff King
t
: tran
s
late SIGINT to an e
x
it
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff
King
upload
-
p
a
ck:
d
o
not check
NUL
L
return of lo
o
kup_un
k
nown_o
b
je
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff Ki
n
g
upl
o
ad-pack: fix transfer
.
hi
d
erefs over sma
r
t
-
http
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-12
J
eff King
tag: f
i
x
some m
i
s-organized options in
"-h" list
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-27
Je
f
f King
di
f
fcore-renam
e
:
avoid processing duplicate destinations
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-27
Jeff King
diffcor
e
-
r
ename: split locate_rename_dst into two functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-26
Jef
f
King
gettext
.
c: mo
v
e
get_
p
referre
d
_langu
a
ges() f
r
om
http
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-17
Jeff
King
daemon: s
a
ni
t
ize incoming
virtual hostname
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-17
Jeff King
t5570: te
s
t
g
i
t-daemo
n
'
s --i
n
te
r
p
o
lated-p
a
th option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-17
J
eff King
git_c
o
nnect: l
e
t user override virtual-h
o
st we send
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-17
Jeff King
c
m
d_push: pass "fla
g
s
"
pointer to config
callba
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-17
Jeff Kin
g
cmd_push: set "atomic" bit
d
i
re
c
tly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-16
Jeff King
git_push_config:
d
rop cargo-culte
d
wt_
s
t
atu
s
p
oint
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-10
Jeff Kin
g
fast-import: avoid
r
unni
n
g end_p
a
ckfile recursively
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-09
Jeff Kin
g
for_each_loose_file_in_objdir:
t
a
k
e
a
n
option
a
l str
b
uf
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-05
Jeff
K
ing
conf
i
g_buf_unge
t
c: wa
r
n whe
n
pus
h
ing
back
a
random
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-05
Jeff King
decimal_
w
idth: av
o
id integer
overflow
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-05
Jeff King
config: do
not ung
e
t
c EOF
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-29
Jeff King
t/lib-gpg: s
a
ni
t
y
-ch
e
ck that
w
e can actually
sign
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-29
Jeff King
t/lib-
g
p
g
: inc
l
u
d
e
s
eparate p
u
blic keys in
keyring
.
gpg
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-28
J
e
ff K
i
ng
d
o
no
t
c
heck truth
value of flex
arrays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-28
Jeff King
read_a
n
d_strip_branch: fix typo'
d
address-of operator
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-27
Jef
f
King
dumb-http:
d
o not pass
N
ULL path t
o
parse_pack_inde
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-20
Jeff
King
parse_
c
olor: fix return value
f
o
r
numeric colo
r
val
u
es 0-8
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Je
f
f King
strbuf
.
h:
gr
o
up docume
n
tation for
trim functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Jeff
K
ing
strb
u
f
.
h:
drop boilerplat
e
d
e
s
criptions of strbuf_split_*
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Jeff King
strbuf
.
h
:
reorganize api functi
o
n grouping h
e
aders
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
J
eff King
strbuf
.
h
: fo
r
mat a
s
ciidoc code blocks as 4-sp
a
ce indent
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Jeff King
s
t
rbuf
.
h: d
r
op ascii
d
oc
li
s
t
formatting
from API docs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Jeff King
strbuf
.
h
:
int
e
g
r
a
te api
-
strbuf
.
txt documentatio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
J
eff King
t/lib-httpd: switch SAN
I
TY check fo
r
NOT_ROOT
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-14
Jeff K
i
n
g
http-
p
ush:
trim tr
a
iling newline
f
rom re
m
ote s
y
mref
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-13
J
e
f
f King
use
xstrdup_or_
n
ull to replace ternary con
d
i
t
ionals
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-13
Jeff King
b
u
iltin/co
m
mit
.
c: use xstrd
u
p_or_null instead of e
n
vdup
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-13
Jeff King
builtin/
a
pply
.
c: use x
s
trdup_or
_
null
instead
o
f null_strdup
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-13
J
e
ff King
git-comp
a
t-util
:
add xstrdup_or_null h
e
lper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next