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
t/Makefile: introduce TEST_SHELL_PATH
2017-12-08
Jeff King
t
/Makefile: introduce T
E
ST
_
SHELL_PAT
H
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-12-08
Jeff
King
test-lib: make
"-x" work with
"
--verbose-log"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-12-08
Jeff King
t5
6
15:
a
v
o
i
d re-using de
s
criptor 4
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-12-08
Jeff
K
i
n
g
t
es
t
-lib: silence "-x" cl
e
anup under
b
a
s
h
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-11-13
Jef
f
King
link_alt_odb_entries: make e
m
pty input a noop
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
s
e
tup: avoid double slash
e
s when looking for HEAD
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
worktree: handl
e
b
r
o
ken
s
ymrefs in fin
d
_shared
_
symre
f
()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
log: handle broken HEAD in
decor
a
tion
check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
remote:
handle broken symrefs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
test-r
e
f-
s
tore: avoid passing
NULL to
p
rintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
diff
:
handle NULs in get_
s
tri
n
g_hash()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
diff
:
fix whites
p
ace-skipping with --
c
olo
r
-
m
ove
d
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: te
s
t the output of "diff --color-moved -b"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
t
4
0
15: check "negati
v
e" case
f
or "-w
--
c
olor-move
d
"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: refac
t
or --c
o
lor-moved whi
t
espace test
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
tag: respect color
.
ui co
n
f
ig
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
J
e
ff King
Rever
t
"color:
check color
.
ui i
n
git_
d
efault_config()"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Je
f
f King
R
ev
e
rt "
t
6006: dr
o
p "always" c
o
l
o
r
c
onfig
t
ests"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
R
e
v
e
rt "colo
r
: make "alwa
y
s" the sa
m
e as "auto" in
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-16
J
eff
K
i
n
g
diff: f
i
x
infinite
loop with
-
-co
l
or-m
o
ved --ignore
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-10
Jeff K
i
ng
wr
i
t
e_entry: un
t
angle
syml
i
nk a
n
d regula
r
-file case
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-09
J
e
f
f King
w
rit
e
_e
n
try: avoid reading blobs in
CE_
R
E
T
RY case
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-09
J
e
ff Ki
n
g
write_entr
y
: fix leak
when ret
r
ying
d
elayed
filter
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-07
Jeff Ki
n
g
refs
_
r
e
sol
v
e_re
f
_
u
nsaf
e
: ha
n
dl
e
d/
f
c
o
nflicts for writ
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-07
Jeff Ki
n
g
t33
0
8: cre
a
te a real ref dire
c
t
ory/
f
ile conflict
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-06
Jeff
King
sha1_loose_objec
t
_info: handl
e
e
r
rors from unpack_sha1_re
s
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
eff Ki
n
g
path
.
c
: fix
u
n
initialized me
m
o
r
y acc
e
ss
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t7
3
01: use te
s
t_terminal
t
o check color
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
t4015: use --color w
i
th --co
l
or-
m
oved
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
co
l
or: m
a
k
e
"alw
a
ys"
t
he
s
ame as "aut
o
"
in
con
f
ig
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
pro
v
ide --color o
p
tion for all ref-
f
ilter users
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3205:
u
se --color
in
s
tead of
c
olor
.
branch=always
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
3203: drop "al
w
a
y
s" color tes
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f
King
t60
0
6: drop "alway
s
" col
o
r
config t
e
sts
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f King
t7502: us
e
d
iff
.
noprefix for --verbos
e
test
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
7
508:
u
se test_ter
m
inal for color outpu
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3701
:
use test
-
terminal to
collect co
l
or
outp
u
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t401
5
:
p
refer
--
c
olor to -c col
o
r
.
diff=
a
lways
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
test-ter
m
i
n
al: set TERM
=
vt1
0
0
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
git: add --
n
o-optional
-
locks
o
p
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Kin
g
validate_headref:
use get
_
o
id_hex for detached
H
EA
D
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_h
e
a
d
ref: use skip_p
r
e
f
ix for symref parsing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
i
ng
validate_headref: NUL-te
r
minate
H
EAD
b
uffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
J
eff
King
workt
r
e
e
: check the r
e
sult of read_in
_
ful
l
()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
wor
k
tree: u
s
e
xsiz
e
_t t
o
ac
c
ess
f
ile size
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
disti
n
g
uish
e
rror
v
ersus short read fro
m
re
a
d_in_ful
l
()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
i
ng
avo
i
d looking at er
r
no for
short r
e
ad
_
in_full() returns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
p
refer "!=" when checking read
_
in_full() re
s
u
lt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
notes
-
merge
:
drop
dead
zero-write
c
ode
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Ki
n
g
f
iles-backend:
p
refer "0" for write_in_full() err
o
r
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-24
Jeff Ki
n
g
d
o
c
:
put li
t
eral
b
lock delim
i
ter a
r
ound table
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
c
o
nsistently
u
se "fall
t
hrough" com
m
en
t
s
in sw
i
tches
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff King
curl_trace(): elimin
a
te switch f
a
llthrough
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f
Ki
n
g
t
est-l
i
ne-bu
f
fer:
s
implify comman
d
parsing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
cat-file
:
h
andle NULL o
b
jec
t
_conte
x
t
.
path
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-21
J
e
f
f King
revis
i
on: replace "struct c
m
dline
_
pa
t
hspe
c
"
w
ith argv_array
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-20
Jeff
K
ing
read_info_alternates
:
w
arn
o
n n
o
n-trivial errors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-20
J
e
f
f
K
ing
read
_
info_alternates: re
a
d conten
t
s
i
nt
o
s
trbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
prefi
x
_
ref_iterator: br
e
ak when we leave th
e
p
r
e
fi
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
read_pack_he
a
der: handle s
i
gned/unsigned comparison
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config:
f
lip return
v
alue o
f
stor
e
_wri
t
e_*()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
notes
-
merge: use ssize_t fo
r
write_
i
n
_
f
u
ll(
)
return
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pkt-line: che
c
k w
r
ite_in_full() errors against "< 0"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
c
onvert
l
ess-trivial
versi
o
ns of "write_in_full()
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
eff King
avoid "w
r
ite_in
_
full
(
fd, buf, len) != l
e
n"
p
attern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
get-tar
-
c
ommit-id: chec
k
write_
i
n_
f
ull()
r
et
u
rn against 0
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
i
ng
config: avoid "writ
e
_in_full(fd,
b
uf, len)
<
le
n
" pattern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
K
ing
cv
s
im
p
ort: sh
e
l
l
-
quote
v
a
riable used in
b
acktick
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
arch
i
m
p
ort:
u
se safe_pi
p
e
_c
a
pture
for use
r
in
p
u
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
shell:
d
r
o
p
g
i
t-cvs
s
erver support by default
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff King
shortlog: s
k
ip
f
ormat
/
pa
r
se rou
n
dtrip for inte
r
nal
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
add UNLEAK annotati
o
n for reduci
n
g leak
false posit
i
ves
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_ex
t
r
a
ct_argv0_path: do nothi
n
g without RU
N
TIM
E
_PREF
I
X
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system_path: move RUNTI
M
E_PREFI
X
to a
sub-function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
r
e
v-parse: d
o
n't trim bisect refname
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
set_git_dir: ha
n
d
l
e fe
e
ding gitdir to itself
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
repository: free fields before overwriting th
e
m
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
reset: free allocated tree buff
e
rs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset
:
make tree
c
o
u
nting less
c
onf
u
sing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
config: plug u
s
er_config lea
k
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
update-index
:
fix ca
c
he entry leak in add
_
o
n
e_file()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
a
dd: fr
e
e leaked path
s
pec
a
fter a
d
d_files_to_cache
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-lib: set LSAN_OPTI
O
NS to abor
t
by d
e
fault
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-l
i
b: --valgrind
s
hould
n
ot override --
v
er
b
ose-log
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
s
t
o
p leakin
g
lock
s
truct
s
in so
m
e si
m
p
le cases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
r
ef_lock: stop leaki
n
g loc
k
_files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfi
l
e:
u
p
date lifetime requir
e
ments in
documenta
t
io
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
t
empf
i
le: auto-allocate t
e
mpfiles o
n
heap
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
n
g
tempfil
e
: r
e
move deact
i
vated list entri
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
te
m
pfile: u
s
e lis
t
.
h f
o
r linked li
s
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
tempfile: release de
a
ctivated st
r
bufs
instead of r
e
setting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
t
e
mpfile: robustify clea
n
up handler
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: factor out deactivation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfile: factor out
a
ctiva
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempf
i
le: replace die
(
"BUG
"
) with BUG()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
te
m
pfile: hand
l
e
N
U
LL tempfi
l
e pointers gra
c
eful
l
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tem
p
fi
l
e: prefer is_tempfi
l
e_active to bare access
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: d
o
not rollback lock on failed
c
lose
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f King
temp
f
ile: do not
d
elet
e
tempfile on failed
c
lose
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
always check return
v
alue of close_
t
empfile
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next