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
ewah: adjust callers of ewah_read_mmap()
2017-09-14
J
eff K
i
ng
a
vo
i
d "wr
i
te_in_fu
l
l(
f
d, bu
f
, len)
!
= len
"
pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
get-tar-commit-id: che
c
k wr
i
te_in_full() return
a
g
ainst 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
c
o
n
f
ig:
avoid "writ
e
_
i
n
_ful
l
(fd,
b
u
f
, le
n
) < len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cv
s
im
p
ort:
shel
l
-q
u
o
t
e variab
l
e
u
s
ed i
n
b
ack
t
icks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
arc
h
i
mport: u
s
e safe_pipe_capture for
u
s
er in
p
u
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
Ki
n
g
shell: dro
p
gi
t
-cvsserver suppo
r
t
by d
e
fa
u
l
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jef
f
K
i
ng
sho
r
tlog: skip fo
r
m
at/parse
roundtrip
f
or
i
nternal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
add
U
NLEA
K
a
nnota
t
io
n
fo
r
red
u
cin
g
l
e
a
k
f
alse positiv
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
J
e
ff Ki
n
g
git
_
extract_argv0_
p
ath: do nothing wit
h
ou
t
RUNTI
M
E_PR
E
FIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system_path: move
RU
N
TIM
E
_PREFIX
to a sub-fun
c
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
e
v-parse: don't trim b
i
sect refname
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
set_g
i
t
_
d
i
r: handl
e
feeding gitdir to itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
e
pository
:
free fiel
d
s before ove
r
wr
i
t
ing
them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
reset: free allocated t
r
ee b
u
ffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
res
e
t: m
a
ke tree counting less con
f
using
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
c
onfig
:
plug user_config leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
up
d
ate-ind
e
x:
fix
c
ache
e
nt
r
y
leak in add_one_fi
l
e()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
add:
f
ree
leaked pathspec afte
r
add_f
i
les_t
o
_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
test-lib: set LSAN_OPTIO
N
S to
a
b
o
rt by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
test-l
i
b:
-
-valg
r
ind should
n
ot over
r
ide
-
-verbo
s
e-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
stop
l
e
aking l
o
ck st
r
u
cts in
s
o
me simp
l
e
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 le
a
king l
o
c
k_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
Kin
g
lockfile:
u
pdat
e
l
ifetime re
q
ui
r
em
e
nt
s
in documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
t
e
mpf
i
le: auto-all
o
cat
e
temp
f
iles on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
t
empfile: remov
e
deactivated
lis
t
entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfil
e
: use list
.
h for linked l
i
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Ki
n
g
tempf
i
le: release deactivated st
r
bufs
i
nstead of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: robu
s
t
ify cl
e
anu
p
handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfi
l
e
: factor
out deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
t
empfile: factor out act
i
vation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile
:
re
p
lace die
(
"BUG")
w
ith BUG(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile:
handle NULL
tempfile pointers grac
e
fully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
tempfile: prefer is_
t
empfile_act
i
ve
t
o bare access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
l
ockfile: do not rol
l
back
l
ock on f
a
iled close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
tempfile: do not delete
t
empfile on failed c
l
ose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
always check r
e
turn va
l
ue of c
l
ose_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
verify_signed
_
buffer: prefe
r
close_te
m
p
f
i
l
e()
to close(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
s
e
t
up_temporary_sha
l
low: move temp
f
i
le struct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
se
t
up_temp
o
rary
_
shallow: avoid usi
n
g inact
i
ve temp
f
ile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
in
g
write
_
index_as
_
tree: clea
n
u
p
t
empf
i
le
o
n
erro
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
conf
i
g: use a
s
tatic lock_file
s
truct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
Jeff King
doc: fix t
y
po in sendemail
.
i
d
e
nt
i
t
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
eff King
pr
e
tty:
s
upport nor
m
alizati
o
n
o
p
tions for
%(trailers)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
t4205: refactor %(tra
i
lers) tes
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff Ki
n
g
pretty: move
t
railer
fo
r
matting to trailer
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
eff
K
ing
interpret-trailers: add --pa
r
s
e convenience op
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Je
f
f
King
interpret-trailers:
a
dd an opti
o
n to u
n
fold
v
alue
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff King
i
n
terpret-trai
l
ers:
ad
d
a
n
o
ption to show onl
y
existin
g
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Je
f
f
Ki
n
g
i
n
terpre
t
-trailer
s
:
a
dd an
option to
show only th
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-10
Jeff King
trailer: put process_tr
a
ilers() options
into a struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
J
eff King
sha1_
f
ile: drop experimen
t
al GIT_USE_LOOKUP search
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
hashcm
p
: use memcmp in
s
tead of ope
n
-c
o
ded loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jef
f
King
revision:
d
o
not fa
l
l
b
ac
k
to
default whe
n
rev_input_given
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
rev-list:
don't show usa
g
e when we see empt
y
ref
patt
e
r
ns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff Ki
n
g
r
e
vi
s
ion: add rev
_
input_giv
e
n flag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
t6018: flesh
out
empty input/output re
v
-li
s
t test
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff Kin
g
connect: reject p
a
ths that look
l
i
k
e comm
a
nd line options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
J
eff K
i
ng
connect
:
reject dashed
arguments
f
or
p
roxy comman
d
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff
K
in
g
c
onn
e
ct: factor out "
l
ooks like command line
option
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff
Ki
n
g
t5
8
1
3
:
add t
e
s
t
for hostname star
t
i
ng with
d
ash
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff
K
ing
t/l
i
b-
p
roto-dis
a
ble: restore
protocol
.
a
llow after config
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-17
Jeff King
t: handle EOF in t
e
s
t
_
copy_byte
s
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-14
Jeff King
strbuf: u
s
e designated initializers in STRBUF_INIT
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
re
f
-
filter: consul
t
w
a
n
t
_col
o
r() befo
r
e emitting colors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Kin
g
pret
t
y: respect
c
olor settings for
%C placeholders
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
King
re
v
-list: pass
d
iffo
p
t->use_colors through to pretty
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
f
o
r-
e
ach-ref: load config earlie
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
color: check color
.
ui in git_defa
u
lt_config()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
r
e
f-filte
r
: pass ref_format
s
t
ruct to atom pa
r
s
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff K
i
ng
ref
-
filter: factor ou
t
the pars
i
ng of sorting atoms
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Ki
n
g
ref
-
filter:
m
ake parse
_
ref_filte
r
_a
t
om a pri
v
a
te func
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
re
f
-filt
e
r:
p
rovide a func
t
ion
for parsing sort
o
ptions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
r
e
f-filter: move ne
e
d
_
color_
r
es
e
t_
a
t_eol i
n
to ref_format
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
King
re
f
-filter: abst
r
act
r
e
f format into its
own struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Kin
g
r
ef-filter
:
s
i
m
p
lify automatic co
l
or reset
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
t: use
test_decode_color
r
a
t
h
er than lit
e
ral ANSI code
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
docs/for-e
a
ch-ref
:
update po
i
n
t
er to
c
ol
o
r
synt
a
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
c
heck retu
r
n
value of v
e
rify_ref_format()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-12
Je
f
f Ki
n
g
gc: run pr
e
-det
a
ch opera
t
ion
s
un
d
er lo
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
Makefile: di
s
able unaligne
d
loads with UBSan
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
Makefi
l
e: turn o
f
f
-fomit
-
fr
a
me-point
e
r with sanitizers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
Make
f
ile: add hel
p
er for compil
i
ng with -
f
sanit
i
ze
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
test-li
b
: turn on AS
a
n abort_on_error by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
te
s
t-lib: set ASAN_OPTIO
N
S vari
a
ble before we run git
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
reflog-walk: apply --since/--until to reflog dat
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Je
f
f Ki
n
g
r
e
fl
o
g-walk: stop
usin
g
fake
p
a
r
ents
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
r
ev-list: check reflog
_
in
f
o before showing usage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff
King
get_r
e
vision_
1
(
)
: re
p
lace do-
w
hile
w
ith a
n
early return
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
J
eff
King
log:
d
o not free parents when
w
alking reflog
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
log: clari
f
y
comm
e
n
t about re
f
log cycles
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Je
f
f King
bra
n
ch:
set
r
emo
t
e colo
r
in r
e
f-
f
ilter branch immediately
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jef
f
K
i
n
g
branch: use BRA
N
CH
_
COLOR_LOCAL in re
f
-filter format
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff K
i
n
g
branch: o
n
ly perform HEAD check for local branches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-07
Jeff King
revi
s
ion:
d
i
sallow ref
l
o
g
walk
i
ng with r
e
vs->limited
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-07
J
eff King
t1414: document some reflog-walk oddities
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-07
Je
f
f King
refl
o
g-
w
a
l
k
: include a
l
l fields when freeing complete_reflogs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-07
Jeff King
reflog-w
a
lk: don't free re
f
lo
g
s
added
to
c
ach
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-07
Jeff King
reflo
g
-walk:
duplicate st
r
i
n
gs in co
m
plet
e
_refl
o
gs
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-05
Jeff K
i
ng
reflog-walk: skip ov
e
r
d
o
ubl
e
-nu
l
l oi
d
due to HEAD
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-21
Jeff Ki
n
g
a
d
d--interactive: quote
commentChar regex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next