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
J
eff Kin
g
tag
:
respect color
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
e
ff K
i
ng
R
e
vert
"
color:
c
heck color
.
u
i
in git_de
f
a
u
lt_config()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "t6006: drop
"
always"
co
l
or c
o
n
fi
g
tes
t
s"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "color: make "alw
a
ys" the same as "auto" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
J
e
f
f
K
i
n
g
diff: fix infin
i
te loop
w
it
h
-
-
col
o
r-move
d
--
i
g
n
o
re
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff Ki
n
g
writ
e
_entry: unta
n
g
le symlink an
d
regul
a
r-file cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
wri
t
e_
e
nt
r
y:
a
void rea
d
ing blobs
in
C
E_RETRY
c
a
se
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff
Kin
g
write_entry: fi
x
leak
w
h
e
n ret
r
ying delayed filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
refs_resolve_ref_un
s
afe: handl
e
d/f co
n
flicts for wri
t
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jef
f
King
t3308:
c
r
eate a real ref directory/file conf
l
ic
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff Kin
g
sha1
_
loo
s
e_object
_
info: han
d
le errors from unpack
_
sh
a
1_
r
est
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
path
.
c: fix u
n
in
i
ti
a
l
i
zed memory access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7301: use test_terminal to c
h
eck color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t
4
015: u
s
e --c
o
lor with
-
-
c
o
l
or-
m
oved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
co
l
or: make
"
always
"
t
h
e
sam
e
as
"auto" i
n
config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
provide --col
o
r option for all
ref-fi
l
ter users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
ef
f
King
t
320
5
: use --color instead of color
.
branch
=
always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f King
t3203
:
drop
"
alway
s
" color test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t6006: drop "always"
color confi
g
t
e
s
ts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t7502:
us
e
diff
.
noprefi
x
for
--verb
o
se test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7508: use test_te
r
mi
n
al f
o
r color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3
7
01: u
s
e test-t
e
rminal
t
o
coll
e
c
t
co
l
or outp
u
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t40
1
5: pr
e
fer --co
l
or to -c color
.
diff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
test-terminal:
set TERM=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
git: add --no
-
optional
-
locks o
p
ti
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
v
a
lidat
e
_headref: use ge
t
_oid_hex
f
or detached H
E
A
Ds
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_hea
d
ref: use skip_
p
refix for symref parsin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_headref
:
N
U
L-te
r
minate HEAD bu
f
fe
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
work
t
r
ee: c
h
ec
k
the result of read_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
work
t
ree: use
xsize_t t
o
access file s
i
ze
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
disti
n
guish e
r
ror versus
short read fro
m
rea
d
_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
a
v
oid looking at errno for
s
hort rea
d
_in_
f
ull() returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
prefer "!=" wh
e
n checking read_in_fu
l
l
(
)
result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
notes-merge: d
r
o
p dead
z
ero-
w
rite code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
f
i
les-backend: prefer
"0"
f
or
w
rite_in_full() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff Ki
n
g
doc: put li
t
eral block delimiter
a
r
ound tab
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
con
s
istently use "fallthrough" comme
n
t
s
in swit
c
hes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Kin
g
curl_trace(): eliminate
s
w
itc
h
f
a
llthrou
g
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
King
test-li
n
e
-
buffer: simpl
i
f
y
command
p
a
rsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
King
cat-file: ha
n
dl
e
N
ULL object
_
context
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revision: replace
"s
t
ruct cmdline_pa
t
hspe
c
" with argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
e
f
f King
r
ead_info_alternates: war
n
o
n non-trivial erro
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_
i
n
f
o_
a
lternates: read contents into s
t
rb
u
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
prefix_
r
ef_
i
terator: break wh
e
n we leave the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
r
e
ad
_
pack_header:
handle s
i
gne
d
/unsign
e
d co
m
parison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
config:
flip return val
u
e of
store_write
_
*(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
note
s
-mer
g
e
: use ssize_t for write_in_fu
l
l
(
)
return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pkt-line: ch
e
ck write_in_full
(
) errors
a
gains
t
"< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
conve
r
t less-trivi
a
l ve
r
sions o
f
"wr
i
te_
i
n_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff King
a
void "
w
rite_in
_
full(fd, buf, len) != len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
get
-
tar-commit-id: chec
k
w
r
ite_in_fu
l
l() return aga
i
nst 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
c
o
nfig: avoid "write
_
i
n
_full(fd
,
bu
f
,
len)
<
le
n
" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
eff Kin
g
cv
s
import: shel
l
-
quote variable
u
sed in backt
i
c
ks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jef
f
King
a
r
chimport:
u
s
e safe_pipe
_
capture for
u
s
er input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
shell: d
r
op git
-
cvs
s
erver support by
default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
shortlog: skip format/pa
r
se roundtrip for internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
add U
N
LEAK annota
t
i
on for reducing
leak false positiv
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff
Ki
n
g
git_
e
xtrac
t
_argv0_path:
do nothing without
RUNT
I
M
E
_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jef
f
K
i
n
g
sys
t
em_path: move
R
UNTIME_PRE
F
IX to a sub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
rev-parse: don't trim bisect
r
efnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
K
i
n
g
set_git_dir: handle feeding gi
t
dir to
i
ts
e
l
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Kin
g
repository: free fields before overwriting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
K
i
n
g
reset: free allocat
e
d tree
buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
reset
:
make tr
e
e c
o
u
n
tin
g
less confusi
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
config
:
plug us
e
r_con
f
ig leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
update-in
d
ex: fix cache entr
y
l
e
ak in add_
o
ne
_
file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: fr
e
e leak
e
d path
s
pec afte
r
a
d
d_files_
t
o_
c
ache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
est-lib
:
set LSAN_OPTIONS to abo
r
t
b
y
de
f
ault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
tes
t
-lib: --valgrind should not override --verbose
-
log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
stop leaking lock
structs i
n
some simple case
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
King
ref_lock
:
stop lea
k
ing
l
ock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
lockfile: u
p
d
a
te lif
e
time req
u
irements in documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfile:
a
u
t
o-all
o
cate tempfiles
on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: remove deact
i
v
a
t
ed li
s
t entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
te
m
pfile:
u
se list
.
h
for l
i
n
k
e
d
list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f Kin
g
t
e
mpfile: release deactiv
a
t
e
d st
r
bu
f
s inst
e
ad of
r
esetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
fil
e
: robusti
f
y cleanup handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempfi
l
e:
factor out deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
K
ing
tempf
i
le: factor out activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: repla
c
e
d
ie
(
"
B
UG")
with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tempfile: h
a
nd
l
e
NU
L
L tempfile p
o
i
n
te
r
s
grac
e
fully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: pref
e
r is
_
t
e
m
pfil
e
_active to bare ac
c
ess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
lockfile: do not ro
l
lb
a
ck
l
ock
o
n fai
l
e
d
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile
:
do not
d
el
e
te
t
emp
f
ile on f
a
il
e
d
c
lose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Ki
n
g
always check r
e
turn value of
c
lose_temp
f
ile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
ef
f
King
ver
i
fy_signed_buffer: prefer close
_
t
empfi
l
e
(
) to close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
i
ng
setu
p
_temporary_shallow: move tempfile stru
c
t in
t
o
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup_t
e
mporary_shallow: avoi
d
usin
g
i
n
active
t
e
mpfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
writ
e
_inde
x
_as_tree:
cleanup t
e
mp
f
ile o
n
e
rror
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
co
n
fig: use a
st
a
tic lock_file
s
truc
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
Jeff King
d
oc: f
i
x typo
in
sendemail
.
i
d
entity
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Kin
g
pre
t
t
y
:
support normalizatio
n
o
pti
o
ns for %(trail
e
rs)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Kin
g
t
4205:
r
e
f
ac
t
o
r
%(trailers) tes
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jef
f
King
pretty: move trailer forma
t
ting to
t
railer
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff K
i
ng
interpret-trai
l
er
s
: add --parse conven
i
en
c
e
option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff K
i
ng
interpr
e
t-trailers: add an option to unfold values
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Ki
n
g
i
n
t
erpret-trailers: add an option to show o
n
ly existing
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff King
i
n
t
e
rpret
-
tra
i
lers: add an
option
to show on
l
y the
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-10
Jeff King
trailer
:
p
ut process_trailers() options into a struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff
K
i
ng
s
h
a1_f
i
le: dro
p
ex
p
erimental GIT_U
S
E_LOOKUP s
e
arch
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next