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
t3404: check intermediate squash messages
2017-11-03
Jeff King
setup
:
avoid
double slashes whe
n
looking for HE
A
D
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff K
i
ng
w
orktr
e
e: handle broken symrefs in find
_
shared_
s
ymre
f
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
log
:
h
and
l
e broken
H
EAD
i
n dec
o
ra
t
ion
c
heck
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 King
t
e
s
t
-ref-store:
a
voi
d
passing NULL to printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
diff
:
han
d
le NU
L
s in get
_
string_hash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
diff: fix
w
hit
e
s
p
a
ce
-
sk
i
p
p
i
n
g
with --color-
m
oved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t
4
015:
t
e
s
t the o
u
tput of
"dif
f
--co
l
o
r-m
o
ved
-b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t
4015
:
c
h
eck "negativ
e
" case for "-w --
c
o
lor-mov
e
d
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015
:
refac
t
or -
-
c
olor-moved w
h
itespa
c
e t
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
eff King
t
a
g: r
e
s
pect co
l
or
.
ui
c
onfig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
R
e
v
e
r
t
"
c
olor: ch
e
ck col
o
r
.
u
i in git_default_config
(
)"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "t6006:
drop "
a
lways" color config tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff K
i
ng
Revert
"
c
o
l
o
r:
m
ake "alway
s
" t
h
e
same as "auto" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
diff
:
fix infin
i
te loop
w
ith --color-
m
oved --ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
Jef
f
King
revi
s
i
on: quit pruning diff
m
o
re quickly whe
n
possible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff Ki
n
g
write_
e
ntr
y
: unt
a
ngle symlink a
n
d
r
e
gu
l
a
r
-fil
e
cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff K
i
ng
w
r
ite_entr
y
:
avoid reading
b
lobs in CE_RETRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
ef
f
King
write_entry:
fix leak when retrying d
e
layed filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
J
eff Kin
g
refs_
r
e
s
olve_ref_unsafe: h
a
ndle d/f conflicts
f
or writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t3308: cr
e
ate a
real ref d
i
rectory/f
i
le confl
i
ct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff
K
i
n
g
sha1_loo
s
e_object_
i
n
f
o:
h
andle error
s
from unpack_sha1_re
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
i
ng
p
ath
.
c: fix uni
n
itialized memory access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t730
1
: use test_terminal to check color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015: use -
-
color with
--
c
olor-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
color: make "alwa
y
s"
the sa
m
e as
"
auto" in
c
o
n
fig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provide --color opti
o
n for all r
e
f-
f
ilte
r
users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
Kin
g
t3205: use
--color inste
a
d
of color
.
branch=a
l
ways
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
n
g
t3203: drop "
a
lways" colo
r
test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t6006: drop
"
alw
a
ys" color config tes
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7
5
0
2:
u
se
d
i
ff
.
n
oprefi
x
for --verbo
s
e te
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7508: us
e
t
e
st_terminal for color ou
t
p
u
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
K
in
g
t3701: use test-
t
erminal to
c
o
l
l
e
ct color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015: p
r
efer --color to -c color
.
di
f
f=a
l
ways
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
Ki
n
g
t
e
st-
t
e
rmin
a
l: set T
E
RM=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff K
i
ng
git:
add --no-optional-locks o
p
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
v
a
lidate_
h
e
a
dref: use get
_
o
id_hex for detached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
v
a
l
idate_h
e
adref: use skip_
p
refix for symref
p
a
rsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff K
i
n
g
v
alid
a
te_headref: NUL-ter
m
inate HEAD buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
worktree: chec
k
the result of read_in_full(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
worktr
e
e
:
use xsize
_
t to
a
ccess file size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff K
i
n
g
distin
g
uish error versus sh
o
rt read f
r
om rea
d
_in
_
full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
avoid looking
at errno
f
or short re
a
d_in_full() returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
pref
e
r "
!
=
"
w
h
en checki
n
g read_in_full()
r
es
u
lt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
notes-
m
erge: dr
o
p dead z
e
ro-w
r
it
e
co
d
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jef
f
K
i
n
g
file
s
-
backend: prefer "0" for write_in_ful
l
() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jef
f
King
doc
:
put l
i
ter
a
l
b
lock delimite
r
a
round table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
consiste
n
t
l
y us
e
"
f
allthrough" comments in swi
t
c
hes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
c
url_trace():
eliminate swi
t
ch fallt
h
rough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
eff Ki
n
g
test-line-buffer
:
sim
p
l
i
fy command parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f Kin
g
cat-file: handle NULL
o
bject_con
t
ext
.
pat
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
J
eff King
revision: replace "struct cmd
l
ine_
p
athspec
"
with
argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
e
ff
K
ing
read_i
n
fo_alternat
e
s
:
warn on non-triv
i
al erro
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff
K
in
g
rea
d
_inf
o
_al
t
e
r
n
ates: read co
n
t
e
nts into strbu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
prefix_ref_i
t
era
t
o
r: b
r
e
ak
w
hen we
leav
e
the
p
re
f
ix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
read_pack_header: handle s
i
gned/unsigned com
p
ar
i
s
on
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
c
onfig: fl
i
p
r
eturn value of store_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
n
o
t
e
s
-m
e
rge: use s
s
ize_t f
o
r
write_in_full() return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pkt-l
i
ne: check write_in_full() errors against "<
0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
Ki
n
g
convert les
s
-trivial
v
ersions o
f
"write_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
avoid
"
write_in_
f
ull
(
fd, buf,
l
en) != len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
get-tar-
c
o
mmit
-
id
:
check wri
t
e_i
n
_
ful
l
()
r
eturn against 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: avoi
d
"write_in_full(fd, buf, l
e
n) < len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff K
i
ng
cvsimpo
r
t: shell-q
u
o
te
v
ariabl
e
used in backticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
e
ff
K
ing
archimport:
use
safe
_
pipe_c
a
pt
u
re for
u
ser
input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
eff King
shel
l
: dr
o
p
g
it-cvsserv
e
r supp
o
rt by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jef
f
King
shortlog: ski
p
forma
t
/parse
roundtrip for internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
add UNLEAK annotati
o
n for reducing leak f
a
lse
p
o
sitives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
J
e
ff King
git_extr
a
ct_
a
rgv0_pat
h
:
d
o n
o
thing w
i
t
h
o
ut RUN
T
I
M
E
_
P
R
EFI
X
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff K
i
ng
system_
p
ath: move
RUNTIME_PRE
F
IX to
a sub-functi
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
rev
-
parse: don'
t
trim
bisect
r
e
fnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Kin
g
set_git_dir: ha
n
dle feed
i
ng gitdir
t
o itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
epository: f
r
ee
fie
l
d
s bef
o
r
e
o
v
erwriting
t
hem
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
res
e
t: free alloc
a
t
e
d
t
ree buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
reset: mak
e
t
r
e
e
c
ounting
l
ess confusin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
c
on
f
ig: plug user_c
o
nfig leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
upda
t
e-index: fi
x
cache entry leak in ad
d
_
one_f
i
le()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
add:
free leaked p
a
thspe
c
after
ad
d
_fil
e
s_
t
o_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
test
-
l
i
b: set LSAN_OPTIONS to abort by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
test-lib: --va
l
grind shou
l
d not override -
-
v
erbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Kin
g
stop le
a
king
lo
c
k
s
t
ructs in so
m
e sim
p
le
c
ases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
r
e
f_lock:
stop leaki
n
g lock_fi
l
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockf
i
l
e
:
up
d
ate lifetime requirement
s
i
n
documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
K
in
g
tempfile
:
auto-alloc
a
t
e
t
empfiles on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
t
empf
i
le: remove deac
t
ivate
d
l
ist entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
i
ng
t
empfile: u
s
e
l
i
s
t
.
h
for link
e
d li
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mp
f
ile: release deactivate
d
strb
u
fs
instea
d
of r
e
s
etting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Kin
g
tem
p
file
:
robustify cleanup ha
n
dler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: factor
o
ut
d
eactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile:
facto
r
o
ut activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfile:
replace
d
ie("B
U
G") wi
t
h BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: handle
NULL tempfi
l
e
poin
t
ers grace
f
ul
l
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
tempfil
e
: prefer is_tempfi
l
e_act
i
ve to
bare access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
loc
k
file:
d
o
not
ro
l
lback
lock on
f
ailed c
l
ose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempfile: do not delete tempfile on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
always check
r
etu
r
n value of close
_
tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
v
e
ri
f
y_signed_buffer: pr
e
fer close_tempf
i
le
(
)
t
o
cl
o
se(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
setu
p
_t
e
mporar
y
_shallow:
m
ove
te
m
pf
i
le struct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
setup_t
e
m
p
ora
r
y_shallow:
av
o
id usi
n
g inactive tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
write
_
inde
x
_
as_tree: cleanup
tempf
i
le
o
n
err
o
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next