repo.or.cz
/
git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Merge branch 'pw/add-p-single'
2017-09-22
J
e
ff King
t
est-line-buffer: simplify
command parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff Ki
n
g
c
a
t-fi
l
e: handle NULL
object_co
n
text
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff K
i
ng
re
v
ision: r
e
place "stru
c
t cmdline_pa
t
hspe
c
"
with argv
_
array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
e
f
f
K
i
n
g
read_info_alternates: warn on
n
on-trivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
e
ff K
i
ng
read_info_a
l
tern
a
tes
:
read c
o
nte
n
ts into s
t
rb
u
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
prefix_re
f
_iterator: b
r
eak
when
we
leave
t
he pref
i
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
rea
d
_pack_header:
ha
n
d
l
e s
i
gned/unsi
g
ned compari
s
on
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
c
o
nfig
:
flip retu
r
n value of store_w
r
ite_
*
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
n
o
tes-
m
erge: us
e
s
size_t for w
r
ite_in
_
full() return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
pkt-line: check writ
e
_in_ful
l
() e
r
rors against "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
c
onv
e
rt less-tri
v
ial versions of "write_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid "write_
i
n_full(fd, buf, len) != len" patt
e
rn
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
ge
t
-tar-commit-id: che
c
k wr
i
te_in_full() return
a
gainst 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
config: avoid
"
write_in_
f
ull(fd
,
buf, len)
< len" p
a
ttern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cvsim
p
ort
:
shel
l
-quote
variable u
s
ed in backtic
k
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
archimpor
t
: use safe_
p
ipe_capt
u
r
e f
o
r
us
e
r in
p
u
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f King
shell: drop
git-cvsserver support by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jef
f
King
shortlog: ski
p
format/pa
r
se roundtri
p
for inte
r
nal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Je
f
f Ki
n
g
a
dd U
N
LEAK annotation for reducin
g
leak
f
a
lse positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_extra
c
t_argv0_path: do noth
i
ng wi
t
hout RUNTIME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system_
p
ath:
m
ove RU
N
TIME_PREFIX to a sub-func
t
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev-par
s
e: don't trim bisect refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_git_dir: handle feeding
gitdir
to itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
reposi
t
ory: fr
e
e fiel
d
s before overwri
t
ing them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
reset: free allocated
t
ree buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
ese
t
: make t
r
ee counting less confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
confi
g
: plug user_
c
o
n
fig leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
up
d
ate-index:
f
i
x
cache
entr
y
leak
i
n
a
d
d_one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
add: fre
e
leaked pathsp
e
c after add_f
i
les_to_
c
ache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
K
i
ng
test-lib:
s
e
t
LSAN_OPTIONS
t
o abort by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
test-lib: --
v
alg
r
ind s
h
ould not override --verbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
stop l
e
aking
lock
s
truc
t
s in some simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_l
o
ck: s
t
op leaking lock
_
files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockf
i
le:
u
pdate life
t
ime r
e
quirem
e
nts
i
n
document
a
tio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
tempfile: aut
o
-allocate tempfiles on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfile: remove deactivated l
i
st en
t
ri
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempfile: use list
.
h for
linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
tempfile: release deactiva
t
ed strbufs instead of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
temp
f
ile: robustify cleanup hand
l
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
tempfi
l
e: factor out d
e
activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempfile:
factor o
u
t act
i
vation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
m
pf
i
le: replace
die("BUG") w
i
th BUG
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tempfile: han
d
le NULL tempfile pointers g
r
acefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
in
g
tempfile: pre
f
er is_tempfile_active to
b
a
re access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lock
f
i
l
e
:
d
o not rollback
l
ock o
n
f
ai
l
ed
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Kin
g
tempfile: do no
t
delete t
e
mpfile
o
n failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
always
c
h
ec
k
return value of close_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
ve
r
ify_signed_b
u
ffer: pr
e
fer close_tem
p
f
ile
(
) to
close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
set
u
p
_
te
m
p
o
rary_sha
l
low: move tempfile
s
truct i
n
to
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
s
etup_te
m
porary_sh
a
llow
:
av
o
i
d
using inactive tempf
i
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
wri
t
e_in
d
ex_as_tr
e
e: cleanup tempfi
l
e on erro
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
config: use a st
a
t
i
c lock_file
s
truct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
Jeff King
doc: f
i
x typo
i
n sendemail
.
identity
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jef
f
Kin
g
pretty
:
suppor
t
n
o
rmalization opt
i
ons for %(traile
r
s)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff K
i
ng
t4205: refact
o
r %(trailers) tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
p
rett
y
: mo
v
e trailer formatting to tr
a
iler
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
eff King
int
e
rpre
t
-tra
i
lers: add
-
-
p
arse conven
i
ence option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jef
f
K
ing
inter
p
ret-trai
l
e
rs: add
an opt
i
o
n to unfold values
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff
King
inter
p
ret-t
r
ailers: add
a
n
option t
o
show on
l
y
e
xisting
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff King
inter
p
ret-t
r
a
i
l
e
r
s: add an op
t
ion to show
o
nly the
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-10
Jeff Kin
g
t
r
ailer: put pr
o
cess_trailers() options
i
nto a
str
u
ct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
sha1_file: drop exp
e
r
imental
G
IT_USE_LOOKUP s
e
arch
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
h
as
h
cmp: use memcmp instead
of open-
c
oded loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff
K
in
g
revision: do not fallback to de
f
ault when rev_input_given
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
J
eff King
rev-list
:
don't show usage when
w
e see empty re
f
patterns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
re
v
ision: add r
e
v_input_give
n
fla
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff
K
i
ng
t6018: fle
s
h out
empty input
/
ou
t
put rev-l
i
st tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff Kin
g
connect:
r
eject paths that look l
i
ke command line options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
co
n
nect:
rejec
t
das
h
e
d
a
rguments for proxy commands
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
J
e
ff
King
c
o
nnect:
fa
c
tor
o
ut "looks lik
e
command line option
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
t5813: add
t
est for hostna
m
e starting with dash
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff
King
t/l
i
b
-p
r
oto-disa
b
le:
restore protocol
.
allow after config
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-17
Jeff King
t
: hand
l
e EOF
i
n tes
t
_copy_bytes()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-14
Je
f
f
King
s
trbuf: use designated initialize
r
s i
n
STRBUF_INIT
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
eff King
ref
-
fi
l
t
e
r: consult want_c
o
l
o
r() before emitting colo
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
pretty: respect color
s
e
t
tings for %C placeholders
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
r
e
v-list:
pass diffo
p
t->use_colors th
r
ough to
p
retty
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
e
ff King
for
-
each-re
f
:
loa
d
config
earlie
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
King
color: check color
.
ui in g
i
t_defau
l
t_config()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter: pass ref_form
a
t struct to atom parsers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Ki
n
g
r
ef-fil
t
er
:
f
a
ctor out the parsing o
f
sorting
a
toms
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref
-
filt
e
r: make parse_r
e
f_
f
ilter_atom a privat
e
f
u
nction
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-f
i
lter
:
pr
o
vide a function for parsing sort
options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter: move need
_
c
olor_
r
e
s
et_a
t
_eol into ref_fo
r
mat
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Ki
n
g
ref-f
i
l
ter: abstract ref for
m
at into
its own s
t
r
u
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Ki
n
g
ref-filter: simplify automa
t
ic
color res
e
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
t: use tes
t
_decod
e
_col
o
r rather than literal ANSI
cod
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
e
ff King
docs/for-
e
ach-ref: update pointe
r
to color syntax
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
e
f
f Kin
g
ch
e
c
k
return
v
alue o
f
verify_r
e
f
_
format()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-12
J
e
ff K
i
ng
gc: run pre-
d
etach
operations under lock
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Je
f
f Kin
g
Makefile: disable unaligne
d
load
s
with UBSan
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
Makefile: turn
off -fomit-frame-pointer with sanitizers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
Makefile: ad
d
helper for co
m
piling with -fsaniti
z
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
tes
t
-lib: tu
r
n on AS
a
n abort_on_
e
rror
by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
t
e
st-li
b
: s
e
t ASAN_OPTIONS v
a
r
ia
b
le before we ru
n
g
i
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff Ki
n
g
r
e
f
log-walk: apply -
-
since/--until
t
o reflog da
t
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff
K
ing
reflog-walk: sto
p
usin
g
fake parents
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff Kin
g
rev-list
:
check r
e
flog_i
n
fo before showing
u
s
age
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
get_rev
i
s
i
o
n_1(): replace do
-
whi
l
e with
a
n early return
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
J
eff K
i
ng
l
o
g: do not free parents whe
n
walk
i
ng reflog
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next