repo.or.cz
/
git
/
mingw
/
j6t.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
J
eff King
strbuf_
g
etw
h
oleline: use ge
t
deli
m
if it is available
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
Jeff King
strbuf_getwh
o
l
e
line: avo
i
d calling st
r
buf_gr
o
w
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
Je
f
f King
strbuf_a
d
d
c
h:
a
void call
i
ng strbuf_grow
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
J
eff Kin
g
conf
i
g: use getc_unlocke
d
wh
e
n reading from file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
Jeff King
strbuf_g
e
twholeline: u
s
e g
e
tc_
u
nlocked
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
J
e
ff
K
ing
git-compat-util: add f
a
l
l
b
acks fo
r
u
nlocked stdio
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-04-16
Jeff K
i
ng
strbuf_getwholeline
:
use getc
m
a
cro
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff King
t9001: drop save
_
c
o
nfirm helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff King
t0020
:
use
t
est_*
he
l
pers instea
d
of ha
n
d-rolled messages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff King
t:
simplify loop exit-code
status varia
b
les
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff
K
ing
t:
f
ix some tri
v
ial cases of ign
o
r
e
d
exit codes in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff
King
t7
7
0
1
:
f
i
x ignore
d
ex
i
t code insid
e
loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff Ki
n
g
t3305:
fix
i
gnor
e
d exit code
inside loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
Jeff Ki
n
g
t0020:
f
ix ignored ex
i
t code i
n
si
d
e loops
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-25
J
e
ff King
perf-li
b
: fix ign
o
red exit co
d
e inside l
o
o
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-23
Je
f
f King
ru
n
-command: forbid
using run_c
o
mman
d
with piped o
u
tput
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-23
Jeff King
trailer:
use capture
_
c
ommand
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-23
Jeff King
submodule: use c
a
ptu
r
e_command
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-23
Je
f
f K
i
n
g
wt-s
t
atus: use ca
p
t
ure_command
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-23
Jeff
King
run-c
o
mmand: intro
d
uce c
a
ptur
e
_c
o
mmand help
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-22
Jeff K
i
ng
wt_s
t
atus: fix sig
n
e
d
ne
s
s mismatch in s
t
rbuf_re
a
d call
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-22
Jeff
K
ing
wt-status: d
o
n't flush be
f
or
e
running "submodule
s
tatus"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff K
i
ng
refs
.
c:
dr
o
p curate
_
pa
c
ked_refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Je
f
f King
repack: turn on "ref paranoia"
w
hen doi
n
g a destructive
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
prune: turn on ref_paranoia f
l
ag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
refs: introduce a "re
f
para
n
oia" f
l
ag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t5312: t
e
st objec
t
de
l
etion co
d
e paths in a corr
u
p
ted
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t4104: dr
o
p hand-rolled error reporting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
J
e
f
f
King
t
0
005: fix broken
&&-chains
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t700
4
:
fix embedded single-quotes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t0050
:
appeas
e
--c
h
ain-lint
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff
K
ing
t
9
001: use test_when_finished
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t
4117
:
use mod
e
r
n
t
est_* h
e
lpers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t6034: u
s
e
m
odern test_
*
helpers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t1301: use
m
odern test_* h
e
l
pers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t0020: use
m
o
dern test_* helpers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jef
f
K
i
ng
t6030
:
use mo
d
ern test_* helpers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t9
5
02: fi
x
&&-chain breaka
g
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff
K
ing
t7201: fix &&-chain break
a
ge
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t3
6
00: fix &&-chain breakage
f
or setup
c
ommands
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jef
f
King
t:
a
v
oid using "
:
"
f
or co
m
ment
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff
King
t: wrap complicated expect_
c
ode users i
n
a
bl
o
ck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff K
i
n
g
t: us
e
t
e
s
t_expect_code instead
of hand-rol
l
ed compar
i
so
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t: u
s
e test_m
i
ght_fail for diff and
grep
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t: fix &&
-
chaining issu
e
s arou
n
d set
u
p
which might
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
J
ef
f
K
i
ng
t
:
u
s
e test_must_f
a
il
i
nste
a
d of hand-rolled bl
o
cks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t: use ve
r
b
o
se instead
of
hand-rolle
d
e
rrors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t
:
ass
u
me test_cmp
produces verbo
s
e out
p
ut
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jef
f
King
t: fix trivial
&&-chain brea
k
age
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t: fix moder
a
t
e &&-chain br
e
akage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff King
t: fix
severe
&
&-ch
a
in bre
a
ka
g
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-20
Jeff
K
ing
t/test-lib: introduce
-
-chain-lint option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
J
e
ff King
fetch-pack: remove dead
assignme
n
t to ref->
n
ew_sha1
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
J
e
ff King
fetch_refs_via_pack
:
free extra copy
o
f re
f
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
Jeff King
f
i
lter_ref:
m
ake a copy of extr
a
"so
u
ght" entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
Jeff King
fi
l
t
e
r_re
f
: avoid o
v
er
w
r
iting
ref->o
l
d_sha
1
with g
a
rbage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
Jeff King
clo
n
e: dro
p
period from e
n
d of die_errno message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
Jeff
K
ing
c
lone: initialize at
e
xit
clea
n
up handler earlier
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-19
J
e
ff King
sha1fd
_
check: die w
h
e
n w
e
cannot
open the
file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff K
i
ng
t55
5
1: make
E
XP
E
NSIVE test cheaper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff Ki
n
g
t5541: move run_with_cmdline_limi
t
to te
s
t
-
lib
.
sh
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
J
eff King
t: pass
G
IT_
T
RACE
through Ap
a
c
he
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff
Kin
g
t
: redirect stderr GIT
_
TRACE to descriptor 4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff
King
t
:
transl
a
te SIGINT to an
exit
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
Jeff
Kin
g
u
pload-pa
c
k:
d
o not check NULL retur
n
of lo
o
kup_
u
n
kno
w
n_obje
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-13
J
e
ff
King
uploa
d
-
pack:
f
ix transfer
.
hider
e
fs over smart-http
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-03-12
Je
f
f
K
in
g
ta
g
: fix some mis-organized options i
n
"
-h" l
i
sting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-27
J
e
ff King
d
i
ffcore-rename: avoid proces
s
in
g
dup
l
icate destinations
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-27
Jef
f
Kin
g
diffcore-rename: split locate
_
ren
a
me_dst into
t
wo functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-26
J
eff King
gettext
.
c:
m
ove get_pref
e
r
red_languages() from http
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-17
Jeff K
i
n
g
d
aemon: sanitize i
n
coming
virtual hos
t
na
m
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-17
Jeff
K
ing
t
5570: test
git-daemo
n
's
-
-interpolated
-
path
o
ption
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-17
Je
f
f King
git_
c
on
n
ect: let user o
v
e
rride virt
u
al-hos
t
we send
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-17
Jeff King
cmd_pu
s
h
: pass "flags" pointer to c
o
nfig callback
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-17
J
e
f
f
King
cmd_
p
us
h
:
s
et "at
o
mic" bit d
i
rectly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-16
Jeff King
git
_
push_
c
o
n
fig: drop ca
r
go-cu
l
ted w
t
_status
p
o
i
nte
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-10
Jeff King
f
a
st
-
impor
t
: avo
i
d running end_
p
ackfile recursively
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-09
Jeff K
i
ng
for_each_loose_file_in_o
b
jdir: take an optio
n
al strbuf
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-05
Jeff Ki
n
g
co
n
fig_buf_un
g
etc: war
n
w
h
en pushin
g
back a random
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-05
Jeff K
i
ng
d
ecimal_wi
d
t
h: avo
i
d integer overflow
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-02-05
Jef
f
King
c
o
n
f
ig: do
not ungetc EOF
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-29
Jeff King
t
/lib-gpg: sanity-check
t
ha
t
we can actually sign
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-29
Jeff King
t/lib-
g
p
g
: i
n
clude se
p
arate public keys
i
n
keyring
.
gpg
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-28
Jeff King
d
o not check tru
t
h
value of fle
x
arrays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-28
J
e
f
f K
i
ng
read_and_strip_bra
n
ch
:
f
i
x
typ
o
'
d add
r
e
s
s
-of operat
o
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-27
Je
f
f King
dumb-http: d
o
n
o
t pass NU
L
L path
t
o
p
arse_pack_
i
ndex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-20
J
e
ff Kin
g
par
s
e_color: f
i
x ret
u
rn value for numeric color values 0-8
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Jeff
K
ing
s
t
rbuf
.
h:
g
rou
p
d
o
cumentation for trim functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
J
e
ff King
s
t
rbu
f
.
h: drop
boi
l
erplate
d
es
c
riptions
o
f strbuf_spli
t
_*
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Je
f
f Kin
g
str
b
uf
.
h: reorgan
i
ze api function grou
p
ing he
a
ders
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Jef
f
King
st
r
buf
.
h: format as
c
iidoc code
blocks a
s
4-
s
pace indent
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Jeff King
strbuf
.
h: dr
o
p asc
i
idoc list forma
t
ting
from A
P
I
docs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Jeff King
strbuf
.
h: integrate a
p
i
-
strbuf
.
txt
d
o
cumenta
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-16
Je
f
f Ki
n
g
t/lib-h
t
tpd: switch SANITY check for NO
T
_ROOT
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-14
J
e
ff King
http-push: trim
traili
n
g newline from remo
t
e symref
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-13
Jeff
K
ing
u
se
x
str
d
up_or_n
u
ll
t
o r
e
p
lac
e
ternary conditiona
l
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-13
Jef
f
King
built
i
n/commit
.
c
:
use x
s
t
r
d
up_or_nul
l
inste
a
d of
e
nv
d
up
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-13
Jeff Ki
n
g
builtin/apply
.
c: us
e
x
s
trdup_o
r
_null instead of null_strdu
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-13
Jeff King
git-compat-util: add x
s
t
r
dup_or_null help
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-06
Jeff Kin
g
update-s
e
rve
r
-info: c
r
eate i
n
f
o/* with
m
o
d
e
0
666
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next