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 'jm/relnotes-2.15-typofix' into maint
2017-11-03
Jef
f
King
setu
p
: avoid doub
l
e slashe
s
when lo
o
kin
g
f
o
r
H
EAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f K
i
ng
w
orktree:
h
an
d
le broken symref
s
in find
_
s
h
ared_symref()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
log: handle b
r
oken HEAD in decora
t
ion check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
remote: h
a
ndle br
o
ken symrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
test-ref
-
store: avoid passing NULL to printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff King
diff: h
a
n
d
le
N
ULs
i
n get_st
r
ing_h
a
sh()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
diff: fix whitespace-sk
i
pping
w
it
h
--
c
o
l
or-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
t40
1
5
:
test the outp
u
t
of "di
f
f --color-moved
-b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: check "ne
g
a
ti
v
e
" cas
e
for "-w --col
o
r
-
mo
v
ed"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
Kin
g
t4015: refactor --color-moved whitespace test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
tag: respect color
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff Ki
n
g
Revert "colo
r
: check c
o
l
or
.
u
i in git_d
e
fa
u
l
t_co
n
fig()
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Rev
e
rt "t6006
:
drop "always"
color co
n
fig tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
R
evert "c
o
lor: make "alway
s
" the
s
ame as "a
u
to
"
i
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
d
i
ff: fix infinite loop with --
c
olo
r
-moved --ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff Ki
n
g
write_entry: untangle symlink and regular-fil
e
cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff
Ki
n
g
write_entry:
a
vo
i
d reading bl
o
b
s
in C
E
_R
E
TRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
w
r
ite_entry: fix lea
k
when
r
etrying delay
e
d
filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff
K
ing
refs_resolve_ref_uns
a
fe: handle d/f conflicts for wri
t
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t330
8
:
c
r
eate a real ref directory/file conflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sh
a
1
_loose_ob
j
ect_info: handl
e
errors from unpack_sha1_r
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
path
.
c:
fix uninitializ
e
d memory acces
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t7301: u
s
e te
s
t
_
t
erminal to check c
o
lor
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t40
1
5: use --color with --color-mov
e
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
color: make "alwa
y
s
"
t
h
e same as "aut
o
" in con
f
ig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provide --
c
o
l
or op
t
ion for
a
l
l
ref-
f
ilt
e
r
u
s
e
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3205:
u
se
-
-
c
olor instead
of
color
.
bran
c
h=al
w
ays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
3
203: drop "always"
co
l
o
r
tes
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t6006
:
d
r
op "al
w
ays" color config tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f K
i
ng
t7502: u
s
e
diff
.
noprefix fo
r
--v
e
r
b
o
s
e
tes
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
7
508: us
e
test
_
termina
l
for c
o
lor output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
t3
7
01: us
e
test-te
r
m
in
a
l
to collect color o
u
tput
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t40
1
5: prefer
--col
o
r to -
c
colo
r
.
diff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t
e
s
t-t
e
rminal:
s
et TERM=
v
t100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
gi
t
: add --no-optional-locks opt
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
validate_he
a
d
ref
:
use g
e
t_o
i
d_
h
ex f
o
r
de
t
ached HEA
D
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
v
a
lidate_headref: us
e
s
kip_pr
e
fix for sy
m
ref
parsi
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
validate_h
e
adr
e
f:
NUL-terminate HEAD b
u
ffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
w
orktree: check the result of read_in_full
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
w
o
r
ktree: use xsize_t
to access
f
i
l
e s
i
ze
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
distin
g
uish e
r
ror versus short rea
d
fr
o
m read_i
n
_full(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
a
void l
o
o
k
i
ng a
t
errno for
short re
a
d_in_fu
l
l
(
) returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
pr
e
fe
r
"!
=
" when checking
read_in_full() resul
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Je
f
f King
notes-merge
:
drop dea
d
zero-write cod
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Kin
g
files-b
a
cke
n
d:
p
refer "0" for write_in
_
f
ull() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
J
ef
f
King
d
oc: put
l
iteral
blo
c
k
delimite
r
ar
o
un
d
table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff K
i
ng
c
o
n
s
i
s
t
ently use "f
a
llthroug
h
" commen
t
s in switch
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Ki
n
g
curl_trace(): elimi
n
ate switch fallthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
ing
tes
t
-line-bu
f
fer: simplify comman
d
parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
King
ca
t
-file: han
d
le NULL object_context
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revis
i
o
n
: repla
c
e "st
r
uct cmd
l
ine_pat
h
sp
e
c" wi
t
h ar
g
v_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff
King
r
e
ad_info_alternat
e
s: warn on no
n
-tri
v
ia
l
error
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jef
f
King
re
a
d_info_alt
e
rn
a
tes: read contents into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f K
i
ng
prefix_ref
_
itera
t
or
:
break
w
h
e
n we leave the p
r
efix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
read_pack_header:
h
andle si
g
ned/u
n
signed compa
r
ison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff King
config:
f
lip return
v
alu
e
of
s
tore_w
r
it
e
_*
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
no
t
es-merge: use ssi
z
e_t f
o
r
write_in_ful
l
() ret
u
rn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pkt-line: che
c
k write_in
_
full()
e
r
r
o
rs against "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
n
g
co
n
ve
r
t less-t
r
iv
i
al
versions of
"write_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid "w
r
ite_in_full(fd, buf, len) != l
e
n" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
K
i
ng
get-tar-commit-id: check wr
i
te_in_f
u
l
l() return
ag
a
inst 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
c
o
n
f
i
g
: avoid "write_in
_
full(f
d
, buf, l
e
n) < len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jef
f
K
i
ng
cvsimport
:
shell-quot
e
var
i
a
b
le used in backticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
King
archimport: use safe
_
pipe_captur
e
for
us
e
r input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
sh
e
ll: drop gi
t
-cvsserver
s
u
p
p
o
rt b
y
default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff Ki
n
g
shor
t
l
o
g
: skip f
o
rmat
/
parse ro
u
ndtri
p
for internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jef
f
King
add UNLEAK annot
a
tion f
o
r reducing leak false
p
ositives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Je
f
f Ki
n
g
git_extract_argv0_path
:
do not
h
ing wit
h
out RUN
T
IME_P
R
EFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff
King
system_
p
a
t
h: move
RUNTIME_
P
REFIX
t
o a sub-functio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
rev-pa
r
se:
d
on'
t
trim bisect
r
efn
a
m
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set
_
git_d
i
r: handle feed
i
n
g gitdi
r
to itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
r
e
p
osit
o
ry: fr
e
e fields
b
efore
overwriting the
m
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
re
s
e
t
: free
alloca
t
ed tree
buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
reset: ma
k
e
t
r
ee
c
ountin
g
less co
n
fusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
co
n
fi
g
: plug
u
s
er_config
leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
updat
e
-index:
f
i
x cache entr
y
l
e
a
k in add
_
one_fil
e
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: free leaked pathspec
afte
r
add_files_to_
c
ache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
t
e
st-lib: se
t
LSAN_OPTIO
N
S to abort b
y
d
e
fault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
test-lib
:
--v
a
lgrind sho
u
ld not over
r
ide --verbos
e
-
l
og
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
stop l
e
aking l
o
c
k
struct
s
i
n
some simple
c
ases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_lock
:
s
t
op l
e
aking lock_
f
i
l
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
l
o
c
kf
i
le:
u
p
d
ate l
i
fetim
e
r
equireme
n
ts in docu
m
entati
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
m
p
fi
l
e:
a
ut
o
-allocate
tempf
i
les on he
a
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempfi
l
e: r
e
move de
a
ctiv
a
ted list
entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempfile: use lis
t
.
h for
lin
k
ed list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfil
e
:
release
d
eactivated strbufs instead of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
n
g
temp
f
ile
:
robus
t
i
fy clean
u
p hand
l
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfil
e
: factor out de
a
c
t
iv
a
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: facto
r
o
ut a
c
tivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
m
pfi
l
e
:
replace die("BUG")
with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: handle NULL tempfil
e
pointer
s
gr
a
cefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
t
emp
f
ile:
p
ref
e
r is
_
te
m
pfile_act
i
ve t
o
bare a
c
cess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfi
l
e: do
n
ot
r
ollback lock on failed cl
o
se
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfile: do not del
e
te tempfile on fail
e
d close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
alway
s
check
return value
o
f c
l
ose
_
t
e
mpfil
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Ki
n
g
ve
r
ify_sign
e
d_buffe
r
: prefer close_temp
f
ile() to clo
s
e()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setu
p
_temporary_shallo
w
: move tem
p
fi
l
e
s
t
ruct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
setup
_
tempo
r
ary_sha
l
lo
w
: avoid u
s
i
ng inactive tem
p
file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
w
ri
t
e_index_as
_
t
r
ee:
cleanup
t
e
mpfile on er
r
or
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config: u
s
e a sta
t
ic lock_
f
ile struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next