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
perf/aggregate: add display_dir()
2017-09-22
Jeff King
tes
t
-li
n
e-buffer:
s
i
m
plify command parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Ki
n
g
cat-
f
ile: handle NULL object_context
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Je
f
f King
revision: replace "stru
c
t c
m
dli
n
e
_
pathspec" with argv_a
r
r
a
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_a
l
ternat
e
s: warn o
n
n
o
n-trivia
l
errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
eff King
read_
i
nfo_alternates:
r
ead
c
on
t
e
n
ts into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
pref
i
x_re
f
_
iterator:
b
r
eak when
w
e leave the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
read_pack_h
e
ader: handle signed/unsigned comparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
co
n
f
i
g: flip return val
u
e
of sto
r
e
_
write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
n
otes
-
mer
g
e
: use ssize_t fo
r
write_in_full(
)
retu
r
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff
King
pkt-line: check w
r
ite
_
i
n_full() errors aga
i
nst "< 0
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff King
conve
r
t less-trivial ver
s
ions of "write
_
in
_
fu
l
l
(
)
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
avoid "writ
e
_in_full
(
f
d
, bu
f
, len) != le
n
" pa
t
t
e
r
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
g
e
t-tar
-
c
ommi
t
-
id: check write_in_full(
)
return again
s
t
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: av
o
id
"write_
i
n_full(
f
d, buf, l
e
n) < len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
K
i
n
g
cvsim
p
o
r
t: shell-quote variable use
d
in ba
c
kticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Ki
n
g
archi
m
port: use safe_p
i
pe_c
a
ptur
e
for user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
e
ff King
s
hell: d
r
op
g
i
t-cvsserver
s
upp
o
r
t
b
y default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff
Ki
n
g
short
l
o
g
: skip
f
ormat/p
a
rse
roundt
r
ip for intern
a
l
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Je
f
f
King
add UNLEA
K
annotatio
n
for red
u
cing leak
false positive
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_e
x
tract_argv0_pat
h
: do nothing wit
h
out RUNTIM
E
_PRE
F
IX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Je
f
f King
sys
t
em_
p
ath: move RU
N
T
I
M
E_PREFIX to a sub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
rev-parse
:
don'
t
trim bisect refn
a
m
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_git_d
i
r:
handle f
e
eding gitdir to itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
ing
repository:
f
ree fi
e
lds before ove
r
writing them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset: f
r
ee
a
lloc
a
ted tree buffer
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
re
s
e
t: make tree counting less co
n
f
using
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
con
f
ig: plug use
r
_c
o
nfig leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
update-index: fix c
a
che
entry l
e
ak in
add_one_fil
e
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Ki
n
g
add: f
r
ee leaked
p
a
t
hspec
after add
_
files_to_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-lib
:
set
L
SAN_OPTIONS to abort by defa
u
l
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-lib: --
v
algrind
sho
u
ld not
override --verbose-l
o
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
n
g
stop leaking
lock structs in some simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
ref_loc
k
: st
o
p leaking loc
k
_fi
l
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: update lifetime requireme
n
ts in documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Ki
n
g
tempfile: auto-a
l
locate t
e
mpfiles
on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempf
i
le: remo
v
e deactivated
l
ist entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: use li
s
t
.
h for
linked lis
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfile:
release deact
i
vate
d
strbufs i
n
stead
o
f
re
s
etting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile
:
r
ob
u
s
tify cl
e
anup
h
andler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
fil
e
: factor out deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Kin
g
tempfile: factor out activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
tempfile: replace d
i
e("
B
UG")
w
ith BU
G
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tem
p
fil
e
: handle NULL tempfile
poi
n
t
e
rs gracef
u
l
l
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Kin
g
t
e
mpf
i
le: prefer is_tempfile_active to
bare access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
lo
c
kfi
l
e: do
n
ot rollback l
o
ck o
n
failed
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
t
em
p
file: do n
o
t d
e
lete
t
empfile
on faile
d
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
always chec
k
r
eturn
v
a
lue
o
f
clo
s
e
_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
K
in
g
verify_s
i
gned_b
u
ffer
:
prefer c
l
ose_tempfile
(
) to
c
lose()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
s
e
tup_temporary_shallow: move t
e
mpfile struc
t
into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setu
p
_temporar
y
_shallow: a
v
oid usi
n
g
i
nactive tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
wr
i
t
e_index_as_tr
e
e: cl
e
anup
tem
p
file on err
o
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Ki
n
g
config:
u
se a sta
t
ic lock_file
s
truct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
Jeff
K
ing
doc: fix typo
in se
n
d
emai
l
.
iden
t
ity
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
pretty: support norm
a
lization
options for %(trailers)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff
K
ing
t4205:
refacto
r
%(t
r
ail
e
rs) te
s
ts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
pretty: mov
e
trailer forma
t
ting to trailer
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff King
interpret-trailers: add
-
-
parse conve
n
i
e
n
ce option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff King
interpret-tra
i
lers
:
add an
o
ption to
u
nfold values
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Kin
g
interpret-trailers:
a
d
d
an option to s
h
ow only existi
n
g
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
interpret-
t
railers: add a
n
option to s
h
ow
o
nly t
h
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-10
J
eff King
trailer: p
u
t p
r
ocess_trail
e
rs()
o
p
tio
n
s into
a str
u
ct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
sha1_file: dr
o
p e
x
perimental
GIT_
U
SE_
L
O
O
K
UP search
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff
King
hashcmp: use memcmp
instead of
o
pe
n
-coded loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff
K
ing
re
v
ision: do not fallback to defa
u
lt when rev_input_giv
e
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff
King
rev-list
:
do
n
't
s
ho
w
usage wh
e
n w
e
see e
m
pty ref p
a
tterns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff Kin
g
revision:
ad
d
rev_input_given flag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jef
f
King
t6018: flesh out e
m
p
ty in
p
ut
/
output
rev-lis
t
tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Je
f
f K
i
ng
connect: reject pa
t
hs that look lik
e
comma
n
d line options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff
K
in
g
connect: reject
d
as
h
ed
ar
g
uments fo
r
pr
o
xy
comman
d
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
connect: factor out
"looks
l
ike command
l
ine option
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jef
f
King
t
58
1
3: add test for
h
o
stname s
t
a
rting with dash
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff K
i
ng
t/l
i
b
-
proto-
d
is
a
b
l
e: resto
r
e
pr
o
to
c
ol
.
allow after
config
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-17
Jeff King
t: hand
l
e
E
OF
in test_copy_
b
ytes()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-14
Jeff King
strbuf: use designated i
n
itializers in STRBUF_
I
NIT
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
e
f
f
Ki
n
g
ref-filter: co
n
sult want_c
o
lor(
)
before emitting colors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
eff King
p
r
ett
y
: respect
c
olor
s
ettings for %C
p
l
a
ceh
o
lder
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
rev-l
i
st: pas
s
diffop
t
->use_colors th
r
ough to pretty
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
K
ing
for
-
each-ref: load
c
onfig earlier
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Kin
g
color: check color
.
ui
in git_default_co
n
fig()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff K
i
ng
r
ef-filter:
p
ass r
e
f_format st
r
uct to atom par
s
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
King
ref-filter
:
factor out t
h
e
parsing of sorting atom
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Kin
g
ref-filter: make parse_ref
_
filter_atom a private function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
K
in
g
ref-filter: provide a function f
o
r pa
r
sing
sort options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
K
ing
ref-fil
t
er:
m
o
v
e ne
e
d_color_r
e
set_at_e
o
l
into ref_format
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
e
ff
K
ing
ref-filter: abstract
r
ef f
o
rmat into its own stru
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter
:
simplif
y
autom
a
tic col
o
r reset
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
t: use test
_
decode_color
r
ather than lit
e
ral ANSI codes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
King
docs/for-each-ref: update pointe
r
to color
s
yn
t
ax
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
King
check re
t
urn val
u
e
o
f
veri
f
y_re
f
_format()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-12
Jeff Ki
n
g
gc: run pre-detach operations u
n
der lock
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Je
f
f Ki
n
g
Ma
k
efile:
d
isable una
l
igned loads with UB
S
an
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
J
eff Ki
n
g
Makefile
:
turn off -fo
m
i
t
-
frame
-
pointe
r
with s
a
nitiz
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
Makefil
e
: a
d
d helper for
c
ompil
i
ng with -fsan
i
tize
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
J
e
ff King
test-lib: turn on ASan abort_on_error by de
f
ault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
test-lib: set
A
SAN_OPTIO
N
S
v
ariable before we run git
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
J
e
ff
K
ing
reflog-walk:
apply --since/--u
n
til t
o
reflog dates
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
reflog-walk: stop usi
n
g fake parents
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jef
f
King
rev-list:
c
heck
reflo
g
_i
n
fo before
s
how
i
ng usage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jef
f
K
ing
get_re
v
ision_1(): replace do
-
while
with an early return
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
log:
do not free p
a
rents whe
n
w
a
lkin
g
r
e
fl
o
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next