repo.or.cz
/
git
/
debian.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
distinguish error versus short read from read_in_full()
2017-09-27
Jef
f
King
distinguish
e
rror
ver
s
us short
r
e
a
d from r
e
ad_
i
n_
f
ull
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Kin
g
avoi
d
lookin
g
at errno f
o
r short read_in_fu
l
l
(
) re
t
urns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
prefer "!=" whe
n
c
hecking
r
ead_in_full() resu
l
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
J
eff Kin
g
notes-merge: drop dead
z
ero-write code
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
Jeff
King
files-b
a
ckend: pr
e
fer "0
"
for write
_
in_full()
e
r
r
or
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
read_pack_head
e
r: handle sign
e
d/unsigned
c
omparison
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
confi
g
: flip return val
u
e o
f
store_write
_
*(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
notes-merge: use ssize_t for
w
rite_in_
f
u
l
l() re
t
urn
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
pkt-line: check writ
e
_
in_fu
l
l() err
o
rs against "< 0"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
Ki
n
g
convert les
s
-
t
r
ivial versions of "writ
e
_in_full()
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid "wri
t
e_in_full(fd
,
buf, len) != len" pattern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff
King
get-ta
r
-co
m
mit-id: check w
r
ite_in_full() return
a
g
ainst 0
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff
K
ing
confi
g
:
avoid "write_i
n
_full(fd, buf, len) <
len"
p
attern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
shortlog: sk
i
p for
m
at/parse
roundtrip for internal
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
add
UNLE
A
K an
n
otati
o
n
f
or red
u
cing
leak false po
s
it
i
ves
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
J
e
ff King
git_extract_argv0_path: do nothing
w
ithout RUNTIME
_
PREF
I
X
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
J
eff King
system_path: move RUN
T
IME_PREFIX
t
o a sub-function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
King
rev-parse: do
n
'
t
t
r
im bisect refname
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
K
in
g
set_git_dir: hand
l
e f
e
eding gitdir to itself
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
reposit
o
ry: fr
e
e
f
ields
b
e
f
o
r
e
overw
r
iting the
m
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
reset: free
allocat
e
d tree buffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
reset: make tree count
i
ng
le
s
s confu
s
i
ng
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
confi
g
: pl
u
g
u
ser_con
f
ig le
a
k
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
K
ing
u
pdat
e
-index:
fix ca
c
he entry leak
i
n add_one_file()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: free leaked pathspec after a
d
d_
f
i
les_to_c
a
che()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-li
b
: set LSAN_OPTIONS to abort by default
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
est-lib: --valgrind should not override
-
-ver
b
o
s
e-log
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
stop leaking lock s
t
ructs in some sim
p
le case
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
re
f
_lo
c
k:
stop leaking
lock_files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
lockfi
l
e: update lifetime
r
equirements in documentation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
t
emp
f
ile: auto-allocate tempfil
e
s on
he
a
p
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfile: remove deactiva
t
ed l
i
s
t
entr
i
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
t
e
m
pf
i
le:
u
se list
.
h
f
or linked
list
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfi
l
e: release de
a
ctivated strbufs in
s
t
ead of resetting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff K
i
n
g
tempfile: robustify cleanup handler
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
in
g
tempfile:
f
actor out deactivation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
K
ing
t
emp
f
i
le: fact
o
r o
u
t a
c
tivat
i
on
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
temp
f
i
le: replace die("BUG")
w
ith
BUG(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
t
empf
i
le: handle NUL
L
t
empfile pointers gr
a
cefull
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tempfile: pref
e
r is_tempfil
e
_
a
ctive to bare access
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
i
ng
lockfile:
do not rollback lock o
n
failed clo
s
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile
:
do not d
e
lete tem
p
fil
e
on
failed close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
always che
c
k return value o
f
close_temp
f
ile
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
King
verify_signed_buffer:
p
refer close_tempfile() to close()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup_tempora
r
y_sha
l
low: move tempf
i
le s
t
ruct into
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
se
t
up_tempora
r
y_
s
hallow:
a
void us
i
ng inactive
tempfile
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
n
g
w
r
ite_index_as_t
r
ee: c
l
ean
u
p
t
empfile
o
n
e
rror
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff K
i
ng
config: u
s
e a st
a
tic loc
k
_file struct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-20
Jeff King
do
c
:
f
ix typo
in s
e
ndemail
.
identity
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jef
f
King
p
re
t
ty:
s
upport normalization opt
i
ons fo
r
%(trailers)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Je
f
f King
t4205: refac
t
o
r %(tr
a
ilers) tests
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Je
f
f King
pretty: move tra
i
ler formatt
i
n
g
to trailer
.
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
interpr
e
t-tr
a
ilers: add --parse convenience option
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
interpret
-
trailer
s
: add an opt
i
o
n to unfo
l
d values
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Ki
n
g
in
t
erpret-trailers: add an o
p
t
ion to
s
how only existing
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff King
in
t
erp
r
et-trai
l
ers: add an option to show onl
y
the
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-10
Jeff King
trailer: put
p
rocess_trailer
s
(
) options into a struct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
sha
1
_file: drop e
x
perimental GIT_US
E
_LOOKUP search
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-09
Jeff
King
h
a
shcmp: use m
e
mc
m
p instead of open-c
o
ded loop
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
J
e
f
f King
rev
i
s
i
o
n: do
not fallbac
k
t
o
default
w
he
n
r
ev_input_
g
iven
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff K
i
ng
rev-list: don't sh
o
w usage when we see e
m
pty ref patterns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
J
eff King
rev
i
s
ion: add rev_
i
nput_given
f
lag
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
t6018
:
flesh
o
ut empty inp
u
t/
o
utput
re
v
-list tests
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff
K
i
ng
connect: reject paths that look li
k
e
c
o
mm
a
nd
line options
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
connect
:
reject dashed arguments for proxy
commands
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff
King
connect: factor
out "
l
ooks like command line option
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
J
e
ff
K
i
ng
t5813: add test for ho
s
tname sta
r
ting with das
h
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
J
e
ff King
t
/lib-
p
roto-
d
isable: r
e
store
p
r
o
t
o
c
ol
.
a
l
l
o
w after
co
n
fig
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-17
Jeff King
t:
h
an
d
le EOF in test
_
co
p
y_bytes()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-14
Jeff Kin
g
s
t
r
bu
f
: use designated initializers in STRBUF_INIT
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
J
eff King
ref-filter: consu
l
t
w
a
n
t_color() bef
o
re
emitting colors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
pretty: resp
e
ct color setti
n
gs for %C placeholders
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
J
eff K
i
n
g
r
e
v
-li
s
t: pass
d
i
f
f
o
pt->use_colors through to pretty
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
for
-
each-
r
ef: lo
a
d
c
onfig earlier
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
c
olor: check
c
olo
r
.
ui in git
_
default
_
co
n
f
i
g()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
King
ref-filter: pass ref_fo
r
mat struc
t
to atom parsers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
J
eff King
ref-
f
ilter:
f
act
o
r
ou
t
the
p
a
rsing of sort
i
ng atoms
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
King
ref-
f
ilter
:
make parse_ref_filter_
a
tom a priva
t
e function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Ki
n
g
r
ef-
f
ilter
:
provide a
function
f
o
r p
a
r
s
i
ng sort options
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
K
i
ng
r
e
f
-
filter: m
o
ve need
_
color_reset_at_eo
l
i
nto ref_f
o
rmat
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
r
ef-f
i
lter:
abstract r
e
f format into its own s
t
ruc
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filte
r
:
s
impli
f
y automatic col
o
r
r
e
s
e
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
t
: use test_de
c
ode
_
c
o
l
or rather than
l
itera
l
A
NSI codes
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
King
d
o
cs/fo
r
-each-ref: updat
e
pointer to color syn
t
ax
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
check return valu
e
of ver
i
fy_r
e
f
_format()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-12
Jeff King
g
c
: run pr
e
-
detach
o
per
a
tions under loc
k
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
J
eff
K
i
n
g
Makefile: dis
a
b
le unaligned loads with UBSan
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
Makefile: turn off -fom
i
t-frame
-
poin
t
e
r
with s
a
nitizers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
J
e
ff King
Ma
k
efi
l
e: add helper for compilin
g
with
-
f
san
i
t
i
ze
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Je
f
f King
test-lib: tur
n
o
n
ASan
a
bort_on_error by d
e
fa
u
lt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Jeff Kin
g
tes
t
-lib:
s
et
ASAN_O
P
TIONS var
i
able befo
r
e we
run
g
it
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
reflog-wal
k
: apply --
s
ince/
-
-unt
i
l to reflog
d
ate
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Je
f
f King
reflog-wal
k
:
stop us
i
ng fake parents
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff
K
ing
rev-list:
c
heck reflog_info
bef
o
re showing
u
s
a
g
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
get_r
e
vision_1()
:
replace
d
o
-
wh
i
l
e
with an early return
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
log:
d
o
n
ot fr
e
e parents when wa
l
king ref
l
og
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
l
o
g: cl
a
rify comment about
re
f
lo
g
c
ycl
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
J
e
f
f King
br
a
nch: se
t
remote color i
n
ref-
f
ilte
r
b
ranc
h
imme
d
iat
e
ly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff Kin
g
branch
:
use BRA
N
CH_COL
O
R_LOCAL
in re
f
-filter format
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff
K
in
g
branch: only perform HE
A
D che
c
k
fo
r
local
b
r
anche
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next