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
t5600: modernize style
2018-01-03
Jeff King
t
5600
:
moder
n
iz
e
s
t
yle
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2018-01-03
Jeff
Kin
g
t560
0
: fix out
d
ated comment ab
o
ut un
b
orn HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Jeff King
link_al
t
_o
d
b_ent
r
i
e
s: make e
m
pty
i
nput a noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
setup: avoid double slashes
when loo
k
ing for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
worktree
:
handle broken symref
s
in fin
d
_share
d
_symref()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
log: handle br
o
ken HEAD in decoration c
h
eck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
remote:
handle broken symrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f
K
ing
test-ref-store: avoid
pas
s
ing NULL to printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
diff: handle NULs in get_stri
n
g_hash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
diff: fix
whitesp
a
ce
-
skipping wit
h
--color-
m
oved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
t4015: t
e
st the output of
"dif
f
--color-mo
v
ed
-
b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
t4
0
15: check
"
n
egative" case for "-w --co
l
or-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
t4015:
refac
t
or
--color-moved whites
p
a
c
e test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
tag: r
e
spect color
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff Ki
n
g
Revert "color: c
h
e
c
k
color
.
ui in git_defau
l
t_
c
onfig()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
King
Revert "t6006: drop "always"
color config tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "color: make "always" the same
as "auto" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
J
e
f
f King
diff: fix infinite
l
oop with --colo
r
-moved --ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
J
eff King
w
r
ite
_
entry: unta
n
gle
syml
i
nk and regular-file cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
wr
i
te_e
n
try: a
v
oid reading blobs in CE_
R
ETRY c
a
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff
K
ing
write_entry: f
i
x
leak
w
hen
retryi
n
g delayed fi
l
ter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff Ki
n
g
refs_
r
e
sol
v
e_ref_unsafe:
handle d
/
f c
o
nflicts f
o
r
writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Je
f
f Kin
g
t3308:
c
reate
a rea
l
r
e
f
directory/file
c
onflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sha1_loose_object_info:
handle errors from u
n
p
ac
k
_sha1_
r
est
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f
King
p
a
t
h
.
c:
f
ix unini
t
ializ
e
d
m
e
mory access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7301: u
s
e
t
est_
t
erminal to c
h
eck color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t401
5
: u
s
e
--color
with --c
o
lor-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
color: make "always
"
the same as "auto" in con
f
ig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
p
r
ovide -
-
color option for all ref-f
i
lter
us
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3205: u
s
e --colo
r
inst
e
ad of
color
.
branc
h
=a
l
way
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t3203: drop "alway
s
" color
t
est
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t6006:
d
r
o
p "always
"
color c
o
nfig tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t75
0
2: use
d
i
ff
.
noprefix for
--verbose t
e
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff K
i
ng
t75
0
8: use t
e
st_termina
l
for color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
t
3
701
:
use t
e
s
t-
t
ermina
l
t
o collect col
o
r output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f
King
t4015
:
prefer -
-
c
o
lor
to -c color
.
diff=al
w
ays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f
King
test-te
r
minal: s
e
t TERM=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
git: ad
d
--no-o
p
tion
a
l
-
locks option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
validat
e
_
h
e
adref:
use
get_
o
i
d
_
h
e
x for detached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
va
l
idate_headref: use skip_prefix for sy
m
ref
p
arsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validat
e
_headref: NUL
-
t
e
rminate
H
EAD
b
uffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
w
o
rktree: check the
r
esult of read_i
n
_fu
l
l()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktre
e
: use xsiz
e
_
t
to access file size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
disti
n
guish erro
r
v
ersus short read from r
e
a
d
_in_
f
ull()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
a
v
oid
l
ooking at
e
rrno f
o
r sh
o
rt
rea
d
_i
n
_
fu
l
l(
)
r
e
turns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
p
r
e
f
er "!=" w
h
en
c
hecking read_in
_
f
ull
(
)
r
e
sult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
notes-merge: drop dead zero-
w
rite
c
ode
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
fil
e
s-backend: prefer "
0
" for write_in_full(
)
error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
J
eff
King
doc: put l
i
teral
b
lock d
e
limiter
around table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff Ki
n
g
consist
e
ntly us
e
"fallthrough" commen
t
s in switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
curl_trac
e
():
e
l
i
minate switch
f
a
l
l
t
h
r
o
u
g
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f King
t
est-line-
b
u
f
f
er: simplify command parsin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
i
ng
cat-f
i
le: handle NULL object_
c
o
n
text
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
r
e
vi
s
i
on
:
replace
"struct c
m
dl
i
ne_pathspec" with arg
v
_
a
rray
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
e
f
f
King
read_i
n
f
o
_alternate
s
: warn
o
n
n
on-tri
v
ial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff
K
i
ng
read_info_alte
r
nates: rea
d
content
s
into str
b
uf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
prefix_ref_
i
tera
t
or: bre
a
k
when
w
e leave the
p
refix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
re
a
d
_
pack_header: h
a
ndle signed/un
s
igned
c
omparis
o
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: flip r
e
t
u
rn value o
f
s
t
ore_wr
i
te_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
notes-merg
e
: use
ssize_
t
f
o
r write
_
i
n
_
f
ull() return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
n
g
pkt-line: check
w
rite_in_ful
l
() err
o
rs ag
a
inst "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
conv
e
rt l
e
s
s-trivial versio
n
s of "wri
t
e_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
a
v
oid "wr
i
te_in_
f
ull(fd, buf,
len) != len" p
a
ttern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff Ki
n
g
g
et-tar-comm
i
t-id: check
writ
e
_in_f
u
l
l
() ret
u
rn against 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
config: avoid "write_in_
f
ull(fd, buf, le
n
) < len" pa
t
t
ern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cvsimp
o
rt: sh
e
ll-quote variable used in backtic
k
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Kin
g
archimport: u
s
e safe_pip
e
_capt
u
re for us
e
r input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
shell: drop
gi
t
-cvsserve
r
s
u
pport by d
e
fault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff Kin
g
shor
t
log: s
k
i
p
format
/
p
a
rse roundt
r
ip for interna
l
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff King
add UNLEAK annota
t
ion for reducing leak false positive
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git
_
extract_argv0_path: do
n
othing
w
i
thou
t
RUN
T
IM
E
_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system
_
pa
t
h: move RUNTIME_PRE
F
IX to a sub
-
f
u
n
ct
i
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
rev-
p
arse
:
don't trim bis
e
ct refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
set_git_dir: handle feeding gitdir to
i
tself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
rep
o
sitory: free f
i
elds bef
o
re overwri
t
in
g
them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset: fr
e
e
a
llo
c
ated tree
b
uffe
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset: make tree
counting less confu
s
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
co
n
f
ig: plu
g
user_c
o
nfig leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
update-
i
ndex: fix
c
ache
entry leak in add_o
n
e_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
add:
f
r
ee
leaked
pat
h
s
p
e
c after
add_file
s
_to_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
t
e
st-
l
ib: set LSAN_OPT
I
O
N
S t
o
a
bort b
y
default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
t
e
st-lib: --valgrind shou
l
d not ove
r
ride -
-
v
erbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
stop
le
a
king lock structs in some simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_lock:
s
top
l
eakin
g
lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
lo
c
kfile: update
lifetime requirements in
docume
n
t
ation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tem
p
file:
auto-allocate tempfiles on h
e
ap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
ing
t
e
mpfile: remove deactivated list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: use
l
is
t
.
h f
o
r
linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
t
e
mpfile: releas
e
deactivated strbufs instea
d
of resetti
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
n
g
tempfile: r
o
bust
i
fy cleanup han
d
le
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: fa
c
t
or
o
u
t deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfile: factor out activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfile
:
r
e
place die("BUG") with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tempf
i
le:
hand
l
e NULL tempfile pointers gracefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
t
emp
f
ile: prefer
i
s
_
tempfile_active to bare access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
l
o
ck
f
ile
:
do not rollback lock on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Kin
g
tempfile: do not delete tempfile on failed cl
o
se
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
i
n
g
a
l
w
ays check retur
n
value
of close_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
veri
f
y_signed_b
u
ffer: prefer clos
e
_temp
f
ile()
to
close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
s
e
t
up_te
m
por
a
ry_s
h
a
l
l
o
w: mo
v
e t
e
mpfile struct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next