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
notes-merge: drop dead zero-write code
2017-09-26
Jeff
K
ing
n
otes-me
r
ge: drop dead zero-write cod
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
f
iles-backend: prefer "0" fo
r
write_in_full() error
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
read
_
pack_header:
hand
l
e signed/unsigned com
p
arison
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config:
flip return
v
alue of store_w
r
i
t
e_*()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
no
t
es-merge: use ssi
z
e
_t for w
r
ite_i
n
_f
u
ll() return
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
pk
t
-line:
c
heck writ
e
_in
_
full() er
r
or
s
against "< 0"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
conv
e
r
t
l
ess-trivial versions
of "write_in_full()
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
av
o
id "write_in_full(fd, buf, len) != len" pattern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
get
-
tar
-
commit-id:
check wr
i
te_in
_
f
u
ll() return again
s
t 0
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
f
f King
config: avoid "write_
i
n_f
u
ll(fd, buf, len) < l
e
n"
patt
e
rn
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Jef
f
K
ing
short
l
o
g
: s
k
ip
f
orm
a
t/parse ro
u
ndt
r
i
p
f
o
r
intern
a
l
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Jeff
King
add UNLEAK annotation for reducing leak fa
l
se posi
t
iv
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jeff Ki
n
g
git_extra
c
t
_
a
r
gv0_path: do
n
othing
withou
t
R
U
NTIME_PR
E
FI
X
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
sy
s
tem_pa
t
h
:
m
ove RUNTIME_PREFIX to a sub-functio
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
r
e
v
-parse
:
don't trim bisect refname
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_git_dir: ha
n
dle
feedin
g
gitdir to
i
t
s
e
l
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Kin
g
r
eposito
r
y
:
f
r
ee fields before ov
e
r
wr
i
ting them
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
r
e
set: free all
o
c
a
t
ed tree buffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
K
ing
re
s
et: make
tree counting less
c
o
nfusing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config:
p
l
u
g
us
e
r
_
c
onfig leak
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
update-i
n
d
ex: fix
c
ache entry leak in add_one_file()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
a
dd: free
l
e
aked pathspec aft
e
r add_f
i
les_to_cache()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
test-lib: se
t
LSAN_OPTIONS
to abort by defaul
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test
-
lib: --valgrind sho
u
ld not
override --v
e
rbose-log
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
s
t
op
l
eaking lo
c
k
s
t
ru
c
ts in some simple
cases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
r
e
f
_lock: stop leaking lock_f
i
les
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
lockfi
l
e: update lifetime requirement
s
in documentation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: auto-alloca
t
e tempfil
e
s o
n
h
ea
p
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff K
i
n
g
tempf
i
le: r
e
m
o
ve
d
eacti
v
ate
d
list
entrie
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempf
i
l
e: use lis
t
.
h
for linked list
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
m
pf
i
l
e
:
r
elease deactivated st
r
buf
s
instead of reset
t
in
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpf
i
le: robustify cleanup handler
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
te
m
pfile:
f
a
c
tor out deactivati
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
m
p
f
ile: facto
r
out act
i
va
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
t
e
m
pfile: replace
d
ie("BUG"
)
with BU
G
()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
file: h
a
ndle NULL tempfil
e
pointers g
r
aceful
l
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfile: prefer is_tem
p
fi
l
e_active to
b
are
a
cce
s
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lock
f
ile: do no
t
r
o
l
lback
l
o
ck
on
fa
i
led clo
s
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile
:
do not del
e
te
t
empfile
o
n fail
e
d cl
o
se
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
ing
always che
c
k r
e
turn va
l
ue
of close_tempfile
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
verify_
s
ig
n
ed_buffer: prefer cl
o
se_t
e
mpfile() to close()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup
_
tem
p
orary_shallow: move tempfi
l
e struct into
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
s
e
tup_te
m
p
orary_
s
hallow: avoid
using i
n
a
ct
i
ve tempfile
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
wr
i
te_index_as_tree: cle
a
n
u
p tempfi
l
e on
e
rror
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
c
onfig:
u
se a sta
t
ic lock_file
s
truct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-20
Jef
f
King
do
c
: fix t
y
po in s
e
ndemail
.
id
e
ntity
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff K
i
ng
pret
t
y
: supp
o
rt normalization option
s
fo
r
%(trail
e
r
s)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Kin
g
t4205:
re
f
ac
t
or %
(
trailers) tests
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff King
pre
t
ty: move trailer fo
r
m
a
t
t
i
n
g to trailer
.
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jef
f
King
inte
r
p
ret-trail
e
rs: add --parse convenien
c
e o
p
tion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
J
eff King
i
nterpr
e
t
-
traile
r
s: ad
d
an opti
o
n to unf
o
l
d
values
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
interpret-traile
r
s: add an op
t
ion to show o
n
l
y
exist
i
n
g
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff K
i
ng
i
nterpret-trailers: add
an
o
pti
o
n to show
o
nly the
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-10
J
e
f
f
King
trai
l
e
r
: p
u
t process_trailers
(
)
optio
n
s i
n
to
a
struct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
sha1_fi
l
e: drop exper
i
me
n
tal
G
IT_USE
_
L
O
O
KU
P
se
a
rch
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-09
Je
f
f K
i
ng
hashcmp: use memcmp
i
n
stead
o
f ope
n
-coded loop
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
r
e
vi
s
i
on: do not fa
l
lb
a
ck
to default
when rev_input_given
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Je
f
f King
rev-list:
don't show u
s
age wh
e
n we
s
ee e
m
pty re
f
pa
t
ter
n
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff
King
revision:
add rev_input_given flag
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff Ki
n
g
t6018: flesh out e
m
pty input/outp
u
t re
v
-list test
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
connect:
reject
paths that look like
command line opt
i
ons
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jef
f
King
co
n
n
e
ct: re
j
ect das
h
ed
a
rguments fo
r
proxy commands
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
c
onnect: factor
out "lo
o
ks
l
ike command line option
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Je
f
f
King
t5813: a
d
d test for
hostnam
e
s
t
arting with da
s
h
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff
K
ing
t/lib-proto-disable: re
s
tore proto
c
ol
.
allow after config
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-17
Jeff King
t: han
d
le E
O
F in t
e
s
t
_copy_byte
s
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-14
Jef
f
Ki
n
g
strbuf: use des
i
gnated
i
nitializ
e
rs i
n
S
TRBUF_IN
I
T
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref
-
filter: consul
t
wa
n
t_color
(
) bef
o
re e
m
itti
n
g colors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
pretty: respect color settings f
o
r
%
C p
l
a
ceholder
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
rev-list: pa
s
s
diffopt->use
_
colors thro
u
gh
t
o
pretty
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
J
e
ff
King
f
o
r-e
a
c
h
-re
f
: load c
o
nfig earlie
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
c
o
lor: check
color
.
ui
i
n git
_
d
e
faul
t
_
c
on
f
ig()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Je
f
f King
ref-filter:
pas
s
ref_for
m
at struct to atom parser
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-
f
ilter: factor out the p
a
rsing of sorti
n
g
atom
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Kin
g
ref-filter: make pa
r
se_ref_
f
ilter_atom a private
f
unctio
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
King
ref-
f
i
l
t
er: provide a fun
c
tio
n
for parsing sort o
p
tions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
K
i
ng
ref-fi
l
ter: move need
_
c
o
lor_r
e
set_at_eol into ref_for
m
at
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
King
ref-filter:
a
bstract re
f
format into its ow
n
struct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
J
e
ff King
ref-filter: simplify au
t
omatic co
l
or reset
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
J
e
ff K
i
ng
t: u
s
e test_decod
e
_colo
r
rath
e
r than lit
e
ral ANSI code
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
J
eff King
do
c
s/for-each-ref:
u
pdate poi
n
ter to color synt
a
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Ki
n
g
check return value of
v
erify_ref_for
m
at()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-12
Jeff King
g
c
: r
u
n pre-detac
h
operation
s
under lock
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Jeff K
i
ng
Makefile:
di
s
a
ble unalig
n
ed load
s
with UBSan
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
J
e
ff
K
in
g
M
akefi
l
e
:
turn of
f
-f
o
mit
-
f
rame-poin
t
er
w
ith sanitizers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
M
akefi
l
e:
a
d
d hel
p
er f
o
r compi
l
ing
with -fsani
t
ize
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
test-lib: turn on ASan abo
r
t_on
_
erro
r
b
y d
e
f
a
ult
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
tes
t
-l
i
b: se
t
ASAN_OPTIONS vari
a
b
le be
f
o
re
we
r
un g
i
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jef
f
K
i
ng
r
e
flog-wa
l
k: apply --since/--unt
i
l to reflog dates
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
ref
l
og-walk: stop using f
a
ke parents
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
rev-list: check refl
o
g_info before showing usage
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Je
f
f
K
i
n
g
get_revision_1(): replac
e
do-w
h
ile
w
i
t
h an earl
y
return
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
J
e
ff
K
ing
log: do not free pa
r
ents
w
he
n
walking reflog
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
l
o
g: clarify c
o
mment
a
bout
r
e
f
lo
g
cycles
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff
King
branch:
set remote color i
n
ref-
f
ilter
b
ran
c
h immediately
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
b
ranch: us
e
BRAN
C
H_COLOR_L
O
CAL in ref-filte
r
fo
r
mat
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
branch: only p
e
rform HEAD chec
k
for local branches
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-07
Jeff
K
ing
revi
s
ion: d
i
sallow reflog wa
l
k
ing w
i
th
revs->li
m
ited
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-07
Jeff King
t
1414: document s
o
me reflog-walk oddities
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-07
Jeff King
reflog-walk: in
c
lude all fields when freei
n
g c
o
mplete_
r
eflogs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next