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
test-hashmap: use ALLOC_ARRAY rather than bare malloc
2018-02-14
Je
f
f King
test-hashmap: use ALLOC_ARR
A
Y rat
h
er than bare malloc
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-11-13
J
e
f
f King
lin
k
_alt_odb_entries:
m
ake empty
input a noop
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
setup: a
v
oid dou
b
le slashes when looking for HEAD
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
workt
r
ee
:
h
a
ndle
broken symrefs in find_s
h
ared_sym
r
ef()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f
Ki
n
g
log: handle broken HEA
D
in
d
eco
r
ation
check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
r
emo
t
e: handle
broken
s
ymrefs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
te
s
t-ref-store: avoid pas
s
ing NULL to print
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
Ki
n
g
diff: handle NULs in get_string_hash()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff K
i
ng
diff:
f
ix white
s
pace-skipping
with --
c
o
l
or-moved
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
t4015: test
t
h
e
out
p
ut of "diff --co
l
or-moved -b"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
t4015: ch
e
ck "
n
egative" case
for "-w --co
l
or-moved"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
t4015: refactor
--colo
r
-moved whites
p
ace te
s
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Je
f
f King
tag:
r
espect
c
olo
r
.
ui co
n
fig
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
Kin
g
Revert "color: check c
o
l
or
.
ui i
n
g
i
t_default_confi
g
(
)
"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
King
Rev
e
rt "t6006:
drop "always" col
o
r config te
s
ts"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
K
ing
Revert
"
c
o
lor:
make "alw
a
ys" the same as "a
u
to" in
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-16
Jeff K
i
ng
di
f
f: fix in
f
inite loop with --color-moved --ignore
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-10
Jeff King
w
r
ite_entry: untangl
e
symlink and r
e
gular-file cases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-09
Jef
f
King
wr
i
te_
e
ntry
:
avoid r
e
ading blobs in
C
E_RETRY case
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-09
Jeff
King
write_entry: fix
l
e
ak when retrying delayed
f
ilter
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
refs_
r
esolve_ref_unsafe: handle d/f con
f
li
c
ts for writes
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t3308:
create a rea
l
ref d
i
recto
r
y/f
i
le conf
l
ict
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sha1
_
loose_object_info:
handle err
o
rs
f
ro
m
unpack_sha1_
r
est
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
p
a
t
h
.
c: fix uninit
i
a
lized memory access
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7301: use
t
est_
t
erminal to check colo
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
t4015: use --colo
r
with -
-
color-moved
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
color: m
a
ke
"
always" the same
a
s "
a
uto" in config
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
pr
o
v
ide --col
o
r
option for all ref-filter us
e
r
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3205: use --
c
o
lor
instead
o
f color
.
branch=always
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f King
t3203: drop
"
alw
a
ys" color test
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t
6
0
06:
d
rop "al
w
a
ys" col
o
r con
f
ig tests
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f K
i
ng
t7502: us
e
diff
.
noprefix for --ve
r
bose test
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff
K
ing
t7508:
u
se test_termi
n
al f
o
r
color output
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
3
701: use test-termin
a
l to collect color out
p
ut
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t40
1
5: pr
e
fer --color to -c color
.
diff=alwa
y
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f King
test
-
terminal: s
e
t T
E
R
M
=vt
1
00
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
J
e
f
f
King
git: add --no-optional
-
loc
k
s option
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
validate_h
e
ad
r
e
f: u
s
e
g
et_
o
id
_
h
ex for
d
et
a
che
d
HE
A
Ds
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
J
eff
K
i
ng
v
a
li
d
ate_he
a
dref: use ski
p
_prefix for
s
ymref p
a
rsing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff K
i
ng
validate_headref: NUL-termi
n
ate
HE
A
D buffe
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
worktree: check t
h
e result
o
f read_in
_
f
ull(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Kin
g
worktree: use xsize_t
to access
fil
e
si
z
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Kin
g
dist
i
n
gu
i
sh err
o
r versus
short read from read_in_fu
l
l()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
av
o
id looking at errno for shor
t
read_
i
n_full() retu
r
ns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
pre
f
er "!=" when checking read_in_full() resu
l
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
J
eff King
notes-merge
:
d
rop dead zero-write
cod
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
fi
l
es-backend
:
prefer
"
0" fo
r
write_in_full() error
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc: put
l
iter
a
l
b
lock delimiter around t
a
ble
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
c
onsistently use
"fallthrough" comments
i
n switches
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff King
curl_t
r
ace(): eli
m
inate
sw
i
tch fall
t
hroug
h
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f Ki
n
g
tes
t
-line-buffer: simpl
i
fy co
m
mand par
s
ing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
J
eff King
cat-file
:
ha
n
dl
e
NULL obj
e
c
t
_c
o
nt
e
xt
.
path
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-21
Jeff
Kin
g
revision: rep
l
ace "struct cmd
l
ine_pat
h
spec" with ar
g
v_a
r
ray
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-20
Jeff
K
ing
r
ead_info_alternates: war
n
on non-
t
rivial errors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read
_
info_alternates: read c
o
ntents into strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
prefix_
r
ef_iterator: br
e
ak when w
e
l
e
a
v
e the pre
f
ix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
r
ead
_
pack_heade
r
: handle signe
d
/unsigned comparison
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
c
o
n
fi
g
: flip return value o
f
store_write_*()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
notes-merge:
use ssize_t f
o
r
w
r
i
te_in_full()
r
eturn
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
p
kt-line
:
c
he
c
k w
r
ite_in_full() erro
r
s again
s
t
"<
0
"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
convert less-
t
rivi
a
l versions of "wr
i
te_in_full()
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid "write_in_fu
l
l(
f
d
, buf,
l
en) != len
"
pattern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
get-tar-commit-id:
c
h
eck write_in
_
full() re
t
urn agai
n
s
t 0
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
con
f
ig: avoid "
w
rite_in_full(fd, buf, l
e
n)
<
len" pattern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cvsimport: shell
-
quote variab
l
e used in backticks
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Kin
g
archimport:
u
se safe_pipe_capture for
user input
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
K
i
n
g
shell:
d
rop git-cvsserver support by
d
efault
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Jeff
King
sho
r
tlog: skip f
o
rmat
/
parse
r
o
u
n
d
trip for int
e
rnal
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Jeff
King
add UNL
E
AK annotatio
n
for red
u
cing leak
f
alse p
o
sitives
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jef
f
King
git_extract_ar
g
v0_path:
do nothing wit
h
out RUNTIME_PREFIX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jeff K
i
ng
system_p
a
th: mo
v
e
RU
N
T
IM
E
_PREFIX to a sub-functio
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
rev-parse:
d
on't trim bisect refnames
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
set_git_dir: handle feeding gitdir to itse
l
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
repos
i
t
o
ry: f
r
ee fields before
o
verwriting th
e
m
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
ing
r
eset: free allocated
t
ree buffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset: make tree
c
o
untin
g
less confusing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config: pl
u
g us
e
r_
c
onfig l
e
ak
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
update-in
d
ex:
f
ix cache entry leak in add_one_file(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
a
dd: free leaked pat
h
spec after add_files_to_cache
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
King
test-lib: se
t
LSAN_OPTIONS to abort by
d
efault
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
K
ing
test-lib: --valgrind should
not override -
-
verbos
e
-lo
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
st
o
p leaking lock structs in som
e
s
i
mple ca
s
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_lock
:
s
top leaking loc
k
_f
i
les
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile
:
update lifetime requirements in documentation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
t
em
p
fil
e
: auto-alloc
a
te tempfiles
o
n heap
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
te
m
pfile: remove deactivat
e
d list entr
i
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
tempf
i
le: use
list
.
h fo
r
linke
d
list
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
temp
f
i
le
:
r
e
l
ease dea
c
tivated str
b
uf
s
instead of resetting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: robustify
cle
a
n
up ha
n
dler
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempf
i
le
:
factor out deactivat
i
on
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: factor ou
t
activati
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
tempfile: replace die("BUG") with BUG()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile
:
h
andle NULL temp
f
i
le po
i
nters
g
r
a
c
ef
u
l
l
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f K
i
ng
tempfile: pref
e
r
i
s
_
t
empf
i
le_active to bare acces
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
lockf
i
le
:
do not roll
b
ack lock on
f
ailed close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
t
empf
i
le: d
o
not delete tempf
i
l
e
on
failed close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
ing
alway
s
c
h
eck r
e
turn va
l
ue
of close_temp
f
i
le
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
ver
i
f
y
_signed_buffer: pref
e
r
c
lose_
t
empf
i
le() to clo
s
e()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
setup_temporary_sh
a
llow: move tempfile
struc
t
into
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Ki
n
g
setu
p
_tem
p
orary_
s
ha
l
low: avoid u
s
i
n
g inactive t
e
mpfile
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next