repo.or.cz
/
git
/
gitweb.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Merge branch 'cb/t4201-robustify' into maint
2017-11-13
Jeff King
link_
a
lt_odb
_
entries: make empty input a noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
setup: avoid double sl
a
shes when lookin
g
f
or
H
EAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
w
o
rktr
e
e
: h
a
ndle broken symrefs in fin
d
_shared_
s
y
m
ref()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
log: ha
n
dl
e
b
roken HEA
D
in decorati
o
n
c
h
e
ck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
re
m
ote: handle broke
n
symrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
te
s
t-ref-s
t
ore: avoid passing NULL to printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
diff: handle NULs
i
n get_
s
tring_hash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
dif
f
: fix white
s
pa
c
e-s
k
ippin
g
with
-
-
c
olor-
m
oved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
Kin
g
t4015:
t
est the output of "diff --color
-
moved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: check "nega
t
i
v
e" case
f
o
r "
-
w --colo
r
-move
d
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t401
5
:
r
efactor --c
o
l
or-move
d
whitespace test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
eff
King
t
ag: respect color
.
ui con
f
ig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
e
f
f Kin
g
R
eve
r
t "color: check
c
olor
.
ui in g
i
t_de
f
a
u
lt_config()
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Je
f
f King
R
e
vert "t6006
:
drop "
a
lway
s
" color config te
s
ts"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
R
e
v
e
r
t "color: make "al
w
ays" the same a
s
"auto" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff
King
dif
f
:
fix infinite
loop
with --color
-
move
d
--i
g
no
r
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff Kin
g
write_
e
ntry: untang
l
e symlink and
r
egula
r
-
f
ile
cas
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff Kin
g
w
r
ite_entry: avoid
reading blobs in CE_RETRY
case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
write_
e
ntry:
fix leak when retrying de
l
ayed filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
J
ef
f
K
i
ng
re
f
s_resolve_ref_unsafe
:
han
d
le d/f conflicts
fo
r
writ
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff
K
ing
t3
3
08: cre
a
te a real ref di
r
ectory/fil
e
c
onfli
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sha1
_
loose_object_i
n
fo: handle errors from unpa
c
k_sha1_
r
est
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
path
.
c: fix uninit
i
alized memo
r
y 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
K
i
n
g
t4015: use --color with --color-mov
e
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff Kin
g
c
o
l
or: make "alwa
y
s" the same as "auto"
in
c
o
n
f
ig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
Ki
n
g
pr
o
vide -
-
color option
f
or
all
r
e
f-
f
ilter users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t
32
0
5: u
s
e --
c
o
lor i
n
stea
d
of color
.
branch=a
l
way
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
3
20
3
:
d
r
op "always"
c
olor test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
t6006:
d
rop "always" color c
o
nfig tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
t7502: use
d
iff
.
noprefix
f
o
r --verbose tes
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
750
8
: use test_terminal for c
o
lo
r
out
p
ut
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t3
7
01: use test-terminal to collect color outp
u
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
K
i
ng
t
4
015: p
r
ef
e
r
-
-
colo
r
to -
c
color
.
diff=al
w
ays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
Kin
g
t
est-term
i
n
al: set TERM=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff Kin
g
git
:
a
d
d --no-opti
o
nal-locks
o
ption
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
ef
f
Kin
g
validate_headref: use get_oid_he
x
for detached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
v
alidate
_
headref: us
e
ski
p
_prefix for symref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
va
l
idate
_
h
e
adref:
NUL-termi
n
a
t
e H
E
AD buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktree: check
the r
e
sult
of read_in
_
fu
l
l()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
wo
r
ktree: use xsize_
t
to access file size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
dist
i
ngui
s
h
er
r
o
r
ver
s
us shor
t
re
a
d from read_i
n
_
full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
avoid l
o
oking at errno
f
or short
r
ead_i
n
_full()
return
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
prefer "!=" when checking rea
d
_in_full
(
) result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Kin
g
notes-mer
g
e
:
drop dead zero-write co
d
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
fi
l
es
-
backend: prefer "0" for
write_in_
f
ul
l
()
error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc: put litera
l
b
lock de
l
imiter a
r
o
und t
a
ble
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
ing
consistently
u
se "fallthrou
g
h" co
m
m
ents in s
w
itches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
c
url_trace(): eliminate
switch fallthroug
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f
Ki
n
g
test-line-buffer: simplify command parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
ef
f
King
cat-file: handle
N
ULL object_context
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Je
f
f King
r
evision: replace "struct
cmdline_pa
t
hspec" w
i
th argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_a
l
ternates: warn on non-trivial
e
rrors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_alt
e
rnates: read contents into str
b
uf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
prefix_r
e
f_iter
a
tor: b
r
eak
w
hen we leave t
h
e prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
read_pack_he
a
der: hand
l
e signed/unsigned comparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
config:
f
lip return value
o
f store_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
notes-mer
g
e: us
e
ssize_t for write_in_full() retur
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
K
ing
p
kt-line: check writ
e
_
i
n_
f
ull() er
r
ors against "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
c
onver
t
l
e
ss-tri
v
i
a
l versions of "write
_
in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid "wri
t
e
_
in_f
u
ll(fd, buf, len) != len
"
patt
e
rn
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
get-tar-commit-id: chec
k
write_i
n
_
full
(
)
retur
n
against 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
co
n
fig: avoid "w
r
it
e
_in_full(fd, buf, le
n
)
< len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cvsimport: shell-quote vari
a
ble used in backti
c
ks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Ki
n
g
a
r
c
h
import: use safe_pip
e
_capture for user in
p
ut
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
e
ff King
shel
l
: drop git-cvsserver
s
upp
o
rt by defa
u
lt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff
K
i
n
g
sh
o
rtl
o
g: skip fo
r
mat/
p
arse
r
oundtrip for internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
f
f King
add UNLEA
K
annot
a
tion for red
u
cing le
a
k false positive
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff Ki
n
g
git_extract_argv0_pa
t
h: do n
o
t
h
ing w
i
thout RUN
T
IME_PR
E
F
I
X
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system_path: move
RU
N
TIM
E
_PREFIX to a sub-func
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev-pars
e
: don't
trim bisec
t
refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_git_dir: handle feeding g
i
tdir to itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
rep
o
sitory: fre
e
fields
before ove
r
w
r
iting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
res
e
t:
free alloca
t
ed tree
bu
f
fers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
reset: make tr
e
e c
o
unt
i
ng
le
s
s c
o
nfusin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
con
f
ig: plu
g
user
_
config
l
e
ak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
update-inde
x
: fix cache entry leak in
add_one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: free lea
k
ed pathspec afte
r
add_file
s
_to_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
st-lib: set LSAN_OPTIONS to abo
r
t by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
test-lib
:
--valgrind s
h
ould
not ove
r
r
id
e
-
-
v
er
b
os
e
-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
s
t
op leaking lock s
t
ructs in some simple
case
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
ref
_
lo
c
k
:
s
top lea
k
in
g
lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile:
update lifetime r
e
quir
e
ments in docum
e
n
tation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfi
l
e
: auto-all
o
ca
t
e tempfiles
on
h
eap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
tempfile
:
remov
e
de
a
ctivated list e
n
tries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
te
m
pfile: use list
.
h fo
r
linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
m
p
f
ile: release
d
eactivate
d
strbufs i
n
stead of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfile: robu
s
tify cleanup
h
an
d
le
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
i
ng
t
e
mpfile:
fac
t
or o
u
t
d
e
a
ctiva
t
io
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tempfile
:
fa
c
tor out activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f K
i
ng
t
e
mpfile
:
replace die("BUG") wit
h
BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
t
emp
f
ile: h
a
ndle
NULL tempfile pointe
r
s gracefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempf
i
le: prefer is_tempfile_active to
b
a
re acce
s
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: do not rollback lock on failed cl
o
se
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempf
i
le: d
o
not delete tempfile o
n
f
ailed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
a
l
w
ay
s
ch
e
ck re
t
urn v
a
lue of c
l
os
e
_t
e
mpfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
v
erify_signed_buff
e
r:
p
refer c
l
ose_te
m
pfile() to clo
s
e(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
setup_tempor
a
ry_sha
l
low:
m
ov
e
tempfile struct
into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup
_
temporary_shallow: avoi
d
using inactive tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
write_ind
e
x_as_tree: cleanup temp
f
ile on
e
r
r
or
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next