repo.or.cz
/
alt-git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
find multi-byte comment chars in NUL-terminated strings
2024-03-12
Jef
f
K
ing
find
m
u
lti-byte comment chars
i
n
N
UL
-
t
erminated
s
trings
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-03-12
Jeff King
prefer commen
t
_
l
ine_str to comm
e
nt_line
_
char fo
r
printing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-03-12
Jeff King
strbuf: accept a comment string for
str
b
uf_
a
dd_comme
n
ted
_
li
n
es()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-03-12
Jeff
King
strbuf: accept a comm
e
nt stri
n
g for strbuf_co
m
me
n
ted_addf()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-03-12
J
ef
f
King
strbuf: accept a comment string for strbuf_st
r
ipspace
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-03-12
Jeff King
environ
m
ent: store com
m
en
t
_l
i
ne_char as
a
str
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-03-12
Je
f
f
Ki
n
g
strb
u
f
:
avo
i
d shadowi
n
g global c
o
mment_line_char na
m
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-03-12
J
e
ff
K
ing
commit: refactor b
a
se-case of adjust_comme
n
t_lin
e
_c
h
ar()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-03-12
J
eff King
strbuf:
a
void static varia
b
les in strbuf_add_c
o
mmented_li
n
e
s()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-03-12
Jeff
K
ing
strbuf: simp
l
i
fy comment-handl
i
ng i
n
a
d
d
_line
s
() helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-03-12
Jef
f
King
config
:
forbi
d
newline as cor
e
.
commentChar
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-02-26
J
e
ff King
rea
d
_ref_at(): special-case r
e
f@{0} f
o
r an empty
r
efl
o
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-02-26
Jeff Kin
g
ge
t
_oid_basic(): specia
l
-case ref@{n} f
o
r oldest reflog
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-02-26
Jeff K
i
ng
Revert "refs: allow
@
{n}
t
o w
o
rk with n-sized reflog"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-02-26
Jeff King
user
d
i
f
f: ski
p
textconv caching when not in a repository
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-02-20
Jeff
K
ing
t
rail
e
r: fix c
o
m
men
t
/cut-line regression
with op
t
s
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-02-19
Je
f
f
K
ing
t0303: check that
helper_test_clean removes all cred
e
ntials
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-01-31
Jeff King
t/Makefile: get UNIT_TEST
S
list
f
rom C source
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-01-30
Jeff King
Mak
e
file: re
m
o
v
e UNIT_TEST_BIN directo
r
y w
i
th "ma
k
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-01-30
Jeff
K
ing
Makefile
:
use mkdir_p_par
e
nt_template
f
or UNIT_TEST_BIN
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-01-29
Jeff King
diff: handle NULL meta-info w
h
en spawning
external
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-01-24
Jeff K
i
ng
transport-helper
:
re-exami
n
e ob
j
ect dir
after fetching
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-01-05
Jeff Kin
g
index
-
pack
:
s
p
awn t
h
r
e
ads atomically
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2024-01-05
Jeff K
i
ng
c
o
mmit-grap
h
:
reta
i
n commit s
l
ab
w
hen closing NULL
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-21
J
e
f
f Kin
g
t1006:
a
d
d tests fo
r
%(objectsize:dis
k
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-14
Jeff K
i
ng
mailinfo:
a
void r
e
cursion when unquoting From heade
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-14
Jeff King
t
5100: mak
e
rfc822 comment test more carefu
l
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-12
Je
f
f King
maili
n
fo: fix out-of-bounds me
m
o
r
y
reads in unq
u
ote_quoted_p
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
Jeff Ki
n
g
s
e
q
ue
n
cer: simplify away extra git_config_string()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
Jef
f
Kin
g
gpg-
i
nte
r
f
ac
e
: drop poin
t
less config_error_nonbool
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
Jeff King
push: d
r
op c
o
n
f
using configset/c
a
l
l
bac
k
red
u
n
d
a
n
c
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
Je
f
f King
config:
u
s
e git_config_string() for c
o
re
.
checkRound
T
ripEncoding
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
Jeff K
i
ng
diff:
give mo
r
e detailed messages for
bo
g
us di
f
f
.
*
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
Jeff King
c
o
nf
i
g
:
use conf
i
g_error_nonbool
(
) inst
e
ad of cus
t
o
m
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
Jeff King
imap-sen
d
: don't use git_die_conf
i
g
(
)
inside callback
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
J
eff
K
i
n
g
git
_
xm
e
r
g
e_con
f
i
g(): prefer error()
t
o die()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
Jeff King
con
f
ig: reject
b
o
g
us values fo
r
core
.
che
c
kstat
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
Jef
f
K
i
ng
fsck:
h
andle
NUL
L
value when par
s
i
ng message config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
Jeff K
i
ng
trailer:
handle NULL
v
a
lue when parsing trailer-s
p
ec
i
f
i
c
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
Jeff King
submodule: hand
l
e
NULL value when parsi
n
g submodule
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
Jeff K
i
ng
hel
p
:
h
andl
e
NULL value for alias
.
* conf
i
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
J
e
f
f King
tr
a
ce2: han
d
l
e NULL valu
e
s in tr2_sysenv
c
onfig callb
a
ck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
Jeff King
s
e
tup:
h
a
ndle
N
ULL v
a
lue when
p
arsing extensio
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
Jeff
King
conf
i
g: han
d
le NULL value when parsing non-bo
o
ls
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
J
e
ff
King
bisect:
a
lways
cl
e
an on reset
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-12-08
Jeff King
par
s
e-opt
i
ons: decouple "--end-of-options" and "--"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-11-09
Jeff King
commit-graph
:
mark
c
hunk error mess
a
ges fo
r
tran
s
lation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-11-09
Jeff
K
ing
comm
i
t-graph
:
dr
o
p verify_commit
_
graph_
l
it
e
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-11-09
Jeff King
commit-
g
ra
p
h: ch
e
ck order while rea
d
ing fa
n
out chunk
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-11-09
Jeff Kin
g
commit-graph: us
e
fanout
value
f
o
r gr
a
ph size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-11-09
Jeff King
commit-graph:
abor
t
as
soon as we see a bo
g
us
c
hu
n
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-11-09
Jeff King
commit-graph:
c
larify m
i
s
sing-
c
hunk err
o
r
messages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-11-09
Je
f
f King
commit-graph: drop
redundant call
t
o "lite" verific
a
ti
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-11-09
Je
f
f King
midx: check c
o
ns
i
stency of fanou
t
t
able
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-11-09
Jeff Kin
g
comm
i
t
-
gra
p
h: ha
n
dle overflow i
n
chunk_siz
e
checks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-11-04
Jeff King
t
: avoid perl's pack/unpac
k
"
Q" spe
c
ifier
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-20
Jeff K
i
ng
send
-
e
m
a
i
l: handle to/cc/bcc from --c
o
m
p
ose message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-20
Jeff Ki
n
g
Revert "send-email:
e
xtract email-parsing code into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-20
Jeff King
doc/send-ema
i
l: mentio
n
handling of "reply-to
"
wit
h
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-14
J
e
ff
K
in
g
t5319: make
co
r
r
u
pted large-offset t
e
st more
r
obust
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
J
eff Ki
n
g
chunk-for
m
at: drop pair_chunk_un
s
afe()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff King
commit-graph
:
detect out-of-orde
r
BIDX offsets
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff King
commit-graph: check bounds when acce
s
sing
B
IDX
chun
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff King
commit
-
graph:
check bou
n
ds wh
e
n ac
c
essin
g
BD
A
T chunk
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jef
f
King
co
m
m
i
t-gra
p
h
:
b
ounds-check
ge
n
eration overfl
o
w chunk
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff King
co
m
m
it-graph: check
size of ge
n
e
r
ations chunk
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff King
commit-graph:
bo
u
nds-check
base
graphs chu
n
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff King
c
ommit-graph: detect out-of-b
o
unds e
x
tra-edges pointer
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff Kin
g
c
o
mmi
t
-graph: chec
k
s
ize of commit data
chu
n
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Je
f
f
King
midx: check size
o
f revindex chu
n
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff King
midx:
b
o
u
nd
s
-check la
r
ge offset
chunk
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff K
i
ng
m
i
d
x: check s
i
z
e
of
o
bject offset chunk
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff
Ki
n
g
midx:
e
nfo
r
ce c
h
unk alignment
on
reading
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff Ki
n
g
midx: check size
of pack na
m
es
c
h
u
nk
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
J
e
f
f King
c
ommit-
g
raph: che
c
k consis
t
e
n
c
y
of fan
o
u
t
t
a
ble
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff
King
mi
d
x: check size of oi
d
lookup chunk
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff King
c
ommit-gr
a
p
h
: c
h
eck size of
o
id fanou
t
chunk
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff King
mid
x
: stop ignoring malf
o
rm
e
d
oid
f
a
n
out c
h
unk
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff Ki
n
g
t: add library for munging chunk-forma
t
files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff King
chun
k
-format: note that pai
r
_chunk() is unsaf
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-09
Jeff
King
repack
:
free
existing_c
r
uft array after us
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-05
Jeff King
daemon
:
f
ree listen
_
addr before returning
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-05
Jeff King
re
v
i
s
i
o
n: c
l
ear decoratio
n
s
t
r
uc
t
s
d
uring release_revision
s
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-05
Jeff King
decorate: add clear_dec
o
r
ation(
)
function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-03
Jeff King
commit-graph:
cle
a
r oidset after finish
i
n
g
w
rite
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-03
Jeff King
c
ommit-
g
raph: f
r
ee write-context b
a
se_gra
p
h_name
dur
i
n
g
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-03
Jeff King
commi
t
-gra
p
h:
f
ree write-context entries before
overw
r
i
ting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-03
J
e
f
f
King
c
ommit-graph: f
r
ee graph struct that
w
as not ad
d
ed
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-03
Jeff King
commit-graph: delay base_g
r
aph assi
g
nment in ad
d
_graph_t
o
_ch
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-03
Jeff King
com
m
i
t
-
g
raph
:
free all elemen
t
s of graph
c
hain
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-03
Jeff
K
i
ng
commi
t
-graph: move slab-
c
learing to close_c
o
mmit_gr
a
ph()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-03
J
ef
f
King
m
erge:
fre
e
result o
f
repo_get_
m
erge_bases()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-03
Jeff
K
i
ng
commi
t
-reach: free temp
o
rary list
in g
e
t
_
o
ctopus_mer
g
e_bases()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-10-03
J
eff King
t6
7
00: mar
k
test as leak-free
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-09-28
Jeff
King
c
o
m
mit
-
g
r
a
ph: repor
t
inco
m
ple
t
e chains durin
g
verification
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-09-28
Je
f
f
King
commit-graph:
tighten
chain size
c
h
eck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-09-28
Jeff
K
i
ng
c
o
mmi
t
-graph: de
t
e
ct read
e
rrors when verify
i
ng graph
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-09-28
Jeff
K
ing
t53
2
4: ha
r
mon
i
ze sha1/sha25
6
graph chain corruption
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-09-28
Jeff King
commit-graph: check mixe
d
ge
n
era
t
io
n
valid
a
tion when
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2023-09-28
Jeff King
commit-graph: factor out
c
hain
opening fun
c
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next