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
remote: handle broken symrefs
2017-10-21
Jeff King
remote: handle broken
symref
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
test-ref-s
t
ore: avoid passi
n
g NULL
t
o printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
eff
K
i
ng
tag: respect
color
.
ui co
n
fig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "color: che
c
k color
.
ui in git_d
e
fa
u
lt_c
o
nfig()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Je
f
f King
Revert "
t
600
6
: dro
p
"alwa
y
s" color confi
g
tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "color: ma
k
e "always" the same as
"
au
t
o" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff
King
d
iff: fix
i
nf
i
ni
t
e loo
p
with
--col
o
r-moved --i
g
nore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff King
write_entry: untangle sym
l
ink and regu
l
ar-file cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
e
ff King
write_e
n
try:
a
voi
d
reading blo
b
s in
CE_RETRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
write_entry: fix leak w
h
en retrying d
e
la
y
e
d
f
i
lter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
J
e
ff King
r
efs_resolve_
r
ef_
u
n
s
afe
:
ha
n
dle d/f conf
l
icts for wri
t
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff K
i
ng
t3308: create
a real ref directory
/
file conflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Je
f
f King
sha1_loose
_
obj
e
ct_info:
h
andle e
r
rors
from un
p
ack_s
h
a
1
_res
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
in
g
pat
h
.
c: fix uni
n
itialized memory
acce
s
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7301: use test_terminal to check c
o
lor
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff
K
ing
t4015:
use --co
l
o
r
with --color-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
color: make
"
alw
a
ys" the sam
e
as "auto" in config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f
King
provide
-
-colo
r
option for all ref-filter user
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3205: use
--color ins
t
ead of color
.
branch=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t320
3
: drop "always" color
t
est
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t6006: dr
o
p "
a
lwa
y
s" color conf
i
g t
e
sts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t7502: use
d
i
f
f
.
nopr
e
fix
f
o
r
--
v
erbos
e
test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7
5
08: use test_t
e
rminal for col
o
r output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f K
i
ng
t3701: use test-
t
ermina
l
t
o colle
c
t
c
olor output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t
4
015: prefer --col
o
r to -c color
.
diff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f
King
test-ter
m
inal: s
e
t TERM=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
K
i
ng
git:
a
d
d --no-optional
-
l
o
cks option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
Kin
g
validat
e
_headref: use get_o
i
d_
h
ex for detached
HE
A
Ds
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_hea
d
r
ef: use
skip_p
r
ef
i
x fo
r
symref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Kin
g
validate_headref:
NU
L
-t
e
r
m
i
n
ate H
E
AD buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
worktree: check the
result of read
_
i
n_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
worktree: use xsi
z
e_t to access file
s
ize
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff Ki
n
g
d
i
s
tinguish error versus short
r
ead f
r
om read_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
avo
i
d loo
k
ing at errno for
s
hort r
e
ad_in_fu
l
l
(
) returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f
King
pref
e
r "
!
=" when checking read_in_fu
l
l() res
u
lt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Kin
g
n
o
tes-merge: drop dead zero-write code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
J
ef
f
King
files
-
backend: prefer "0" for w
r
ite_in_full() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc:
p
ut
l
i
t
eral block delimi
t
er
around tabl
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff K
i
ng
consi
s
tently
use "fallthrough" comment
s
in swit
c
hes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Kin
g
curl_trace(): elimin
a
te switc
h
fallthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
ing
test-line
-
bu
f
fer: simplify c
o
mmand
parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
c
at-file: handl
e
NULL object_context
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jef
f
Kin
g
r
e
vision: replace "struct cmdline_
p
athsp
e
c" with ar
g
v_ar
r
ay
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff
K
ing
rea
d
_info_alter
n
at
e
s: warn on
non
-
trivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff
K
ing
read_info_alterna
t
e
s
: read conte
n
ts into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
prefix_ref_iterator: break when
we leave th
e
prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff King
re
a
d_pack_header: handle si
g
ned/unsigned comparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
n
g
config: flip re
t
u
r
n value of
s
tor
e
_write_*(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
notes-merge: use ssize_t for write_in_full()
retur
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
pkt-line: chec
k
w
rite
_
in_full()
errors a
g
ainst "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
convert les
s
-trivial v
e
rs
i
on
s
o
f
"
write_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
f
f King
av
o
id "write_in
_
full(fd,
buf, le
n
)
!= len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff
King
get-ta
r
-co
m
mit-id: chec
k
w
r
ite_in_full
(
)
return aga
i
n
st 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: avoid "w
r
i
t
e_in_full(fd, buf
,
len) < len" pat
t
ern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cvsimport: shell-qu
o
te var
i
able used in backtic
k
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff K
i
ng
a
r
chimport: use safe_pip
e
_
c
apture for user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
shell: drop git-
c
vss
e
r
v
er support
b
y default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff Kin
g
shortlog: ski
p
format/parse roundtrip for internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
eff
K
ing
add UNLEAK annotation for red
u
cing leak false positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jef
f
King
git_extr
a
ct
_
argv0_p
a
th: do no
t
h
ing witho
u
t RUNTIM
E
_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system_path: move RUNTIME_PREFIX to
a s
u
b-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Kin
g
re
v
-par
s
e:
don't trim bis
e
ct
r
efnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
set_git_d
i
r: ha
n
dle feedin
g
git
d
ir
t
o itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
repository: fre
e
f
i
e
lds before overwriting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
res
e
t:
f
ree allocated
t
ree
b
uffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
re
s
et
:
make tre
e
co
u
nting less co
n
f
using
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config: pl
u
g user_
c
onfig leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
update-
i
ndex: f
i
x ca
c
he
e
ntry leak in
a
d
d
_o
n
e_f
i
l
e
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
a
dd:
free leaked pathspec after add_fi
l
es_to
_
cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
ing
test
-
lib
:
se
t
LSAN_OPT
I
ONS to abort by defaul
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
King
test-lib: -
-
v
al
g
rind
s
houl
d
not ov
e
rri
d
e -
-
verbose-
l
og
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
stop leaki
n
g lock str
u
cts in som
e
simple case
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
ref_lock: stop lea
k
ing lock_f
i
les
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: updat
e
lifetime
r
e
quirements in doc
u
m
e
n
tat
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
t
e
mpfil
e
:
a
u
t
o-allocate
tem
p
fil
e
s on
h
e
a
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
temp
f
ile: remov
e
deactivated
list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
t
emp
f
ile: use list
.
h for linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfile: release deactivated str
b
ufs inst
e
ad
o
f re
s
etti
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpf
i
le: robustify
c
leanup handle
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Kin
g
tempfile: factor ou
t
deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfi
l
e: factor out activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
ing
te
m
p
fil
e
: replace die
(
"
B
UG") with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Ki
n
g
tem
p
file: handle NULL tempfil
e
po
i
nters gracefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
t
em
p
fil
e
: p
r
efer
i
s
_
tempf
i
le_act
i
ve to bare access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Kin
g
lock
f
ile: do not rol
l
back lock on f
a
iled
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfile: do not
delete tempfile
o
n failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
always check return value of close_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
v
erify_sig
n
ed_
b
uff
e
r
:
p
r
ef
e
r
clo
s
e_tempfile()
to close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup_t
e
m
porary_shallow:
m
ove t
e
m
pf
i
le s
t
r
u
ct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
s
et
u
p_tempor
a
r
y_
s
h
a
llow: avoid
us
i
ng i
n
ac
t
ive tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
writ
e
_in
d
ex_as_tree: clean
u
p t
e
m
pfile
on error
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
c
o
nfig: u
s
e a s
t
atic lock_file st
r
uct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
Jeff K
i
n
g
doc: fix typo
i
n s
e
ndemail
.
ident
i
ty
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
p
r
etty: support normalization op
t
i
o
ns
for %(
t
railers)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Je
f
f King
t
4
205: r
e
factor %(trailers) tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff
King
pretty:
m
ove trai
l
er format
t
ing to
trailer
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff
K
ing
interpret-trailer
s
: add --parse con
v
enience o
p
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jef
f
King
inte
r
p
r
et-tr
a
ilers:
add an option to unfold values
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
i
n
terpret
-
trailers: a
d
d an option to s
h
ow only
e
xisting
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff
King
interpret-trailers
:
add an opt
i
o
n
to show only
t
h
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next