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
sequencer.c: check return value of close() in rewrite_file()
2017-10-17
Jeff
K
ing
t
a
g:
respect c
o
lor
.
ui
c
onfig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
R
ever
t
"co
l
or: check color
.
ui in git_
d
efault_c
o
nfig
(
)"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
e
ff King
R
e
vert
"
t6006: dro
p
"alway
s
"
c
olor config tes
t
s"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Je
f
f King
Revert "color: make
"al
w
ays"
t
he same
a
s "aut
o
"
i
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
J
eff King
dif
f
: fix i
n
fini
t
e loop with --color-moved --ignor
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff Kin
g
write_entr
y
:
untangle syml
i
n
k
a
n
d
r
e
gular-file cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff Ki
n
g
w
ri
t
e_ent
r
y: avoid reading blobs in
C
E_RET
R
Y c
a
se
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
eff King
write_
e
n
tr
y
: fix
leak whe
n
retrying delaye
d
f
ilter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
refs_resolve_ref_unsafe: handle d/
f
c
o
nfli
c
t
s
fo
r
w
r
ites
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t3308: cr
e
a
te a real
r
e
f directory
/
file co
n
f
lic
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff Ki
n
g
sha1_loose_object_inf
o
: handle e
r
rors from unpa
c
k_sha1_res
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
path
.
c: fi
x
unin
i
tialized memory a
c
cess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7301: use te
s
t_terminal to ch
e
c
k
color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
t4015: use -
-
color
wit
h
--
c
olor-m
o
ved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
color: make "alw
a
ys" the same
a
s
"
a
uto"
i
n config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
prov
i
de --col
o
r op
t
i
o
n for all r
e
f-filter us
e
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t
3205
:
use --colo
r
inst
e
ad of color
.
branc
h
=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3203:
d
rop
"always" color t
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f King
t600
6
: drop "always"
c
o
l
or config te
s
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
t7502: use di
f
f
.
noprefix for --
v
erbo
s
e test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f Kin
g
t7508: use test_t
e
rminal for color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
K
ing
t37
0
1: use test-ter
m
inal
t
o c
o
l
l
ect color
output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t401
5
:
p
refer --color to -c color
.
diff=al
w
ays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t
est-te
r
m
i
nal:
s
et TERM=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
git:
add
-
-no-optional-locks o
p
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
valid
a
t
e_headref: us
e
get_oid_he
x
for detached H
E
A
Ds
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff K
i
n
g
validate_headre
f
:
use
skip_
p
refix
f
or symr
e
f parsin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
i
n
g
v
a
lidate_headref: NUL-terminate HEAD
buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
w
o
r
k
tree:
check th
e
re
s
ult
of rea
d
_i
n
_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff
K
i
n
g
worktre
e
:
u
se xsize_t to access fil
e
s
ize
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
ef
f
King
distinguish error versu
s
sho
r
t
r
ead from
read_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
avoid looking at err
n
o f
o
r
short read_in_full() return
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
pre
f
er "!=" w
h
en checking read
_
in_
f
ull() r
e
s
u
lt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff
King
no
t
es
-
merge: d
r
op de
a
d z
e
ro-write cod
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
fi
l
e
s
-
backen
d
:
pr
e
fer "0" for write
_
in_ful
l
() err
o
r
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc: put lite
r
al
b
l
ock d
e
limiter aroun
d
tab
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
King
co
n
s
i
stentl
y
use "fa
l
l
thr
o
ugh"
comments in switc
h
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
ing
curl_t
r
ace(): e
l
imina
t
e
switch
f
allthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
eff King
test-line-buff
e
r: simplify command parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff King
cat
-
f
ile: handle N
U
LL object_
c
ontext
.
p
a
th
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revi
s
ion:
r
eplace "struct cmdline
_
pathspec" with argv_a
r
ray
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_
i
nf
o
_alternates: w
a
r
n
on non-trivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_
a
lt
e
rnates: rea
d
contents i
n
t
o
st
r
buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
p
r
efix
_
ref_
i
t
e
r
ator: br
e
ak w
h
en
w
e
l
e
a
ve the
prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
read_pack_header: handle sign
e
d
/
u
nsigned comparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff King
co
n
fig:
f
lip return
v
alue of s
t
ore_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
not
e
s-merge: use ssize_t for w
r
ite_i
n
_full() retur
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pkt-line: c
h
eck write_in_full() erro
r
s a
g
a
i
n
s
t
"<
0
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
K
i
n
g
c
o
nvert le
s
s-trivial v
e
rsions of "write_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid "write_in_fu
l
l(fd, bu
f
,
len) != len"
pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
get
-
tar-commit-id: check write_i
n
_fu
l
l() ret
u
rn against 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: avoid "wri
t
e_in_ful
l
(fd, buf, len)
< len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jef
f
Kin
g
cvsimport: she
l
l
-
qu
o
te
variable used in b
a
cktic
k
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f King
archimport: u
s
e safe
_
pip
e
_capture
for user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
sh
e
ll: drop git-cvsserver
s
upp
o
rt by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
eff King
sho
r
t
l
og: skip form
a
t
/par
s
e roundtrip
f
or internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Je
f
f Ki
n
g
a
d
d
U
NLEAK
an
n
o
t
a
tio
n
f
o
r reducing leak fal
s
e
positi
v
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
gi
t
_
extract_argv0_
p
ath: do n
o
thin
g
without RUNTIME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jef
f
Kin
g
system_path
:
move RUNTIME
_
P
REFIX t
o
a s
u
b-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
e
v
-
p
arse:
d
on't trim bi
s
ect refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f K
i
ng
set_git_dir: handle feed
i
ng gitdir
to itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
epository: free fields before overwritin
g
them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
res
e
t:
free a
l
locate
d
tree buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
in
g
reset: make tree co
u
nting le
s
s confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
config: plug
u
ser_
c
o
nfig leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
update-index: fix cache entry leak
i
n a
d
d_
o
ne_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
add: free
leaked p
a
th
s
pec aft
e
r ad
d
_file
s
_to_
c
ache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
t
e
st-lib: set LSAN
_
OP
T
IONS to abort
b
y
d
efault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
test-lib: --valgrind should
n
ot
overr
i
d
e
--verbose
-
l
og
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
st
o
p
l
eaking
l
o
ck struct
s
in
s
ome simple ca
s
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
e
f_lock: s
t
o
p leaking lock_file
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
l
oc
k
file: u
p
date lifet
i
me
r
e
q
uir
e
ments i
n
documenta
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
tempfile: aut
o
-allocate t
e
mpfiles on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
ef
f
King
t
empfil
e
:
re
m
ove d
e
activat
e
d list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
tempfile: use list
.
h
for l
i
nked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
temp
f
ile: release deactivate
d
strbufs instead of resett
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfile: robustify clean
u
p h
a
n
d
ler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
tempfi
l
e: factor out deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Ki
n
g
te
m
pfile
:
factor out activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempfil
e
: replace die(
"
BUG")
with
BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfil
e
:
h
andle NULL te
m
pfile p
o
inters gracefu
l
ly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempfile: pref
e
r i
s
_
t
e
m
p
file_active to bare access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
l
o
ckfi
l
e: d
o
not rollback lock on failed
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
tempf
i
le: do not de
l
ete
t
e
m
pfile on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
K
ing
always
check return value of cl
o
se_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
verify_signed_b
u
ff
e
r
:
p
r
efer
close_tempfile() t
o
c
l
os
e
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
setup_temporary_
s
hallow: move tempfile struct in
t
o
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
King
se
t
up
_
temp
o
r
a
ry
_
shallow
:
avoid u
s
ing in
a
ctive tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
w
rite_index_as_tre
e
: cleanup t
e
m
p
file on error
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Kin
g
con
f
ig: use a static
l
ock_fi
l
e s
t
ruct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
J
e
ff King
doc
:
fix typo in sendemail
.
identity
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
pretty:
support
normaliza
t
ion options for %(
t
r
ail
e
rs)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
t4
2
05: r
e
factor %(trailers) te
s
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Ki
n
g
p
r
e
tty: move
trailer
f
o
r
ma
t
t
ing to trailer
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff King
in
t
erpret-tr
a
il
e
rs
:
add
-
-pars
e
convenience option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff
Kin
g
interpret-tra
i
ler
s
: add an o
p
t
i
o
n
t
o
u
n
f
old val
u
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
eff King
interpret-trailers: add an optio
n
to s
h
ow only existing
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
interpret-trailers: add a
n
opt
i
on to sh
o
w
o
nly the
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-10
Je
f
f King
t
railer: put process_trailers() options into a struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
sha1_
f
i
l
e: drop experim
e
nt
a
l GI
T
_USE_LOOK
U
P sear
c
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next