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
Merge branch 'ik/userdiff-html-h-element-fix'
2017-09-22
Jeff King
consistently use "fallt
h
rough"
c
o
m
ments in switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
i
ng
curl_trace(): eliminate switch fallthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
King
test-line-buffe
r
: s
i
mplify comm
a
nd parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff K
i
ng
cat-fi
l
e: h
a
n
dle NULL object_context
.
p
a
th
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff
K
ing
rev
i
sio
n
: replace "st
r
uc
t
cmdline_pathspec" with a
r
gv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
re
a
d_info_alternate
s
: warn
o
n non
-
trivi
a
l erro
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
r
e
a
d
_
i
n
fo_a
l
ternat
e
s: rea
d
conten
t
s into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
read_pack_
h
ead
e
r
: ha
n
dle
s
igned/unsigned com
p
ari
s
on
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff
K
ing
config: flip ret
u
rn value o
f
sto
r
e_wri
t
e_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
i
n
g
n
o
tes-merge: use ss
i
z
e_t for write
_
in_
f
u
ll() retur
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pkt-line: check write_in_f
u
ll() errors against "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
convert le
s
s-trivial
ver
s
ions of "write_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
a
v
oid "write_in_
f
ull
(
fd,
b
uf,
l
en)
!
=
l
e
n"
pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
get
-
tar
-
commit-i
d
: chec
k
write_in_full() return aga
i
n
s
t 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: av
o
id "write_in_f
u
ll(fd
,
buf, len) < len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
eff King
cvsi
m
port: s
h
ell-quote v
a
riabl
e
used in
b
ack
t
icks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
archimport:
u
se
s
a
fe_pipe
_
capture for us
e
r i
n
put
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 K
i
ng
shortlog: ski
p
format/parse roundtrip
f
or in
t
ernal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff
K
i
ng
add UNL
E
AK annotation fo
r
reducing leak false positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_extract_
a
rgv0_path:
d
o
not
h
ing
w
i
tho
u
t RUNTIME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
s
y
stem_path:
m
ove RUNTIME_PR
E
FIX
t
o
a sub-
f
unction
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Ki
n
g
rev-parse: don't trim
b
isect ref
n
ames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
se
t
_git_dir:
handle feeding gitdir to its
e
l
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
repository: free fi
e
lds befo
r
e over
w
riting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
eset: fr
e
e al
l
oc
a
ted t
r
ee buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
re
s
et: make tree co
u
nting l
e
ss confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config: p
l
ug user_config leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
updat
e
-in
d
ex: fix cache e
n
tr
y
l
e
ak in
ad
d
_one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
add: free leaked pat
h
spe
c
afte
r
add_files_to_ca
c
h
e(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
in
g
t
est-lib: set
LSAN_OP
T
IONS t
o
abort by
de
f
ault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
test-lib:
-
-
valg
r
ind sh
o
uld not ove
r
rid
e
--ve
r
bose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
s
top
leaking lock struc
t
s i
n
some simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
ref
_
l
o
ck:
s
t
op leaking lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
lockfi
l
e: update lifetime
r
equir
e
m
e
n
ts in docume
n
tati
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempfile:
a
uto-a
l
locate tempfi
l
es
o
n
heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tem
p
file: remove dea
c
tivated
l
is
t
entrie
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
t
e
mpfile: use list
.
h
for li
n
k
ed l
i
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Ki
n
g
tempfile: release deac
t
ivated strbuf
s
ins
t
ead of res
e
tt
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
King
tempfile
:
robustify cleanup handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfile: fa
c
tor out deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Kin
g
tempfile: fac
t
or out activ
a
t
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
temp
f
i
l
e:
replace die
(
"BUG") with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile:
hand
l
e
N
ULL t
e
mpfile pointers gr
a
ceful
l
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tempfile:
p
refer is_tempfile_acti
v
e
t
o bare
access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
K
ing
lo
c
kfile: do not rollback lock on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
t
e
mp
f
ile: do not delete
tempfile on
fa
i
l
e
d close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
alwa
y
s che
c
k re
t
urn v
a
lue of
c
lose_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
verify_signed_buffer: pr
e
f
er close
_
tempfile() to close
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
setu
p
_temporary_shall
o
w: move tempfile struc
t
i
n
to
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup_tempor
a
ry_shallow: av
o
id using ina
c
tive tem
p
file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
King
write_
i
ndex_as_tr
e
e: clean
u
p
tempfile on
e
r
r
o
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config: use a static
l
ock_fi
l
e struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
Jeff
King
doc: fix typo in s
e
ndemai
l
.
i
d
entity
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
pretty: support normalization options for %(trail
e
rs)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff King
t4
2
05: refactor
%
(trailers) tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
prett
y
: m
o
ve
trailer formatting to trailer
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
interpret
-
t
r
ai
l
ers: add --parse conven
i
ence option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
interpret-tra
i
lers:
add a
n
op
t
i
o
n t
o
u
nfold
v
alu
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Kin
g
interpr
e
t-trailers: add an
o
p
t
ion
t
o
s
h
ow onl
y
existing
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Je
f
f Ki
n
g
interpret-
t
rai
l
ers: add an
option to
s
h
o
w only
t
he
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-10
Je
f
f King
trailer: put p
r
o
c
ess_trail
e
rs() options into
a
st
r
u
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff
King
sh
a
1_file:
d
rop
e
xp
e
r
i
menta
l
GIT_USE_LOOKUP search
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jef
f
Ki
n
g
hash
c
m
p: use
memcmp instead
o
f open-cod
e
d loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
J
e
ff King
r
ev
i
sion: do not fa
l
lback to def
a
ult
w
h
en re
v
_input_given
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
re
v
-list: don't
s
ho
w
usage
when we
see e
m
pty ref patterns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
revisio
n
:
ad
d
rev_input
_
giv
e
n flag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
J
eff King
t601
8
: f
l
esh
o
u
t
empty input/o
u
tput
r
ev-list tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff Ki
n
g
connect:
rej
e
ct paths that lo
o
k l
i
ke command lin
e
options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff Ki
n
g
c
o
nne
c
t: reject d
a
shed arguments for pro
x
y
commands
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
connect: fact
o
r out "l
o
o
k
s l
i
ke
c
o
mma
n
d
l
ine opti
o
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff K
i
ng
t5
8
13:
a
d
d
t
est for hostname starting
with dash
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
J
eff
K
in
g
t/li
b
-p
r
ot
o
-disab
l
e: rest
o
re
p
r
ot
o
col
.
allow after config
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-17
J
e
ff Ki
n
g
t: handle EOF in
test_copy_bytes()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-14
Jef
f
King
st
r
buf: u
s
e de
s
ignated in
i
tia
l
izers
in STRBUF_INIT
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filt
e
r
:
cons
u
lt want_col
o
r() before emitting co
l
ors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
King
pretty: resp
e
ct
c
olor sett
i
ngs f
o
r
%C
p
lacehol
d
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
rev-list: pa
s
s diffopt->use_colors throug
h
to pretty
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff K
i
n
g
for-each-r
e
f
:
load
c
onfig
e
a
r
lie
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
color:
che
c
k colo
r
.
ui in git_defau
l
t_config()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-fi
l
ter: pass ref_format struct to
a
tom parse
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
eff King
ref-filter: factor out
t
h
e parsin
g
of s
o
rting atom
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
King
r
e
f-filter:
make parse
_
re
f
_filter_atom a priv
a
te function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-fi
l
t
e
r: provid
e
a function for
p
arsing
s
o
r
t op
t
i
o
ns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
K
i
n
g
ref-fil
t
er: move need_c
o
lo
r
_reset_
a
t_eo
l
into ref_form
a
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Kin
g
r
e
f-
f
i
l
ter:
a
bstract ref format
i
nto its own struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
K
ing
ref
-
filter
:
simplify automatic
colo
r
r
e
set
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
e
f
f K
i
ng
t:
u
se test
_
de
c
ode_
c
o
lor rath
e
r t
h
a
n literal
A
NSI codes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
docs/for-each-
r
ef: u
p
date p
o
inter
t
o col
o
r s
y
ntax
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
e
f
f King
check ret
u
rn value of
v
er
i
fy_
r
ef_format()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-12
J
e
ff King
gc: ru
n
pre-detach operatio
n
s
under lo
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff
King
Make
f
ile: disable
u
nal
i
gned loads
with U
B
San
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff
K
ing
Makefile: t
u
rn off -fomit-frame-p
o
inter with sani
t
ize
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff
King
Makefile:
a
d
d
h
elper
f
or compiling with -fsanitize
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
J
e
f
f
King
test-
l
i
b: turn on ASan
a
bort_on_error by de
f
ault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Je
f
f Ki
n
g
test-lib: set ASAN_OPTIONS
variable before we run git
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jef
f
King
reflog-wal
k
: apply
-
-
since
/
--u
n
ti
l
to re
f
l
o
g date
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
reflog-walk:
s
t
op using fake paren
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
r
e
v-li
s
t: chec
k
reflog_info
b
efore showi
n
g usa
g
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff
K
i
ng
get_revision
_
1(
)
: replace do-w
h
ile
with
a
n
early return
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next