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 'ma/branch-list-paginate'
2017-11-21
J
eff Ki
n
g
g
i
t-j
u
mp:
g
ive co
n
tact
instruc
t
ions in the README
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
J
e
ff K
i
ng
link
_
alt_odb_
e
n
t
ries
:
make empty
input a noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jef
f
King
setup:
a
vo
i
d
d
ouble
s
lashes when lo
o
king for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff K
i
ng
wor
k
tree: handle broken symre
f
s in fin
d
_shared_symr
e
f()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
log: h
a
ndle
broken
HEAD
in de
c
oration ch
e
ck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
r
e
mote:
h
and
l
e broken
s
y
mrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
test-
r
ef-st
o
r
e: avoid pass
i
ng
NULL
t
o
p
r
i
ntf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
diff: handle
NULs in get_
s
tri
n
g_hash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
f
f King
diff: fix w
h
itespace-skipping
w
i
t
h --
c
ol
o
r
-mo
v
ed
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: test
the output of "diff --c
o
lor-moved
-
b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: check
"negative" case for "-w --color
-
moved
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
i
ng
t
4015: refact
o
r --color-moved white
s
pace test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
King
tag
:
res
p
ect co
l
or
.
ui conf
i
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "color: check colo
r
.
ui in
g
it_defau
l
t_config()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "t
6
006: dro
p
"always" c
o
lor config tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff K
i
ng
R
e
vert "color:
m
ake
"always" the same
as "au
t
o" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jef
f
King
diff: fix infinite
l
oo
p
with
--c
o
lor-moved --ign
o
re
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
Je
f
f
King
revision:
q
uit
pruning d
i
f
f
m
ore
quickly when possibl
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff King
writ
e
_
entry: unta
n
gle symlink an
d
r
egular-f
i
l
e
cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Je
f
f King
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_entry:
f
ix
leak when
retrying delaye
d
fil
t
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
ref
s
_
r
eso
l
ve_ref_
u
nsafe: handle d/f
c
onflicts for write
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff Ki
n
g
t3308: cre
a
te
a real
r
ef directo
r
y/file con
f
l
i
ct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
J
e
ff K
i
n
g
sha1_l
o
o
s
e_object_info: hand
l
e
errors from un
p
ack_s
h
a1_r
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
pat
h
.
c: fix uninitial
i
zed mem
o
ry acce
s
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
t7301: u
s
e test
_
termin
a
l
to check
c
ol
o
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
t
4
015
:
use
--col
o
r w
i
t
h
--colo
r
-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
c
o
l
or:
m
ake "
a
lways
"
the same as "auto"
i
n config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provide --
c
olor option for all re
f
-
filter users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f King
t
3205: use --color i
n
stead of color
.
branch=alw
a
ys
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3203: drop "always"
co
l
or
t
est
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t6006: drop "always"
colo
r
config tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7502: use diff
.
noprefix fo
r
--ve
r
bose test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7508:
u
se test_term
i
nal for
c
olor
o
u
tput
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3701
:
use
t
est-t
e
rminal to collect color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t4015: pr
e
fer --color
t
o
-
c color
.
di
f
f=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
e
st-
t
erm
i
nal: set
TERM=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f K
i
ng
git: add --no-
o
p
tio
n
al-l
o
ck
s
o
pt
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
in
g
v
alidate_headref: us
e
get_oid_hex for detached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
Ki
n
g
valid
a
te
_
headr
e
f
:
u
se
skip_prefix for symref
parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
validat
e
_he
a
dref: NUL-t
e
rminate HEAD
b
u
f
fer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
worktree: c
h
eck the result of read_in_
f
ull()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktre
e
: use xsize_
t
to
acce
s
s
fil
e
size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
distinguish
e
rror versus short read from read_in_full
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
avoid
l
ooki
n
g
at
e
rrn
o
f
or sho
r
t r
e
ad_in_full() return
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
pre
f
er "
!
=" when checking rea
d
_in_full() r
e
sult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Kin
g
notes-me
r
ge
:
dr
o
p dead
zero-write code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
files-backend:
p
refer "0" for write_in_fu
l
l() e
r
ror
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff Kin
g
doc: put li
t
eral block
d
elim
i
t
er aro
u
nd table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f
King
consis
t
en
t
ly use
"
f
a
ll
t
hrough" comments in switc
h
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
cu
r
l_trace(
)
:
eliminat
e
switch
f
allt
h
rough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
t
est-li
n
e-buffer: simp
l
ify comm
a
nd parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
King
cat-file: handle NU
L
L object_c
o
ntext
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff
King
r
e
v
i
s
ion: replace "struct cmdline_path
s
pec
"
w
ith
a
r
gv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
e
ff King
r
e
ad
_
info_
a
lternat
e
s
:
w
arn on non-tri
v
ial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff K
i
ng
read_info_alter
n
ates:
re
a
d contents in
t
o
s
t
r
buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
n
g
prefi
x
_re
f
_iterator: break wh
e
n we leave the pr
e
f
ix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
read_p
a
ck_hea
d
e
r
: handl
e
sign
e
d/
u
n
signed
c
omparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
con
f
i
g: f
l
ip
return valu
e
of store_wr
i
te_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
n
o
t
es-m
e
rge: use
s
s
i
z
e_
t
for w
r
ite_in_ful
l
(
)
return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
Kin
g
pkt-line: che
c
k wr
i
te
_
in_full()
e
rrors against
"
< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff
K
ing
con
v
ert
less-
t
r
ivial versions of "w
r
ite_in_fu
l
l()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
av
o
i
d
"write_in
_
full(fd, buf, len)
!
=
len" pa
t
tern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
get
-
tar-commit
-
id:
c
heck write_in_full()
r
eturn ag
a
ins
t
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: avoid
"
write_in_full(fd, buf, len) < len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Ki
n
g
cvsimport: shell
-
qu
o
te variable u
s
ed in bac
k
ticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jef
f
King
archi
m
port: use
s
afe
_
pipe_capt
u
re
f
or user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
shell
:
d
r
op git-cvsserver support by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff K
i
n
g
shortlog: skip format/pa
r
se roundtrip for interna
l
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
eff King
add UNLEAK
a
nnotation for reducing
l
eak false positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff K
i
ng
git_extract_argv0_pat
h
: do nothing without RUNTIME_PREF
I
X
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff
K
ing
system_pat
h
: move RUNTIME_P
R
EFIX to a
s
ub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev-parse: don't trim
bisect refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
set
_
git_dir: ha
n
dle feeding gitdir to itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
r
e
pository: free fields befo
r
e overwr
i
t
ing them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Kin
g
res
e
t:
fre
e
allocated tree buff
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
reset:
make
tree
co
u
n
ti
n
g
less
confus
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config:
plug us
e
r_conf
i
g
leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
update-i
n
dex: fix cache
e
ntr
y
leak in add_o
n
e_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Kin
g
add: fre
e
l
eak
e
d pathspec after ad
d
_files_to_c
a
che()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
te
s
t-
l
ib: set LSAN_OPTIONS to abort by defa
u
lt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
test-
l
i
b: --v
a
l
g
rind should not override --verbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
i
n
g
stop leak
i
ng loc
k
struc
t
s in some simpl
e
cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
re
f
_lock: stop leaking lo
c
k_f
i
les
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
lockfil
e
: upda
t
e lifetime requirements in documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfil
e
: auto-allocat
e
tempf
i
les on he
a
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
tempfil
e
:
remo
v
e
deactiv
a
te
d
list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfile: use li
s
t
.
h for linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Ki
n
g
te
m
pfile: release d
e
activated s
t
rbuf
s
instead of res
e
tting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
te
m
pfil
e
:
robustify cleanup
hand
l
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempfi
l
e: f
a
ctor
out deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempf
i
le: f
a
c
tor out activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfile: replace d
i
e(
"
BUG") with
BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfil
e
:
h
andle NULL tempfile poin
t
ers gracefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile:
p
r
efer i
s
_tempfile_active to bare ac
c
ess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
lockfile: do not ro
l
lba
c
k lock o
n
failed
c
lose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfile:
d
o not delete t
e
mpfile on
f
a
iled c
l
ose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
a
lways
check return v
a
lue
o
f close_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
v
e
rify_signe
d
_buffer: pref
e
r
close_tempfi
l
e() to
c
lose()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup_tempo
r
ary_sh
a
ll
o
w:
mov
e
tempfi
l
e
struct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next