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/bisect-leakfix' into maint
2017-11-13
Jef
f
King
link_alt_odb_entries: make
e
mp
t
y inpu
t
a noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
setup: avoid double slas
h
es when look
i
ng for
HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
w
orktr
e
e: h
a
ndle
b
r
o
ken symrefs in find_shared_
s
ym
r
ef()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
f
f
King
log: h
a
ndl
e
broken HEAD in decorat
i
on check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
re
m
ote: handle b
r
ok
e
n
symre
f
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff
K
i
n
g
test-ref-store:
av
o
id pa
s
sing NULL t
o
pr
i
ntf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
diff: handle NULs in g
e
t_string_has
h
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f Kin
g
diff: fix
w
h
i
tesp
a
ce-ski
p
p
i
n
g
with --color-
m
o
v
ed
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
t4015: test the output of "diff --co
l
or-moved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
t4
0
15
:
check "neg
a
tive" c
a
se
for
"
-w --color
-
moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f
K
i
n
g
t4015:
r
efactor --color-m
o
ved whi
t
e
space test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
t
a
g
:
r
e
s
pect c
o
lor
.
u
i config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "color
:
check
color
.
ui in git_defa
u
lt_config(
)
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
King
Revert
"
t
60
0
6
: drop "a
l
ways" color config tests
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Re
v
ert "color: make "always" the sam
e
as "a
u
to" i
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
diff: f
i
x infinite loop wit
h
--color-move
d
--ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff King
w
r
ite_entry: un
t
angle symli
n
k and reg
u
l
ar-file c
a
ses
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
eff King
wr
i
te_entry: a
v
oid
r
eading b
l
obs in CE
_
RETRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
eff King
write_entry: fi
x
l
ea
k
w
h
en retrying delaye
d
filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
refs
_
resol
v
e_re
f
_
u
nsaf
e
: h
a
ndle
d
/f conflicts for writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff Kin
g
t3308: create a real re
f
di
r
e
cto
r
y/file conflic
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sh
a
1_loose_obje
c
t_info: handle
e
rro
r
s from unpack_sha1_r
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
path
.
c: fi
x
u
n
initi
a
liz
e
d
m
e
m
o
ry access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
7301: use t
e
s
t_te
r
minal
to chec
k
color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t4015
:
u
se --color with --color-move
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
color
:
make "alw
a
ys"
t
h
e same as
"a
u
to" in co
n
fig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provide -
-
color option for
a
ll ref-filter users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t
3
205: use
-
-color instead of co
l
o
r
.
branch=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3
2
03: drop "a
l
ways" co
l
or t
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
i
n
g
t6006: drop "a
l
ways" color conf
i
g
tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t7502: use dif
f
.
noprefix
f
or --verbos
e
test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7508:
u
se test_termi
n
al for
color outp
u
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t
3
701: us
e
test-t
e
rminal to collect
color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t4
0
15:
pre
f
er
-
-color to
-c c
o
lor
.
d
i
ff
=
always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
te
s
t
-
term
i
nal
:
set TERM=v
t
100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
git: add --no-optional-locks option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
va
l
idate_headref: u
s
e get_oid_hex for detache
d
HE
A
D
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
valid
a
te_hea
d
r
ef: use ski
p
_
p
refix
for symref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
validate_headr
e
f: N
U
L-terminat
e
HEAD buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
w
orktree
:
check
the result o
f
rea
d
_in_full(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
workt
r
ee
:
us
e
xsize_t to
access fi
l
e size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
K
ing
distinguish
e
rror versu
s
short
r
ead from read_in
_
fu
l
l
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
avoid
l
o
o
k
i
ng at
e
rrno for short
re
a
d_
i
n_full
(
) retur
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
pre
f
er "!=" when ch
e
c
king read_in_ful
l
() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
not
e
s-m
e
rge:
d
rop dead zero-wri
t
e code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff
K
i
n
g
files-bac
k
end: prefer "0"
fo
r
write_in_
f
ull() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc: put liter
a
l b
l
oc
k
de
l
imiter around table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
co
n
siste
n
tl
y
use
"
fallthrough" comments in switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
curl_trace():
eliminate switch fall
t
hrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff K
i
n
g
test-l
i
ne-buffer
:
simplify c
o
m
m
a
nd parsi
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Ki
n
g
cat-file: handle NULL object_co
n
t
e
xt
.
p
at
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff
K
in
g
revision: r
e
plac
e
"struct cmdline_pathspec" with
ar
g
v_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
e
ff King
read_inf
o
_alternat
e
s: warn on non
-
t
r
ivial e
r
rors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_alterna
t
es: re
a
d contents into st
r
b
u
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
prefix_re
f
_
iterato
r
: br
e
ak when we
l
eave the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
read
_
pa
c
k_header: handle signed/unsign
e
d comparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: fli
p
re
t
urn value of
s
to
r
e_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
no
t
e
s-merge: use ssize_t for write_in_fu
l
l() return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
p
k
t-l
i
ne
:
c
h
eck write_
i
n
_ful
l
() errors against "
<
0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
c
o
n
vert l
e
ss-trivial versions of "write_in_full
(
)
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
i
ng
avoid "write
_
i
n
_
f
ul
l
(
f
d, b
u
f
, len)
!= len
"
patter
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff King
get
-
t
a
r-comm
i
t-id: check w
r
ite
_
in_full() retur
n
against 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config:
avoid "write
_
in_full(fd,
b
uf, le
n
)
<
len"
p
a
t
t
ern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cvsimport:
s
hell
-
quote
v
ariable used
i
n backticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f Ki
n
g
a
r
c
himpo
r
t: use safe
_
p
i
p
e_capture for u
s
er
in
p
ut
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
e
ff King
shell: drop git-cvsserver
support by defau
l
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff King
shortlog: skip format/parse round
t
r
i
p for internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff Kin
g
add UNLEAK annotation for reduci
n
g
leak f
a
lse po
s
it
i
ves
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
J
eff
K
in
g
git_extract_a
r
gv0_pat
h
: do nothing
without RUNTIME_P
R
EFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system_path:
move RUNT
I
ME_PREFIX to
a sub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev
-
parse:
don't tr
i
m
bisect refn
a
mes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
K
ing
set_git_d
i
r: h
a
n
d
le fee
d
ing gi
t
dir to itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
repository: free fields befo
r
e overw
r
iting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
res
e
t:
fre
e
allocat
e
d tree buff
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Kin
g
r
eset: ma
k
e tree
c
ounting less
confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
conf
i
g:
plug user_config leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
up
d
at
e
-index: fix c
a
che entry l
e
ak in a
d
d_one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: f
r
ee
l
e
aked paths
p
ec
a
f
t
er
add_files_to_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Ki
n
g
te
s
t-l
i
b: set LS
A
N_OPTIONS to abort by
default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-lib
:
-
-
valgrind sho
u
ld n
o
t override --verbose-l
o
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
stop leakin
g
lo
c
k
struct
s
in some simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_lock: stop leaking lock_file
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: update li
f
etim
e
requiremen
t
s in do
c
umentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile:
auto
-
alloc
a
te tem
p
f
i
l
es
on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
t
e
mpfile: remove
d
eactivated list en
t
ries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
tempfile:
u
se li
s
t
.
h for linked li
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
temp
f
ile: release deacti
v
ated strbufs instead
of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
tempfile:
robustify cl
e
anup handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfil
e
: factor out deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfil
e
: fact
o
r out
a
ctivati
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Ki
n
g
tempfile: rep
l
a
c
e
d
ie("BUG") wi
t
h BUG(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tem
p
file: handle NULL
t
empfile p
o
i
n
te
r
s gracefull
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
tempfile
:
pr
e
fer
is_tempfil
e
_active
t
o ba
r
e ac
c
ess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
l
ockfile: d
o
not
r
ollback lock on failed
clo
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
temp
f
ile: do
n
ot delete t
e
mpfile on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
always che
c
k return value of close_tempfil
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
verify_s
i
gn
e
d_
b
uffer:
p
refer close_tempfile() to
c
lose()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup_temporar
y
_shall
o
w: mov
e
tempfile
s
truct i
n
to
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
s
e
tup_temporary_shall
o
w: avoid using
inact
i
ve tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
wr
i
t
e
_in
d
ex_as
_
tr
e
e: cl
e
anu
p
tempfile on
error
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next