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
refs: convert read_ref and read_ref_full to object_id
2017-10-10
Jeff
King
write_entry:
u
nt
a
ngle
symli
n
k and regular
-
fil
e
cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
wr
i
te_entry: avoid
r
eading blob
s
in CE_RETR
Y
case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff
K
i
ng
write_entry: fix leak when retrying delayed
fi
l
t
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
refs
_
resolve
_
r
ef_uns
a
fe: hand
l
e d/f conflicts for
w
rites
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Je
f
f K
i
ng
t3308: create a real ref director
y
/fi
l
e c
o
nflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff
K
ing
sha1_
l
oose_object_info: handle erro
r
s fro
m
un
p
ack
_
sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
p
a
t
h
.
c: f
i
x unini
t
ialized
m
emory access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t
7301:
u
s
e test_terminal
to c
h
eck color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015: use --
c
olor with --color-move
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
Kin
g
color: make "always" t
h
e
same as "
a
uto"
in
c
onfig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provide --colo
r
option for all ref-filt
e
r users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
3205: use --color
i
nst
e
ad of
c
olor
.
branch=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3203: d
r
op "
a
lw
a
ys" co
l
or test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t6006: d
r
o
p
"alwa
y
s" color config te
s
ts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t7502: us
e
diff
.
no
p
refix for --verbose test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
Ki
n
g
t7
5
08: use t
e
st
_
termin
a
l for col
o
r
output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t3701
:
u
s
e
test-termi
n
al to collect
c
ol
o
r
ou
t
put
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t
4
015:
prefer --color t
o
-c color
.
diff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t
e
st-term
i
nal: set TERM
=
v
t100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
git: add -
-
no-optional-locks option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff Ki
n
g
vali
d
ate_headref: use
g
et_oid_hex for detac
h
ed HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_headre
f
:
use skip_pref
i
x for symref p
a
rsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
vali
d
at
e
_headre
f
: NUL-term
i
nate
H
EA
D
b
u
ffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
worktree:
c
heck the result of read_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
worktree: use
xsize_t to
a
c
cess
f
ile size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
dist
i
nguish
error versus short re
a
d
f
r
o
m read_i
n
_fu
l
l
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
avoid loo
k
ing a
t
errno f
o
r
s
hort read_in_full() returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
pre
f
er
"
!=" when chec
k
i
ng r
e
a
d_in
_
f
ull() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Je
f
f King
notes-
m
e
r
ge: drop
dea
d
zero-write code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
fil
e
s-backe
n
d:
p
r
e
fer "0" for
write_in_full() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
J
eff King
doc: pu
t
literal block
d
elimiter around
t
able
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff King
consiste
n
t
l
y use "fallthrough" commen
t
s in
swi
t
ches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
curl_trace(
)
: elimin
a
t
e
switch fallthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
test-line-bu
f
fer: simp
l
if
y
command parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff Kin
g
cat-file
:
handle
N
U
L
L
object_context
.
p
at
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revision: replace "struct cm
d
line
_
p
a
th
s
pec" with argv_arr
a
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read
_
i
nfo_al
t
ernates
:
warn on non
-
trivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_al
t
ernates:
read cont
e
nts into
strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
prefix_ref_iterat
o
r: break when w
e
leave
the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
n
g
read
_
pac
k
_
he
a
der: handl
e
signed/u
n
signed
c
om
p
a
r
ison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config:
f
lip return value
of s
t
o
re_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
no
t
es-merge
:
use ssize
_
t
f
or write_in_full(
)
return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
pkt
-
l
i
n
e: check wr
i
te
_
in_full() e
r
rors again
s
t "<
0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
in
g
con
v
ert l
e
ss-trivial ver
s
i
o
ns of "write_i
n
_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
avoid "write_in_full(
f
d, buf, le
n
) != le
n
" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
get-
t
ar-c
o
mm
i
t-id: check write_in_full()
r
eturn
a
gainst 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: avoid "write_in_f
u
l
l
(fd
,
buf, l
e
n)
<
len" pa
t
tern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cv
s
import
:
s
he
l
l-
q
uote variable us
e
d in ba
c
kticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Ki
n
g
arc
h
import: use safe_p
i
pe_c
a
pture
f
or
u
s
e
r input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
e
f
f K
i
ng
shell: d
r
o
p git-cvsser
v
e
r support
by
def
a
ult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
shortlo
g
:
s
k
i
p
for
m
at/parse r
o
undtrip f
o
r internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff
K
ing
add UNLEAK annot
a
tion f
o
r reduc
i
ng lea
k
false po
s
itives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
gi
t
_extr
a
ct_argv0_path:
d
o nothing wi
t
ho
u
t RUNTIME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system_path: mov
e
RUNTIME_PREFIX
to a sub-
f
uncti
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev-parse
:
don't trim bisect refnam
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
s
e
t
_g
i
t_dir:
h
andl
e
feed
i
n
g gitdir to
i
tself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
repos
i
tory: free fi
e
lds before overwriting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset:
free allocate
d
t
r
ee buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
re
s
et: m
a
ke tree count
i
ng less confusin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
co
n
fig: pl
u
g user_
c
onfig leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
Kin
g
upda
t
e
-index: fix ca
c
he entry leak in add_one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
a
d
d: free
lea
k
ed pathspec after ad
d
_fi
l
es
_
to
_
cache
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
test-lib: set LSAN_OPTIONS to abo
r
t by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
test-lib: --valgrind
s
hould not
o
ver
r
id
e
--verbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
st
o
p le
a
kin
g
lock structs
in some s
i
m
p
l
e cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
ref_lock: s
t
op leaking lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
l
ockf
i
l
e: update lifetime req
u
irements in do
c
um
e
ntatio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
te
m
pfile: au
t
o
-a
l
lo
c
ate t
e
mpfiles
o
n h
e
ap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
K
ing
tempfile:
r
emove de
a
ctivated li
s
t entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Ki
n
g
t
e
mpfile:
use l
i
s
t
.
h
fo
r
linked
list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Kin
g
tempfile:
r
ele
a
se d
e
act
i
vated strbufs inst
e
ad of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
file: robustify clea
n
u
p
handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempf
i
l
e
: factor out deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
tempfile:
factor out acti
v
a
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
fi
l
e
:
replace die("BUG") with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: handle N
U
LL t
e
mpfile
pointers gracefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
t
e
mpfile
:
p
refer is
_
tempfi
l
e_active to bare access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
lockfile: do not
r
ollback lock on faile
d
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfil
e
: do
no
t
del
e
te
t
empfile on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
alw
a
ys check return value of close_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
verify_signed_bu
f
fer: prefer close_tempfile() to close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
s
e
t
up_tem
p
orary
_
shallow: move tempfile
s
tr
u
ct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
se
t
u
p_
t
empor
a
r
y_sha
l
low: avoid using in
a
c
t
ive tempf
i
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
in
g
wri
t
e_index
_
as_tree: cl
e
anup tempfil
e
on
e
rror
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config: use a sta
t
ic lock_
f
ile
str
u
ct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
Jeff King
doc: fix typo in sendemai
l
.
i
d
enti
t
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Ki
n
g
p
ret
t
y: suppor
t
normaliza
t
i
o
n options for %
(
trailers)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Je
f
f King
t4205: refactor %(
t
railers
)
t
es
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
pretty: move trailer formatting to trailer
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
interpret-trail
e
rs: a
d
d --parse co
n
venience
option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff
King
interpret-trailers:
add an option to unf
o
ld values
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
eff
Kin
g
interpret-trai
l
ers: add an optio
n
t
o
show o
n
l
y
existing
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
i
n
terpret-trailers: add an
o
ption t
o
show only the
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-10
Jeff Kin
g
trailer: put
p
r
ocess_trai
l
ers(
)
opt
i
ons into a s
t
ruc
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff
K
ing
sha1_file: drop
e
xp
e
r
i
mental GIT_USE_LOOKUP search
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
hashcmp: use memcmp instead
o
f op
e
n-cod
e
d
l
o
o
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff
K
ing
revision: do not fallback to defaul
t
when rev_input_gi
v
en
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff Kin
g
r
ev-l
i
st: don't show usage when we see em
p
ty ref patterns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
r
evisi
o
n: add rev_i
n
p
ut_gi
v
en fla
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
t6
0
18: flesh out empty
inp
u
t/out
p
ut rev-list test
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next