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 'jc/t5601-copy-workaround'
2017-10-21
J
ef
f
King
worktre
e
:
h
andle broken symr
e
fs i
n
fin
d
_
s
hare
d
_symref()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
log: handle br
o
k
en HEAD in decor
a
tion check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
r
emote: handle brok
e
n
s
ymrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
test-ref-store: avo
i
d passing NULL t
o
printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
diff: hand
l
e
NULs in g
e
t_string_ha
s
h()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
diff: fix whitespace-
s
k
ipping
w
ith --color-mov
e
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
t4015: t
e
st t
h
e output of "
d
iff --color
-
moved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t
4
015: check "negative" case for
"-w --color-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
t4015
:
r
efacto
r
--color-
m
oved whitespace t
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
e
ff King
tag: res
p
e
c
t col
o
r
.
ui
config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Rever
t
"color: check color
.
ui in git_de
f
a
u
lt_c
o
n
f
i
g
(
)"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Je
f
f King
Rev
e
rt "t
6
006: drop "a
l
ways" c
o
lor config tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
e
ff King
Rever
t
"color: make "always
"
the same as "a
u
to" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
diff: fi
x
infin
i
te
loop with --color-moved --
i
g
n
o
r
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
J
ef
f
King
revision: quit pr
u
ning
d
i
f
f more quic
k
ly
when po
s
s
ible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff Ki
n
g
write_ent
r
y:
u
ntangl
e
symlink
a
nd r
e
gular-file cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jef
f
K
ing
wri
t
e_entry: avoid reading bl
o
bs in CE_RETRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
write_entry: f
i
x
lea
k
w
hen
r
etrying delayed
filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
re
f
s_resolve_ref_unsafe
:
handle d/
f
c
onflicts for writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
J
eff K
i
ng
t3308: create a real
r
ef directory/fil
e
conflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sh
a
1_loose_
o
bject_in
f
o: ha
n
dle errors from
u
npack_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff
K
i
n
g
path
.
c: fix uninitialized memo
r
y access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t7301: use test_terminal to
c
he
c
k color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015:
use --color with --c
o
lor-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
c
olor: make "always" the 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
o
r option
fo
r
al
l
ref-f
i
l
ter users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
ef
f
King
t32
0
5: use
--color
instead
of
color
.
branch
=
a
l
ways
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f Kin
g
t32
0
3
: drop "always" color t
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t6
0
06: drop "
a
lwa
y
s" color config tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff Kin
g
t7502: use diff
.
noprefix for -
-
v
e
rbose test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
7508
:
use test_terminal for color o
u
tput
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
3
7
0
1: use tes
t
-te
r
minal to col
l
ect color out
p
ut
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t
401
5
: prefer
-
-color to -c c
o
lor
.
diff=al
w
ays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
test-termi
n
al: set TERM
=
vt10
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
g
it: add --n
o
-optional-locks
o
p
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f K
i
ng
v
a
lidate_headref:
u
se get_oid_hex for
d
etached H
E
A
D
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
vali
d
a
te_headref:
u
se
s
k
ip_pr
e
fix for symr
e
f
p
arsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
f
f
King
val
i
date_h
e
adref:
N
UL-
t
er
m
inate HEAD buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktree:
check the
r
esul
t
of re
a
d_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff K
i
ng
wor
k
t
r
ee
:
u
se
x
size_t to access
file
s
ize
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
d
i
s
tin
g
uish
e
r
ror versus short read
f
rom read_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
avoid look
i
ng at errno for short read
_
in_
f
u
l
l() returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
p
refe
r
"!=" when
checking read_in_full
(
) result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jef
f
King
notes
-
merge: drop d
e
ad zero-write code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Je
f
f
King
files-backe
n
d: pre
f
er "
0
"
for write_in_full(
)
error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc: put l
i
t
e
ral block
delimit
e
r around table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Kin
g
consistently use "fa
l
l
t
hrough" comments in
s
w
i
t
c
hes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f Ki
n
g
cur
l
_tra
c
e
(
): eliminate
s
w
itch fall
t
h
rough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
ing
tes
t
-li
n
e-buffer: simplify
c
o
mmand
p
a
rsin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
cat-file:
handl
e
NUL
L
object_context
.
p
a
th
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
r
evi
s
ion: replace
"s
t
ruct cm
d
line_pathspec"
w
ith argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_in
f
o_alternates: warn on non
-
trivial e
r
rors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
e
ff
K
ing
read_info_alternat
e
s:
read cont
e
nts into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
prefix_ref_
i
terator: break when we lea
v
e the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
K
in
g
rea
d
_pack_header: h
a
n
d
le signed/unsign
e
d comparis
o
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
conf
i
g: f
l
ip return
v
alue of
s
to
r
e_wri
t
e_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
n
o
t
e
s-merge: use ssize_t
f
or write_in_full
(
) return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
pkt-line: check w
r
ite_in_full() er
r
ors
a
gainst "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
n
g
c
o
nvert less-
t
rivial version
s
of "
w
rite_in_ful
l
(
)
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff K
i
ng
avoid "
w
rite_in_full(fd,
b
uf, len) != len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
Kin
g
get-tar-com
m
it-id:
check write
_
in_full() return against 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config:
a
void "write_in_full
(
fd, buf, len)
< len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
K
ing
cvsimport: sh
e
ll-qu
o
t
e
variable used
in backticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
archimport: use safe_pipe_capture for user
i
n
put
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
King
shell:
d
rop git-cv
s
s
e
rver s
u
ppo
r
t by de
f
a
ult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
eff King
short
l
og: skip format/
p
a
r
se rou
n
dtrip for i
n
tern
a
l
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
eff K
i
ng
add
U
N
LEAK
annotation for reduci
n
g l
e
a
k
false positive
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff Ki
n
g
git_extra
c
t_argv0_path: do nothing without RUNTI
M
E_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff K
i
ng
sy
s
t
em_path: m
o
v
e RUNTIM
E
_PREF
I
X to a sub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev-parse: don'
t
t
r
i
m
bisec
t
refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
ing
s
e
t_git_dir: handle feeding
g
itdir
to i
t
self
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
r
e
p
osit
o
ry: f
r
ee f
i
elds befo
r
e
o
verwriti
n
g them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
reset: free allocat
e
d t
r
ee buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset: make
t
r
ee counting less
c
o
n
f
using
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
config
:
plug u
s
er_config l
e
ak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
update-index: fix ca
c
he
e
ntry
leak in add_o
n
e_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: fre
e
leaked pathspec after add_files_to_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
t
e
st-lib: set LSAN_OPTIONS to a
b
ort by def
a
ult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
test-lib: --valgrind should not override --verb
o
se-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
sto
p
leaking lock structs in
s
o
me
simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
ref_lock: stop leaking
loc
k
_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
l
ockfile:
upda
t
e
lifetime re
q
ui
r
ements in documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Ki
n
g
tempfile: auto-allo
c
ate
tempfiles on h
e
ap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
tempfile: remove d
e
a
c
t
ivated
l
ist ent
r
i
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
ef
f
King
tem
p
file: use list
.
h for linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
te
m
pfile: release deactivated strbufs
i
nstea
d
of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
K
ing
tempfile: robustify cleanup handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile:
f
acto
r
out dea
c
t
i
vation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempfil
e
: factor out activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: replace die(
"
BU
G
"
) wit
h
B
UG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfile: hand
l
e NULL te
m
pfile pointers
grace
f
ull
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
temp
f
ile: prefer
i
s_te
m
pfile
_
active 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
n
ot
rollb
a
ck lock on
f
ailed cl
o
se
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfi
l
e: do not delet
e
t
e
mpfile on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
always check return value
o
f close_te
m
pfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
verify_signed_buf
f
e
r
:
prefer c
l
ose_tempfile
(
) to close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
setup_tempora
r
y_shallow: m
o
ve t
e
mpfile
struct in
t
o
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
s
e
tup_temporar
y
_shallow: a
v
oid using inactiv
e
tempfi
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
w
rite_index_as_tre
e
: cleanup te
m
pfi
l
e on
e
rror
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
c
o
nfig
:
use a s
t
atic lock_file struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next