repo.or.cz
/
git
/
gitweb.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
t2020: test variations that matter
2017-10-21
J
e
f
f
King
worktree: han
d
le brok
e
n symrefs
i
n find_shared_s
y
mref()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f Kin
g
l
o
g: handle brok
e
n HEAD in dec
o
ration check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
remote: handl
e
broken
s
ym
r
efs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
tes
t
-ref-store: avoid
p
a
ssing NULL to printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff Kin
g
d
i
ff: handle NULs in get_string_hash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
dif
f
: fix
w
hite
s
p
ace-
s
kipping w
i
th -
-
colo
r
-
mov
e
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t40
1
5: te
s
t the outpu
t
o
f
"d
i
ff --color-moved
-b
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t
4015:
che
c
k
"negative" case for "
-
w --color-mov
e
d"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
t4
0
15: ref
a
ctor
--color
-
m
oved whitesp
a
ce test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
eff
King
tag: respect c
o
l
o
r
.
ui conf
i
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "color: check
c
o
lor
.
ui in
git_def
a
ult_config
(
)"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Re
v
ert "t6006:
d
rop "a
l
ways"
c
o
l
or config tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
K
ing
Revert "color:
m
a
k
e
"
a
l
ways
"
the same as "auto" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
diff: fix infinit
e
l
oo
p
wi
t
h --color-m
o
ved
--ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
Je
f
f King
revi
s
ion:
quit pruning diff more quickly when pos
s
ible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff
King
w
r
i
te_entry: untangl
e
sym
l
ink and
r
egular-fil
e
c
ases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff Kin
g
w
r
ite_entry: avoid
r
e
a
d
i
n
g blobs in CE_RETRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff Ki
n
g
w
r
i
te_ent
r
y
: fix leak when retry
i
ng dela
y
ed filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
refs_
r
esol
v
e_ref_unsafe: handle d/f conf
l
ict
s
for writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff
K
ing
t
3
30
8
: c
r
eate a real
ref d
i
rectory/fi
l
e
con
f
lict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sha1_loose
_
object_in
f
o
:
handle erro
r
s from unpack_sh
a
1
_r
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
pat
h
.
c: fix uninitializ
e
d
m
emory
a
ccess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f Kin
g
t7301
:
use test_termin
a
l to ch
e
ck colo
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
t4015: use --c
o
lor w
i
th -
-
color-move
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
c
ol
o
r: make "always" the same as "auto" in co
n
f
ig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
provide -
-
color opt
i
on for all ref-filter users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t320
5
:
use
-
-color instead of col
o
r
.
bran
c
h=
a
lways
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
ef
f
King
t32
0
3
:
drop "alwa
y
s
" col
o
r t
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff Ki
n
g
t6006: drop "alway
s
" color
confi
g
tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t7502: us
e
diff
.
nopr
e
f
i
x
f
or
--verb
o
se test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
t7508:
use test_terminal for color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f K
i
ng
t3
7
01: use test
-
term
i
nal to coll
e
ct
c
olor output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff
K
in
g
t4015: pref
e
r
-
-color
t
o -
c
c
o
l
or
.
diff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f Kin
g
test-terminal: set TERM=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
g
i
t
: a
d
d --no-optional-
l
o
c
ks option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_headref: use
get_oid_
h
e
x
for det
a
ched HEAD
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
va
l
idate_headref: us
e
skip_prefix for sym
r
ef pa
r
s
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff K
i
ng
v
a
lida
t
e_hea
d
ref: N
U
L-terminate HEAD buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
worktree: check the result o
f
read_in
_
fu
l
l()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff K
i
ng
worktree: use xsize_t to acces
s
fi
l
e
size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
d
istin
g
uish error ve
r
sus sh
o
rt
r
ea
d
from read_in_f
u
l
l
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
avoid looki
n
g a
t
errno
f
or
short rea
d
_in
_
ful
l
(
) returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
p
r
efer "!="
w
hen checking
read_i
n
_f
u
l
l
() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
notes-
m
e
r
g
e
: d
r
op dead zero-write code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
file
s
-ba
c
kend: prefer
"0" f
o
r
w
rite_in_full
(
) error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc: put l
i
teral
block del
i
m
iter ar
o
und
table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
eff
King
c
o
nsistently us
e
"f
a
l
lthrou
g
h" comments i
n
switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
curl_trace():
e
li
m
inate swit
c
h fallthrou
g
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
test-li
n
e
-buffer:
simplify command
p
arsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff King
cat
-
fi
l
e: handle NULL object_con
t
e
xt
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revision: repla
c
e "stru
c
t cmd
l
ine_
p
aths
p
ec" with argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
r
ead_info_alternates: warn on non-trivia
l
errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_alte
r
nates: r
e
ad contents i
n
to strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
prefix_ref_iterator: brea
k
when we lea
v
e the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
rea
d
_pack_he
a
der:
h
andle
signed/
u
nsigned comparis
o
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config:
f
lip return v
a
lue of store_
w
r
i
te_
*
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
notes-merge: use ssize_t f
o
r wri
t
e
_
in_full() r
e
tur
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f Ki
n
g
p
k
t
-
line: check
wri
t
e_in_full()
erro
r
s against "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
c
o
nvert less-tr
i
v
i
al version
s
of "write_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
avoi
d
"write
_
in_full(fd, buf, len)
!= le
n
" p
a
tte
r
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
get-tar-commit-id: check write_in_full
(
) ret
u
rn against 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
config: a
v
oid "write_in_
f
ul
l
(fd, b
u
f, len)
<
l
en
"
p
atte
r
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Kin
g
c
v
simport: shell-
q
uote variable use
d
in ba
c
kticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
K
i
ng
a
rch
i
mport: use safe_pipe_capture for user
i
npu
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
shell: drop git
-
c
v
s
s
erver support by
d
e
fault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
shortlog:
s
k
i
p
for
m
at/parse
roundtr
i
p for in
t
ernal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
ef
f
King
add
UNL
E
AK annotat
i
on for r
e
ducing leak fals
e
positiv
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
J
eff Ki
n
g
git_extrac
t
_argv0_path: do
nothi
n
g without RUN
T
IME_PREF
I
X
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system_p
a
th: move
RUNT
I
ME_PREFIX to a su
b
-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
r
e
v-pa
r
se: don't trim bisect refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
set_git_di
r
:
handle
feeding gitdir to itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Kin
g
repo
s
itory: free fields be
f
ore overwritin
g
them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
r
e
set: free allo
c
ated tree
b
uffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
e
set: make tre
e
counting less confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config: p
l
ug user
_
config
lea
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
update-index: f
i
x
cache e
n
try leak in
a
d
d
_one_
f
il
e
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
add: free leake
d
path
s
pec after
a
d
d
_
files_
t
o_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-
l
i
b
:
set LSAN_
O
PTION
S
to ab
o
rt by d
e
fau
l
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
t
e
s
t-li
b
: -
-
va
l
grind
s
hould not ove
r
r
i
de -
-
v
e
rbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
sto
p
leaking l
o
ck struct
s
in some
sim
p
le cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
n
g
r
e
f
_lock: stop l
e
aking lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
lockfile: updat
e
lifetime requirements in documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
m
p
f
ile: auto-
a
l
l
ocate
t
empfi
l
es on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
te
m
p
f
ile: remove dea
c
tivated lis
t
entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfil
e
:
use li
s
t
.
h for
l
ink
e
d
list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
K
i
ng
temp
f
ile: r
e
lease deactivated strbufs ins
t
e
a
d
of resetti
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f K
i
ng
tem
p
file: robustify cleanup handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f King
t
e
mpfil
e
:
f
actor out de
a
ctivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempfile: fa
c
tor ou
t
activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
t
empfile: replace die(
"
BUG") with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
t
empfile: handle NULL
t
empfile pointe
r
s gracefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfile: pr
e
fer is_tempfile_activ
e
to bare
a
cces
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
lo
c
kfile: do no
t
ro
l
lback
lock on failed
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempf
i
le
:
do no
t
delete tempf
i
le on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
always check retu
r
n
v
a
l
ue of close
_
tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
verify
_
signed_b
u
f
f
er: pref
e
r
c
l
o
s
e_tempfile(
)
to
c
lose()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
setup_temp
o
rary_shallow: move
tempfile
s
truct in
t
o
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
s
e
t
up
_
temporary_sh
a
l
l
ow:
a
void using inactiv
e
tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
write
_
index_as_t
r
ee: cleanup t
e
mpfile on
e
rror
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
c
o
nfig: use a s
t
a
tic lock_file stru
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next