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
Merge branch 'ma/reduce-heads-leakfix'
2017-11-03
J
e
ff
K
i
n
g
setup: a
v
oid double slashes when looking for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
w
o
rktree:
h
andle broken symrefs
i
n find_
s
hare
d
_s
y
mr
e
f(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
lo
g
:
h
andle b
r
oke
n
H
E
AD in
dec
o
ration chec
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
i
ng
remote:
h
a
n
dle
b
rok
e
n s
y
mrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
t
est-ref-
s
tore: avoid
p
assing NU
L
L to prin
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
d
i
ff: handl
e
NULs in ge
t
_stri
n
g_ha
s
h()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
di
f
f: fix whit
e
sp
a
ce-skipping with --col
o
r-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
i
n
g
t4015: test the
o
u
tput of "diff --color-moved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t
40
1
5: c
h
eck "
n
eg
a
tive" case for "-
w
--colo
r
-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff King
t4015: refactor --color-moved whi
t
espace test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff Kin
g
t
ag: respect col
o
r
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
K
ing
Revert "
c
olor: check color
.
ui i
n
git_default_config()
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff Ki
n
g
Revert "t600
6
:
dr
o
p "always" col
o
r config te
s
ts"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Re
v
ert "c
o
lor: m
a
ke
"alway
s
" the same as "auto" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
J
eff King
d
i
ff: fix
i
nfinite loop with --col
o
r-moved --ignor
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
Jeff King
revision: q
u
it prunin
g
diff more qu
i
c
kly
when possible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff King
writ
e
_entry: un
t
angle s
y
mlink a
n
d regular
-
file cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Je
f
f King
writ
e
_entry
:
a
void reading blobs
i
n
CE_RETRY ca
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
writ
e
_entry: fi
x
leak w
h
en
retrying del
a
yed filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jef
f
King
refs_re
s
o
l
ve_ref_unsafe: handle d/f co
n
flicts for writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t
3
308: create a real ref directory/file
c
onflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sha1_loose_ob
j
ect_info: handle error
s
from
unp
a
ck_sh
a
1_
r
e
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f
King
path
.
c: fix uninit
i
a
lized memory access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t
7
30
1
: use te
s
t_terminal to check color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
Kin
g
t4
0
15: use -
-
color wit
h
--color-
m
oved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
color:
m
a
k
e
"always" the s
a
me as "auto" i
n
con
f
ig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
i
ng
provi
d
e --co
l
or option for
a
ll ref-f
i
lte
r
users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3205: use --colo
r
i
n
stead of color
.
b
r
a
n
ch=a
l
way
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
t
3
203: drop "alwa
y
s"
c
ol
o
r
t
est
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t60
0
6: drop "always
"
col
o
r con
f
ig tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f
K
ing
t7502: use diff
.
n
oprefix
for --
v
erbose test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7508
:
use te
s
t
_
term
i
nal for color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3701: use t
e
st-terminal to collect color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t40
1
5
:
p
refer --col
o
r to -
c
c
olor
.
diff=al
w
ays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
tes
t
-terminal: se
t
TERM=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
git: add --no-optional-
l
ocks
o
ptio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_headref: u
s
e get_oid_
h
ex for detac
h
e
d HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
val
i
d
a
t
e_headref
:
use s
k
ip_pr
e
fi
x
for sy
m
ref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
validate_headref: NU
L
-termi
n
ate
H
E
AD buff
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
w
o
rktree:
che
c
k
the r
e
sult
o
f read_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
wo
r
ktree: use
x
s
i
ze_t to access file size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
distinguish error versus short read from rea
d
_
i
n
_
full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
avoi
d
looking a
t
e
rrn
o
for
short read_in_full() returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
prefer "
!
=" when
chec
k
ing read_in_full() r
e
sul
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Kin
g
notes-me
r
ge: drop dead zero-wri
t
e
c
ode
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
files-ba
c
ke
n
d:
prefe
r
"0"
f
o
r write_in_full() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc:
p
ut literal bl
o
ck
delimiter
around table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
con
s
istently use "f
a
llt
h
rough" com
m
ent
s
in s
w
itches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
eff King
c
url_tra
c
e(): e
l
iminate
sw
i
tch f
a
l
l
th
r
ough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
test-
l
ine-buffer: s
i
m
p
lify command parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
cat-file: hand
l
e NUL
L
object_conte
x
t
.
p
ath
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
r
ev
i
sion: replace "struct
c
m
dl
i
ne_pat
h
s
p
e
c" with argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
eff Kin
g
read_info_altern
a
tes: wa
r
n
on non-trivi
a
l errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Je
f
f K
i
n
g
read_in
f
o_alternates: re
a
d
contents
into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pr
e
fix_ref_
i
terator: break w
h
en w
e
leave the p
r
efix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
re
a
d
_
pack_
h
e
ade
r
: handle signed/unsigned compari
s
on
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
confi
g
: flip return value o
f
store_
w
rite_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
Ki
n
g
note
s
-m
e
rge: use ssize_t
for writ
e
_in_full() return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
p
k
t
-
line: c
h
ec
k
write_in_full() errors again
s
t "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff King
conve
r
t less-
t
ri
v
ia
l
versions
o
f
"
write_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid "write
_
in_full(fd, buf, len) != le
n
" p
a
ttern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
g
e
t-tar-commit-id: check w
r
ite_in_full(
)
ret
u
r
n
a
gainst 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
confi
g
: avoid "write_in_fu
l
l(fd, buf, len) <
l
en" patte
r
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
e
f
f
Ki
n
g
c
vsimport
:
s
hell-
q
uote variable
used in back
t
ic
k
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Kin
g
arc
h
impo
r
t: use
s
afe_p
i
pe_c
a
pt
u
re
for use
r
i
nput
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
shell: drop git
-
cvsserve
r
sup
p
or
t
by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff K
i
ng
shortlog: skip
format/parse
r
oundtrip for internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff
K
ing
add
UNLEA
K
a
n
notation
f
or
reduc
i
ng leak
f
a
l
s
e
posit
i
ves
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_e
x
tr
a
c
t_argv0_path:
do nothin
g
without RUNTIME
_
PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system_path: move RUNTIME_PREF
I
X to
a sub
-
fun
c
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
ef
f
King
rev-parse: don't
trim bisect
r
e
f
n
ames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
Kin
g
se
t
_git_dir: handle feed
i
ng gitdir
t
o
i
ts
e
lf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
repos
i
tory:
f
ree field
s
before ove
r
w
riting th
e
m
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
reset: f
r
ee allocate
d
t
ree buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
e
set: make
t
ree coun
t
i
n
g less c
o
nf
u
sing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Ki
n
g
config: plug
u
ser_c
o
nfig le
a
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
up
d
ate-index: fix cache entry leak in
ad
d
_one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
K
i
ng
add: free leaked pathspec after add_files_to_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
test-lib: set LSAN_OPTIONS to abort by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-lib: --
v
algrind should
n
ot overr
i
d
e --verbos
e
-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
stop leaking lock structs in some simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
re
f
_lock: s
t
op lea
k
i
ng lock
_
files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
King
l
o
c
kfile: update lifetime requirements
in
d
ocumentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
tempfile: auto-allocate t
e
m
p
files
on h
e
ap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: remov
e
d
e
activated list
entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfil
e
:
u
s
e list
.
h fo
r
l
inked
l
i
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempf
i
l
e: release
d
e
activated strbufs instead
o
f r
e
set
t
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile:
r
obustify cleanup
h
a
n
dler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: f
a
ctor out deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Ki
n
g
temp
f
il
e
: fa
c
tor
out ac
t
ivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
temp
f
ile: replace die("
B
UG
"
) w
i
t
h BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: hand
l
e
N
U
L
L tem
p
file po
i
nters gr
a
c
efully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
em
p
file
:
prefer is_tempfile_a
c
tive to b
a
r
e ac
c
ess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Kin
g
loc
k
file: do
not
r
ol
l
back
l
ock o
n
fail
e
d close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f King
tempfile: do not d
e
lete
tem
p
fil
e
on fa
i
l
ed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
always check r
e
turn value of clos
e
_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
v
erify_sig
n
ed_buffer: prefer
c
l
ose_tempfil
e
(
)
to cl
o
se()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup
_
tem
p
orar
y
_sha
l
low:
m
ove
tempfile str
u
ct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
setup_temporary_shallow: avoid u
s
ing inactive tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
write_i
n
dex_as_t
r
ee:
cleanup te
m
p
file
o
n error
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next