repo.or.cz
/
git
/
raj.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
test-hashmap: check allocation computation for overflow
2018-02-14
Je
f
f King
test-hashmap:
check allocation c
o
mpu
t
ation for over
f
low
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2018-02-14
J
e
ff King
test-
h
ashmap: use ALLOC_ARRAY rath
e
r tha
n
bar
e
malloc
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-11-13
Jeff King
link_alt_odb_e
n
tries
:
make emp
t
y input
a noop
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-11-03
Jeff
King
setup: avoid double sl
a
s
h
e
s
wh
e
n looking
f
or HEAD
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
worktree: handle br
o
ke
n
symrefs in
f
ind_shared
_
symref()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
log: handle
br
o
ken
HEAD in decor
a
tion
c
he
c
k
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
re
m
ote: handle broken symrefs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Kin
g
test-ref-store: avoid
p
assing NULL to
printf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f K
i
n
g
diff: handle NULs i
n
ge
t
_
strin
g
_hash()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff
Kin
g
diff:
f
ix w
h
itespac
e
-skippi
n
g w
i
t
h
--color-moved
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff Kin
g
t
4
015: test the output of "diff --color-
m
o
ved -b"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
t401
5
:
ch
e
ck "ne
g
ati
v
e
" case for "-w --color-moved"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff K
i
ng
t4015: refacto
r
--color-
m
oved
w
hitespace test
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
tag: respect color
.
u
i config
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "color:
c
heck
c
olor
.
ui
in git_defa
u
lt_c
o
nfig()"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
R
evert "t6006:
d
rop "al
w
ays" col
o
r config tes
t
s"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
King
Rev
e
rt "color: make "alw
a
ys" the sam
e
as "auto" in
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-16
Jeff K
i
n
g
diff: fix
infinit
e
loop with --color-moved --ig
n
ore
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-10
Jeff King
write_
e
ntr
y
:
untangle symli
n
k an
d
r
egula
r
-f
i
l
e cases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
write_entr
y
: avoid re
a
d
i
ng blobs in CE_
R
E
TRY ca
s
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-09
Jeff K
i
ng
write_
e
ntry: fix
leak when retrying delayed filte
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
refs_re
s
o
lve_r
e
f_un
s
afe: han
d
le d/f co
n
fli
c
ts for writ
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t330
8
: create a real
r
ef di
r
ectory/fi
l
e c
o
nf
l
ict
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sha1_loose_
o
bje
c
t
_
info: handle errors f
r
om unpack_sha1_rest
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff Kin
g
path
.
c:
f
ix
u
ninitialized
memory access
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
t7301: use test_terminal to check color
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4
0
15:
u
se --color with --color-moved
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
eff Ki
n
g
color: make
"
always"
t
h
e same as "auto
"
in
c
o
n
f
ig
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provi
d
e
--color option for
a
ll ref-fi
l
t
er use
r
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t3205: use
-
-color inst
e
ad of color
.
branch=always
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t3203
:
drop "
a
lways" color test
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
K
ing
t6
0
06
:
drop "always" c
o
lor config tests
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7502
:
us
e
diff
.
noprefix for
-
-verbose tes
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff
K
i
ng
t7508: us
e
t
est_termi
n
al for co
l
or output
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3
7
01: us
e
test-termina
l
t
o collect colo
r
o
u
tput
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t401
5
:
p
refer
--color to -c
c
olor
.
d
i
ff=always
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
test-terminal:
s
e
t
TERM=vt10
0
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
git: add
--
n
o-optional-locks o
p
ti
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
va
l
idate_h
e
adref: use get_
o
i
d
_hex for d
e
tached H
E
ADs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
validate_headref: use skip_p
r
efix for s
y
mref
p
a
r
s
ing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
val
i
date_h
e
adref:
N
UL
-
ter
m
inate HEAD b
u
ffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
worktree: check the r
e
sult of
read_in_full(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
work
t
ree
:
use xsize_t to access file
si
z
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
distingu
i
sh error
v
ersus short
read from read_in_full()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
av
o
id lookin
g
at errno for short read_in_full() retu
r
ns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
p
r
efer "!=
"
when checking read_in_full() res
u
l
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
Jeff K
i
n
g
notes-merge: drop de
a
d zer
o
-write
code
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
Jef
f
King
files-
b
ac
k
end:
p
refer
"
0"
for write
_
in_
f
ull() error
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-24
J
ef
f
King
doc:
put literal block
d
e
limite
r
around tabl
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
co
n
sistently use "
f
allthrou
g
h
" com
m
ents in
s
witches
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
J
eff
K
ing
c
u
rl_t
r
ace():
e
liminate sw
i
tc
h
fallthrough
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
tes
t
-lin
e
-buffer: simplify c
o
mmand parsing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
ing
c
a
t-file: h
a
nd
l
e
NULL obj
e
ct_
c
ontex
t
.
p
a
th
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revision: replace "struct cmdline_pathspec" with argv_arr
a
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-20
Jeff Kin
g
r
e
ad_in
f
o_alternates: war
n
on no
n
-tr
i
v
i
al errors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-20
J
e
ff King
read_info_al
t
ernates: read
c
on
t
ents into
s
trbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
p
r
efix_ref_iterato
r
: break when
we lea
v
e the
pr
e
fix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
r
e
ad_pack_hea
d
er
:
h
a
ndle signed/unsigned compariso
n
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
con
f
i
g
:
flip return value of store_write_*()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
notes-m
e
r
ge: use ssi
z
e_t for write
_
in_
f
ull() return
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pkt
-
line:
check write_in
_
full() errors
against "< 0"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
convert less-trivial versi
o
ns of "write_in_full()
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid "wr
i
t
e_in_
f
ull(fd,
b
uf, len) != len" patter
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
g
e
t
-tar-commi
t
-id: check write_in_ful
l
() return a
g
a
i
ns
t
0
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: avoid "
w
rite_in
_
full(fd
,
buf, len) < len" p
a
ttern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f
K
ing
c
vsimpo
r
t: s
h
el
l
-
q
uote
v
ariable used i
n
backticks
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
K
ing
archimpo
r
t
:
use
s
afe_pipe_
c
apt
u
re for user input
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
shell: drop git-cvsserver support by default
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
shor
t
log: ski
p
format/pa
r
s
e
r
oundtri
p
for internal
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Jeff
K
ing
add
U
NLEAK annotation f
o
r
re
d
ucing le
a
k fal
s
e positives
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_extra
c
t_ar
g
v0_
p
ath: do not
h
ing without
R
U
N
TIME_
P
REFIX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
J
eff
King
sy
s
tem
_
path: move RUNTIME_P
R
EFIX to a sub-function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev-
p
arse: don't
t
rim bis
e
ct refna
m
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_gi
t
_dir: handle
f
e
eding
gitdir to
itself
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
reposi
t
o
r
y:
fr
e
e fields be
f
o
re overw
r
iting them
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
reset: free alloca
t
ed tree b
u
ffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
ef
f
King
r
e
s
e
t
:
make tree c
o
unting less confusing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
n
g
config: plug user_config leak
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
K
ing
u
p
d
a
te-index: fix cache entry
leak in add_on
e
_fi
l
e()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: free l
e
aked pa
t
hspec
afte
r
add
_
files_to_cac
h
e
()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
test-li
b
: set LSAN_OPTION
S
to abort b
y
default
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
est-
l
ib: --val
g
rind should not
o
verride --verbose-log
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
stop leaking lock structs i
n
some simple cases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
ref_lock
:
stop leaking lock
_
files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
loc
k
file: upd
a
t
e
l
i
f
eti
m
e re
q
uirements
in docu
m
entation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
t
empfile:
a
uto-
a
llocate
t
e
mpfil
e
s on he
a
p
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfi
l
e: remove dea
c
tivated list e
n
tries
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: use
l
ist
.
h
for linked list
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
t
empfile: rel
e
a
se deactivated s
t
rbufs instead of resetting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
tempfile: robustify clean
u
p handler
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
temp
f
ile:
factor out deac
t
ivation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Kin
g
temp
f
il
e
: factor out activation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfi
l
e: repla
c
e die("BUG") with BUG()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
K
ing
tempfi
l
e: handl
e
NULL tempfi
l
e p
o
inters grac
e
fully
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfile: p
r
e
f
e
r is_te
m
pfile_act
i
ve t
o
bare access
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile:
d
o
n
ot ro
l
lb
a
ck lock on
f
ailed close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: d
o
not delete tem
p
file on failed clo
s
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
always
c
heck re
t
urn v
a
lue of
close_tempfile
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
veri
f
y_signed_buffer: prefer close_tempfile() to clos
e
()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
setup_temporar
y
_
shallow: move tempfile struct i
n
to
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next