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
strbuf_getwholeline: use getdelim if it is available
2015-04-16
Je
f
f King
strbuf_getwholeline: use get
d
eli
m
if i
t
i
s
available
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
Jeff K
i
ng
s
trbu
f
_ge
t
wholelin
e
:
avoid call
i
ng st
r
buf_grow
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
Jeff Ki
n
g
s
trbuf
_
addch
:
avoid ca
l
ling
strbuf_grow
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
Jeff King
config: use
g
etc
_
unlocked when reading
from f
i
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
Jeff King
s
tr
b
uf_ge
t
wholeli
n
e: use getc_u
n
locked
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
Jef
f
King
git-c
o
mpat-util: ad
d
fallbacks for unlocked st
d
io
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
Jeff Kin
g
s
t
rbuf_getwholeline: use g
e
tc macro
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jef
f
King
t9
0
01: drop save
_
conf
i
rm helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff
King
t0
0
20: use test_*
hel
p
ers ins
t
e
a
d of h
a
nd-ro
l
led messa
g
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Je
f
f King
t: simplify
l
oop exit-code status varia
b
les
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
J
e
ff King
t: fix some trivial cases of ignored
e
x
i
t codes in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Je
f
f King
t7701: fix ignored exi
t
code inside l
o
op
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff King
t3305: fi
x
i
g
n
o
re
d
exit code inside
loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff King
t002
0
: fix ignored e
x
it code in
s
i
de loops
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff King
perf-lib:
f
i
x ig
n
o
r
ed
e
xit code ins
i
de
loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-23
J
e
ff King
r
un-command:
forbi
d
u
sing run_
c
ommand with
p
iped output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-23
Jeff King
trai
l
er: use
captu
r
e_command
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-23
Jeff Kin
g
sub
m
o
dule
:
use capture_c
o
mmand
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-23
Jeff Kin
g
wt-status: use captur
e
_command
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-23
Je
f
f King
run-command: intro
d
u
c
e capture
_
comm
a
nd
h
elpe
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-22
Jeff King
wt
_
status:
f
ix signedness mi
s
match in strbu
f
_read call
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-22
Jef
f
K
i
ng
wt-stat
u
s: don't flush
before runni
n
g
"submodule s
t
atus"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jef
f
King
refs
.
c
: drop c
u
rate_pa
c
ked_refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff Ki
n
g
rep
a
ck: turn on "ref para
n
o
ia"
w
hen doing a
d
es
t
ructive
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Je
f
f King
prune:
tu
r
n on ref
_
paranoia fl
a
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
refs: intro
d
u
ce a "ref paranoia" flag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t5312: test object del
e
tion code paths
i
n a co
r
rupted
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jef
f
King
t4104: drop hand-rolled error reporting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
J
e
ff King
t0005:
f
i
x bro
k
e
n &&
-
chai
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff
K
ing
t7004: fix embedded single-quotes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
J
e
ff King
t
0
0
5
0: app
e
ase
-
-chain-lint
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t9001
:
u
se te
s
t_when
_
finished
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff
K
ing
t41
1
7: use modern tes
t
_* help
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t60
3
4: u
s
e
m
o
d
ern test_* h
e
lp
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jef
f
Ki
n
g
t1301: use
modern test_* helpers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff K
i
ng
t
0020: use modern
test_* helpers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
J
e
f
f Ki
n
g
t6030: use mo
d
e
r
n t
e
st_* help
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t9502: fix &&
-
c
h
ain breakage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t
7
201: f
i
x &&-chain breakage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t3600: fix
&&-
c
hain br
e
aka
g
e
for
setup
commands
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jef
f
K
i
ng
t: avoid
usin
g
":"
f
or comments
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t: wrap
c
o
m
plic
a
ted
e
xpect_c
o
de
users in
a
b
l
ock
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff Ki
n
g
t:
use test_e
x
pect_co
d
e instead o
f
hand-rolled comparison
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff
K
ing
t: use test_
m
ight_
f
ail f
o
r dif
f
an
d
gre
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
J
eff
K
i
ng
t: fix &&-chain
i
ng issues aro
u
nd setup
w
hich might
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff Ki
n
g
t: us
e
test_must_fai
l
in
s
t
ead of hand-roll
e
d blocks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t: us
e
verbose instead of hand
-
r
olled errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Je
f
f Ki
n
g
t: as
s
um
e
t
e
st_cmp produces verbose o
u
tput
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t: fi
x
trivial &&-
c
hain brea
k
age
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jef
f
King
t: fix mo
d
erate &
&
-chai
n
breakage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
J
e
ff King
t:
f
ix severe
&
&-chain breakage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t/test-lib
:
introduce --chai
n
-li
n
t option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
J
e
ff King
fetch
-
pac
k
:
r
e
move dead assignme
n
t to
r
ef->new_sha1
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
Jef
f
King
fetch_refs_via_pack: free extra
c
opy of r
e
fs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
Jeff King
filter_ref:
m
ake a copy of ex
t
ra "sou
g
ht" entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
J
e
f
f
K
in
g
filter_ref:
avo
i
d overwriting ref->ol
d
_sha1 with g
a
r
b
age
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
Je
f
f
K
ing
c
lon
e
:
drop period from end
o
f
die_errno mes
s
a
ge
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
Jef
f
King
clone
:
init
i
alize atexit cleanup handler earlier
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
Jeff King
sha1fd_chec
k
: die w
h
en we canno
t
op
e
n the
file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Je
f
f King
t5551: make
E
XPENSIVE test cheaper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff
King
t55
4
1: move
r
u
n_wit
h
_c
m
dline_limit to test-
l
ib
.
sh
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff King
t: pass GI
T
_TRACE throu
g
h
Apache
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
J
eff
King
t: r
e
dir
e
ct std
e
rr G
I
T_TRACE to descriptor 4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff King
t: t
r
ansl
a
te SIG
I
NT
to
an
exit
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff K
i
ng
upload-pack:
do not check NULL return of looku
p
_
u
nk
n
own_
o
bjec
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff King
upload-pack: fix transfer
.
hiderefs
o
ver smar
t
-http
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-12
Jeff K
i
ng
t
a
g: fix some mis-organized
options in "-h" listing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-27
Jeff Ki
n
g
di
f
fcore-r
e
name:
a
void proce
s
sing
d
u
plicate destina
t
ions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-27
Jeff
King
di
f
f
core-rena
m
e: split lo
c
ate_rename_dst into two functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-26
Jeff K
i
ng
gettext
.
c: move get_prefer
r
ed_l
a
ngua
g
es()
fro
m
h
t
tp
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-17
J
e
ff K
i
ng
d
a
emon: sa
n
itize incomin
g
virtual hostname
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-17
Je
f
f
K
i
ng
t5570: test git-daemon's --i
n
te
r
pol
a
ted-path option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-17
Je
f
f King
gi
t
_connect:
l
e
t us
e
r ove
r
ri
d
e virtual-h
o
st w
e
send
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-17
Je
f
f King
cmd_pu
s
h
:
pa
s
s
"
fl
a
gs" poi
n
ter
to
c
on
f
i
g
callback
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-17
Jeff King
cmd_push: set "
a
tom
i
c
" bit directly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-16
Jeff K
i
ng
git_
p
ush_c
o
nfi
g
: drop car
g
o
-
cu
l
ted wt_status point
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-10
Jeff
K
i
n
g
fa
s
t-import
:
avoid runni
n
g end_pa
c
k
file re
c
u
rsiv
e
ly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-09
Jeff K
i
ng
for_e
a
ch_
l
oose_file_in_objdir: take an option
a
l strbuf
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-05
Jeff
King
config_buf
_
ungetc: w
a
rn whe
n
p
ushing back
a random
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-05
Jeff King
decimal_width:
a
void
i
nteger
o
verflow
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-05
J
eff Ki
n
g
config: do not ungetc
E
O
F
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-29
Jeff King
t
/
l
i
b
-gpg: san
i
ty-check that
w
e can actually sign
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-29
Jeff King
t/li
b
-gpg:
i
ncl
u
de se
p
arate pu
b
lic keys in
k
eyring
.
gpg
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-28
Jeff
K
ing
do
not check
truth value of flex a
r
rays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-28
Jeff King
r
e
ad_
a
nd_
s
trip
_
br
a
nch: f
i
x typo'd
address-of operator
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-27
J
e
ff Ki
n
g
dumb-http
:
do
n
ot pass NUL
L
pat
h
to par
s
e_pack
_
index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-20
Jeff King
parse_c
o
lor: f
i
x ret
u
rn
v
al
u
e
f
or numeric color
values 0-8
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Jeff K
i
ng
strbuf
.
h:
group documen
t
ation for tri
m
f
u
nctions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Jeff Ki
n
g
strbuf
.
h: drop boil
e
r
p
l
ate des
c
rip
t
ions of strb
u
f_split_*
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Je
f
f Kin
g
strbuf
.
h: r
e
organize api
f
unction grouping he
a
de
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Jeff
King
s
t
r
b
u
f
.
h
:
f
orm
a
t
asciidoc
c
o
d
e
b
locks as 4-
s
p
a
c
e
indent
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Jeff King
strbuf
.
h
:
drop
a
s
ciidoc
l
ist for
m
atti
n
g from
A
PI docs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Jeff King
strb
u
f
.
h: int
e
grate
api-strbuf
.
txt documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Jef
f
King
t/lib-httpd: s
w
itch SANITY check f
o
r N
O
T_ROOT
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-14
Jeff Kin
g
h
t
tp-push: tri
m
trailin
g
newline from remote symre
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-13
Jeff
King
use xs
t
rdup_or_null to r
e
place ternary conditionals
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-13
Jeff King
builtin/comm
i
t
.
c: use xstrdup_o
r
_null
in
s
tead of envd
u
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-13
J
eff Kin
g
b
uiltin
/
apply
.
c: use xs
t
rd
u
p_or_null instead of n
u
ll_st
r
dup
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-13
Jeff
K
ing
g
i
t-c
o
mpat-util: add xstrdup_or_nu
l
l helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-06
Jeff King
update-server
-
info:
c
r
e
a
t
e
i
n
f
o/* with
mode 0666
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next