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
Jef
f
King
te
s
t-hashm
a
p:
u
se ALL
O
C_AR
R
AY rather than bare malloc
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
J
eff King
lin
k
_
a
lt_odb_entries
:
make empty input a noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
J
e
ff King
setup: a
v
oid doub
l
e
s
lashes when
l
ooking fo
r
HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
worktr
e
e: handle
broken
s
y
m
refs
in find_shared_symref()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
log: handle
b
roken HEAD in deco
r
ation check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
remote: handle b
r
o
k
en symrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
test-ref-store:
avoid
passing
NULL to pr
i
nt
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
diff: handle NULs in get_s
t
ring_h
a
sh()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff K
i
ng
d
i
f
f: fi
x
whitesp
a
ce
-
skipp
i
ng w
i
th -
-
color-mo
v
ed
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
t4015: test the ou
t
put of
"
diff --color-moved
-b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: check "neg
a
ti
v
e" case for "-w --color-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
ef
f
King
t4015: refactor
-
-color-
m
o
ved whitespace test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
tag: respect color
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
R
evert "
c
o
lor: check color
.
ui
in git_d
e
fault_conf
i
g()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "t
6
006: dro
p
"alwa
y
s" col
o
r
con
f
ig tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "color:
m
ake "always" the sam
e
a
s
"auto"
in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jef
f
Ki
n
g
diff:
fi
x
infinite
l
oop w
i
th --co
l
or-moved
--ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff Kin
g
write_
e
ntry
:
unta
n
gle symlin
k
and regular-fi
l
e ca
s
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
w
r
ite_entr
y
: avo
i
d readin
g
blobs i
n
CE_RET
R
Y
c
ase
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jef
f
King
wr
i
t
e_entry: fix
l
eak when retrying
d
elayed
f
i
lter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
refs_resolve_ref_unsafe: handle d/f conflicts for writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jef
f
King
t
33
0
8
:
create
a real re
f
directo
r
y/file
c
onflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
J
eff King
sha1_l
o
ose_
o
b
ject_i
n
f
o
:
handle e
r
r
ors from
unpack_sha
1
_r
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
path
.
c: fix
uninit
i
a
lized
me
m
ory access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t7301:
use test_termi
n
al
t
o
check color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t
4
015: use --c
o
lor wit
h
--color-
m
oved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
c
olor: make "always"
t
he same as "au
t
o" in con
f
ig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
prov
i
de --color option for all r
e
f-filte
r
users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
t3205: us
e
--co
l
or i
n
s
t
ead of color
.
bran
c
h=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
3
2
03: drop "always
"
c
olor
test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t6006:
drop "always" color config tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
7
5
0
2
:
use diff
.
nopr
e
fix
for --verbose test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7508: use tes
t
_termi
n
a
l
f
o
r
co
l
or output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t37
0
1: use te
s
t-term
i
nal to colle
c
t c
o
lo
r
output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
t4015: pr
e
fer --co
l
or to -c colo
r
.
diff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
test-terminal:
set TERM=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
f
f Ki
n
g
g
i
t: add
-
-no-optiona
l
-locks
o
ption
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
validat
e
_hea
d
r
e
f
: use
g
et_oid_hex fo
r
detached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_headref: use s
k
ip
_
prefix for symref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff K
i
ng
validate
_
headref: NUL-
t
er
m
in
a
te HEAD buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
worktree: check the
result of re
a
d_in_f
u
l
l
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
worktr
e
e: use xsize_
t
to access file siz
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
distin
g
uish
error
v
ersus short read f
r
om
r
ead_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
avoi
d
loo
k
ing at errno for shor
t
r
ead_in
_
full
(
)
returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Kin
g
pr
e
fer "!=" when c
h
ecki
n
g r
e
ad_in_full() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
note
s
-merge: d
r
o
p dead zero
-
w
rite code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
f
i
l
e
s-b
a
ckend: p
r
efer "0" for w
r
i
t
e
_i
n
_ful
l
() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jef
f
King
doc: put lit
e
ral block deli
m
ite
r
around t
a
ble
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
consistently use "fallthrough" comments in swit
c
hes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff King
curl_trace
(
): eliminate switch fa
l
lthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
test
-
line-buffer
:
simplify command par
s
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
King
cat-file
:
handle NULL
object_context
.
pa
t
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revision: replace "st
r
uct cmdline_paths
p
ec" with argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read
_
info_a
l
t
er
n
ates: wa
r
n on non-trivial e
r
rors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_alter
n
at
e
s: read co
n
tents i
n
t
o
s
t
r
b
u
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
n
g
prefix_ref_iterato
r
: break wh
e
n we leave the pr
e
f
i
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
read_pack_he
a
der
:
handle signed/
u
n
s
i
gned comparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff
King
c
o
n
fig: flip return value of
sto
r
e_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
notes-mer
g
e: use
s
size_t for write_in_full(
)
return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pk
t
-li
n
e: check write_in_full() error
s
again
s
t "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
con
v
er
t
less-
t
rivial versions
o
f
"write_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
avoid "write_in_full(f
d
, buf, len) !=
len
"
patte
r
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f
K
ing
get-ta
r
-commit-id: check write_in_full() ret
u
rn ag
a
inst
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
K
ing
config: avoid "w
r
ite_in_
f
u
l
l(fd, b
u
f, len) < len
"
pat
t
ern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Kin
g
cv
s
i
mp
o
rt
:
shell-quote variable used in
ba
c
k
ticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff K
i
ng
a
rchimpor
t
: use safe_pipe_capture for user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
K
ing
shell: drop
g
i
t-
c
vsserver support
by
default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff Ki
n
g
shortlog: s
k
ip format/parse roundtr
i
p for intern
a
l
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff King
add UNLEAK annotation
f
o
r
reducing le
a
k
false positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
gi
t
_extract_argv0_pa
t
h: do noth
i
ng without RUNTI
M
E_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
s
y
ste
m
_pa
t
h
:
move R
U
NTIME
_
PREFIX
to a sub
-
f
unction
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev-parse: do
n
't tr
i
m b
i
sect refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
set_git_
d
ir: handle
fee
d
ing gitdir t
o
i
t
self
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
ing
re
p
ository: free
f
ields before
o
v
e
r
w
riti
n
g them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
reset
:
free all
o
c
ated tr
e
e buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
reset: ma
k
e tree countin
g
less confus
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
c
onfig: p
l
ug use
r
_confi
g
leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
updat
e
-index:
fix
c
ache entry leak in add_o
n
e
_
file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add:
f
r
ee leaked
paths
p
ec af
t
er add_
f
il
e
s_to_cache(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
test-lib: set LSAN_
O
P
T
IONS to
a
bort by defau
l
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-lib: --valgrind s
h
ould not over
r
ide --verbose
-
lo
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
s
top leaking lock str
u
cts in some sim
p
le cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
ref_lock: stop le
a
king lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
lockfile: upda
t
e lifetime require
m
ents i
n
document
a
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
n
g
tempfile: auto-allocate
t
empfiles o
n
h
ea
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile
:
remo
v
e deact
i
vated list
e
ntr
i
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tempfile: use list
.
h
f
or linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mp
f
ile: release deactiv
a
ted strbufs in
s
te
a
d of reset
t
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
m
p
f
ile: ro
b
ustif
y
cleanup
handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empf
i
le: factor out deactivati
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
ef
f
K
i
ng
tempfile: fa
c
to
r
out activa
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfil
e
: replace d
i
e("BU
G
"
)
with
B
U
G()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
te
m
pfile:
handle NULL t
e
mpfile pointers gracef
u
lly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
te
m
pfile
:
prefe
r
is_te
m
pfile_a
c
tive t
o
bare acc
e
ss
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
l
o
ckfile: do no
t
rollback lock o
n
f
ail
e
d
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfile: d
o
not delete tempfile on faile
d
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
always check return value of clo
s
e_tempf
i
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
v
erify_signed_buffe
r
: pr
e
f
er close_tempfile() to
close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
setup_tem
p
orary_shal
l
ow:
m
o
v
e t
e
m
p
file
s
truct
into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
setup_temporar
y
_
s
h
allow
:
avoid
using inactive tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next