repo.or.cz
/
alt-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 'tz/complete-branch-copy' into maint
2017-11-13
Jeff
K
ing
link_alt_odb
_
entries: make em
p
ty input a noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
J
eff King
s
e
t
u
p
: avoid d
o
uble sl
a
shes
w
hen looking for
HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
worktree: handle broken sy
m
r
efs
i
n find_s
h
ared_symr
e
f()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
log: handle broken HEAD in decorati
o
n ch
e
ck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
re
m
o
t
e:
h
andle
b
r
ok
e
n
symrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
test-ref-store: a
v
oid passing NUL
L
to prin
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
d
if
f
:
h
andle NU
L
s
in get_
s
tring
_
hash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff K
i
ng
diff: fix whitespace-sk
i
p
p
i
n
g with --colo
r
-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: test th
e
output
o
f
"diff
-
-
c
olo
r
-
mo
v
ed -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
in
g
t40
1
5:
check "neg
a
tive" cas
e
for "
-
w
--c
o
lor
-
m
o
ve
d
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff
King
t4015: ref
a
c
t
or --color-moved wh
i
tesp
a
c
e test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Je
f
f
King
tag: respect color
.
ui c
o
nfi
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
eff Kin
g
Revert "co
l
or:
c
heck color
.
ui in
g
it_default_conf
i
g()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "t6006:
d
rop "always" color c
o
nf
i
g t
e
sts"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "
c
olo
r
:
m
a
ke "always" the sam
e
as "auto" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
diff: fix infin
i
t
e
loop
with --color-moved --ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jef
f
Kin
g
wri
t
e_entry: untangle sy
m
lin
k
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_entry: avoid
r
eadin
g
bl
o
bs in CE_RETRY ca
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
e
ff K
i
n
g
w
r
ite_entry: fix leak when retrying del
a
ye
d
filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
ref
s
_r
e
so
l
v
e
_ref
_
u
nsafe: han
d
le d/f confl
i
cts for writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t3308: create a real re
f
directo
r
y/file conf
l
ict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff
King
sha1_loose_ob
j
ec
t
_i
n
fo: handle error
s
from
u
np
a
c
k_
s
ha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
in
g
path
.
c:
f
ix uninitialized memory acc
e
s
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t7301: use t
e
st_termin
a
l
t
o check
color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015:
use --color
w
i
t
h --c
o
lor-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
col
o
r: make "always" the same as "auto" in config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
i
n
g
p
rovide --color
o
ptio
n
for all ref-filter use
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3205: use
-
-color instead
o
f color
.
branch=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3203: drop "always"
color test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t6006: drop "always" color
c
on
f
ig tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7502: use diff
.
n
op
r
e
fix fo
r
--ver
b
o
s
e test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7508: use test_terminal for
c
olor output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t370
1
: use test-ter
m
i
n
al
t
o collect color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t4
0
1
5
: prefer --
c
olor to -c color
.
diff
=
a
l
w
a
ys
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
test-term
i
nal
:
set TER
M
=
v
t100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Kin
g
gi
t
: add --no
-
optional-lo
c
k
s
opt
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
valida
t
e_hea
d
re
f
: us
e
ge
t
_oid_hex
f
or detac
h
ed HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_he
a
d
ref: use skip_prefix for symref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_headre
f
:
NUL-termin
a
te
HEA
D
b
uffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
w
o
rktree: check
t
he res
u
lt of read
_
in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktr
e
e: use xsize_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
f
ro
m
r
ead
_
in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
K
i
n
g
avo
i
d looking at errn
o
fo
r
short read_in_full(
)
r
et
u
r
ns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
prefer "!=" when checking
r
e
a
d_in
_
full() resul
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
notes-merge
:
drop
dead zero-w
r
ite code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff
K
ing
f
i
les-backend: prefer "0" for
wri
t
e_in_
f
ull() e
r
ror
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
d
oc:
p
ut literal block deli
m
ite
r
arou
n
d ta
b
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
consis
t
ently
u
s
e
"fallthrough" comments in swi
t
ch
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
i
n
g
curl_tra
c
e():
e
liminate s
w
it
c
h f
a
l
l
through
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
test-line-buffe
r
: simplify command parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Kin
g
cat-file: handl
e
NULL object_context
.
p
ath
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
J
eff King
revision: replace
"st
r
uct cmdl
i
ne_pathspec" with argv_arr
a
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff K
i
ng
r
e
a
d_info_alternates
:
warn
o
n non-trivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_alt
e
rnates: read co
n
ten
t
s into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
prefix_ref_iterator:
b
r
e
a
k when
w
e
leav
e
the
prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
f
f King
read_pack_header:
h
andle signed/
u
nsigned
comp
a
rison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
c
o
n
f
i
g: flip return value of store_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
notes-mer
g
e:
u
se
s
siz
e
_t for
write_in_full() retu
r
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pkt-line: che
c
k
w
r
i
t
e
_in_full()
e
r
ror
s
against
"
< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
con
v
ert less-trivial
versions
o
f
"w
r
it
e
_in_full(
)
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
a
void "write_
i
n_fu
l
l(fd, buf, len) != len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f
Ki
n
g
get-
t
ar-commit-id: chec
k
w
r
ite_in_full(
)
return a
g
ai
n
st 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
in
g
config: avoid "write_i
n
_full(fd, buf
,
len) < len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Ki
n
g
cvsimpo
r
t
:
shell-quote vari
a
b
l
e used in b
a
ckt
i
c
k
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
archimport:
us
e
safe_pipe_capture fo
r
u
s
er input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
sh
e
ll: drop git-cvsse
r
v
e
r suppor
t
by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
eff K
i
ng
shortlog: skip format/parse roundtrip for in
t
er
n
al
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
add UNLEAK a
n
notatio
n
for
r
educing leak f
a
ls
e
positiv
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_e
x
tr
a
c
t_arg
v
0_path: do nothing without RUNT
I
ME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff Ki
n
g
syste
m
_path:
m
ove RUNTI
M
E_PREFIX to a sub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
n
g
rev-parse: don
'
t
t
rim bisect
r
efnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
se
t
_git_
d
ir: handle fee
d
ing gitdir to
itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reposito
r
y:
f
ree field
s
before
overwriting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Ki
n
g
re
s
et:
f
r
ee al
l
ocated tr
e
e buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset
:
make tree c
o
unting less
c
o
nfusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
c
o
nfig
:
p
lug user_conf
i
g lea
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
u
p
d
ate-i
n
dex: fix
c
ache e
n
t
r
y
leak
i
n
a
dd_one_fi
l
e()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
a
d
d: fr
e
e leaked
pathspec after add_
f
iles_to_cache(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
test-lib: set LSAN_OPTIONS to
a
b
o
rt b
y
default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tes
t
-lib: --valgrind shou
l
d
n
o
t
ov
e
rride --
v
er
b
o
s
e
-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
stop leakin
g
lock
str
u
cts in some si
m
ple
cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
ref_lo
c
k: stop leaking lock_file
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
lockfile: updat
e
lifetime req
u
irements in documen
t
ation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
tempf
i
le:
auto-all
o
cate tempfiles
on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfi
l
e: remove dea
c
tivated list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempfi
l
e: use li
s
t
.
h
for linked l
i
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfile: releas
e
deactivated str
b
ufs instead of
resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
t
e
m
p
fi
l
e:
rob
u
s
tify cleanup handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
temp
f
ile: f
a
c
t
or out deacti
v
ation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tem
p
file: fact
o
r o
u
t activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tem
p
file
:
repla
c
e
die("BUG") with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Kin
g
te
m
p
f
ile:
handle NULL tempf
i
le pointers grac
e
f
u
l
ly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
m
pfil
e
: prefer is_t
e
mpfile_ac
t
ive to b
a
re access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
lockfile: do not roll
b
ack lock o
n
f
a
iled close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tem
p
f
i
le: d
o
not dele
t
e t
e
mp
f
ile on faile
d
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
alway
s
chec
k
r
e
turn
va
l
ue of close_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
v
erif
y
_si
g
ned_buffer: prefer
cl
o
s
e_tempfile() to
c
l
ose()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup_tem
p
orary_shallow: move
t
empfi
l
e struc
t
into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
setup_temporary_shallow: avoid using ina
c
t
ive tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
write_index_
a
s_tree: cleanup tempfile o
n
error
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next