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
t4015: use --color with --color-moved
2017-10-04
J
eff Ki
n
g
t
4
0
15:
use -
-
color wi
t
h --color
-
moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
git: ad
d
--no-optional-lock
s
o
ption
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f Ki
n
g
vali
d
ate_headref: use get_oi
d
_
h
ex f
o
r d
e
ta
c
hed HEA
D
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
valida
t
e
_
h
e
adref:
use skip_p
r
efix for symref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff K
i
ng
validate_hea
d
ref: NUL-ter
m
inate H
E
AD buffe
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktr
e
e: check the r
e
sult of
read_in_fu
l
l()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
worktree: use xsize_t to
a
cce
s
s file siz
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
distinguis
h
error vers
u
s sho
r
t
r
ead from read_in_f
u
l
l()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
avoid looking a
t
e
r
rno for
s
hort re
a
d_in_full() retur
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
prefer "!=
"
when ch
e
ck
i
ng read
_
in_full() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff
K
ing
notes-merge: drop d
e
ad zero
-
write code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
J
e
ff Kin
g
files-bac
k
end:
prefer "0" for wr
i
te_in_
f
ull() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff Ki
n
g
doc: put literal block deli
m
it
e
r around table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f
King
consistently us
e
"fall
t
hroug
h
" comments
i
n
s
witches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff King
curl_trace(): elimin
a
t
e
swi
t
ch fallthr
o
ugh
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
te
s
t-
l
ine-buffer: simplify command parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
eff Kin
g
cat-file: h
a
ndle NULL object_context
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff Kin
g
re
v
ision: r
e
place "struct cmdline_
p
a
thspec" with argv
_
a
r
ray
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff
K
ing
r
e
ad_inf
o
_alterna
t
es:
warn
o
n non-t
r
ivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff Ki
n
g
read_inf
o
_al
t
er
n
ates: read conte
n
ts in
t
o strb
u
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
f
f King
prefi
x
_ref
_
iterator:
b
r
eak wh
e
n we l
e
ave the
p
refix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
re
a
d
_pack_header: handle
s
igned/unsi
g
ned co
m
parison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: flip r
e
turn value of
store_wr
i
te
_
*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
n
o
tes-merge: u
s
e ssi
z
e
_
t f
o
r wr
i
te_i
n
_
f
u
ll()
r
e
t
urn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
pk
t
-line: che
c
k write_in_full() errors ag
a
inst
"
< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
convert less-trivia
l
versions
o
f "
w
r
i
te_i
n
_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid
"
w
r
ite_in_fu
l
l(fd, buf,
len) != len" pat
t
ern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
get-tar-commit-
i
d: check write_i
n
_full() return against
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
co
n
fig: avoid "write
_
in_full
(
f
d
,
b
u
f, len) <
l
en" patter
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
eff K
i
ng
cvsimport: shell
-
quote variabl
e
used i
n
ba
c
kt
i
cks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f King
a
rchimport: use safe_pipe_c
a
ptur
e
for user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
s
hell:
d
rop
g
it-cvsse
r
ver support by defa
u
lt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
sh
o
rtl
o
g: skip forma
t
/parse ro
u
ndtrip for
internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
add UNLEAK annotation for reducing
l
eak f
a
lse pos
i
tives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
J
e
ff King
g
it_extract_argv0_path: do nothing without RUNTIME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
J
eff King
syst
e
m_
p
ath
:
move RUNTIM
E
_
P
REFIX to a sub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev-parse: don't trim bisect refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
se
t
_
g
it_di
r
: handle fe
e
ding gitdir to
its
e
l
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff K
i
ng
repository: free fields before overw
r
iting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
r
e
set: free al
l
ocated tree buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
reset: make tree
counting le
s
s con
f
using
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
K
ing
conf
i
g: plu
g
user_con
f
ig
le
a
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
update-index: fix cache entry leak in
a
dd_one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
n
g
add: free
leak
e
d path
s
pec after add_files_t
o
_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
st-li
b
: set
L
SAN_O
P
TIONS to abort by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
s
t-li
b
: --valgrind sh
o
uld not o
v
erride --verbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
stop leaking lock s
t
r
u
cts in some si
m
ple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_lock: stop l
e
aking l
o
c
k
_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
lockfile: update lifetime
r
equirements in
d
ocumentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
i
ng
te
m
pfile: auto-all
o
c
ate tempfil
e
s on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
temp
f
ile: remove
deac
t
i
v
a
ted list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
tempfile: u
s
e list
.
h for linked lis
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
temp
f
ile: release deactiva
t
ed strbufs inst
e
ad of
r
esetti
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempfile: robustif
y
cleanup handle
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
t
empfil
e
:
facto
r
out de
a
ctivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfile: factor out ac
t
ivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
in
g
tempfile: re
p
lace d
i
e("BUG") wi
t
h BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
te
m
pfi
l
e:
h
andle NULL tempfile poin
t
ers
g
r
a
ceful
l
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfile:
p
re
f
er is_te
m
pfile_ac
t
ive to bare ac
c
es
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
lo
c
kfi
l
e:
d
o not rollback
l
ock on failed
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
te
m
p
f
ile: do no
t
delet
e
tempfile on failed clo
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Ki
n
g
alwa
y
s che
c
k ret
u
rn value of close_te
m
pfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
verify_sign
e
d
_
bu
f
fer: p
r
efer c
l
os
e
_tempfile() to
clo
s
e()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
setup_temporary_shallow:
move tempfil
e
struct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
ing
s
e
tup
_
tempo
r
ary_shall
o
w: avo
i
d us
i
ng inactive t
e
mpfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
write_index_as_tree:
c
l
eanup tempfile on error
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
config
:
use a stati
c
lock_file s
t
ruct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
Jeff
K
in
g
d
oc:
fix typ
o
in sendemail
.
ide
n
tity
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
pretty: sup
p
o
r
t normalization options fo
r
%
(
t
railers)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff King
t4205: refact
o
r %(tr
a
i
lers) tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff
K
ing
pretty
:
move
trailer f
o
rma
t
ting
t
o trailer
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Je
f
f K
i
n
g
i
n
t
erpret-trailers: add --par
s
e
c
onvenience o
p
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Kin
g
i
n
t
e
rpret-trai
l
ers: add an option to un
f
old val
u
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
interp
r
et-
t
ra
i
l
ers: add an op
t
ion t
o
show on
l
y existin
g
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff
K
ing
interpret-
t
rai
l
ers: add an o
p
tio
n
to s
h
ow on
l
y the
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-10
J
e
ff King
tra
i
ler
:
put process_traile
r
s() o
p
tions into a struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
J
e
ff King
sha1_file: drop experimental GI
T
_U
S
E_
L
OOKUP
s
earch
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
J
eff King
h
ashcm
p
: use memcmp instead of
o
pen-
c
od
e
d
loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
J
e
ff K
i
ng
revision: do not fallback to defa
u
lt when
r
ev_input_given
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
J
eff
K
in
g
rev-list:
d
on't show usag
e
when
w
e see e
m
pty r
e
f
p
a
tterns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
J
ef
f
K
i
ng
revis
i
on: add rev_i
n
put_given flag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff
King
t6018
:
fles
h
out
empty inpu
t
/output r
e
v
-l
i
st
te
s
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
con
n
ect: rej
e
ct paths tha
t
look
l
ik
e
com
m
and line optio
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
connec
t
: rej
e
ct da
s
hed a
r
guments for proxy co
m
m
a
n
d
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
J
e
ff
King
co
n
nect: factor out
"looks
l
ike command line opt
i
on
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff Ki
n
g
t5813: a
d
d test
for h
o
stname starting with d
a
sh
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff Ki
n
g
t/lib-proto-disa
b
le: restore protoco
l
.
allow aft
e
r
conf
i
g
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-17
J
eff King
t
:
handle EOF in
t
est_copy_byt
e
s()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-14
Jeff
King
strbuf: use desi
g
n
ated initi
a
liz
e
rs in STRBUF_INIT
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref
-
f
i
lter:
consult want_col
o
r() before e
m
itting colors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Kin
g
pretty
:
respect color
s
etting
s
for %C placeholder
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
Ki
n
g
rev-lis
t
: pass diffopt->use_colors through
to pretty
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
e
ff
King
for-
e
a
c
h-ref:
load config ea
r
lier
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
Kin
g
color: check color
.
ui in git_default_config(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter: pass ref_form
a
t s
t
ruc
t
to atom par
s
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-
f
ilte
r
: factor out t
h
e parsing of sorting atom
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-fil
t
er: ma
k
e
parse_re
f
_filter
_
atom a private fu
n
cti
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter: provid
e
a fun
c
ti
o
n
f
or parsi
n
g
sort options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
King
ref-
f
i
l
ter: move need_col
o
r_
r
eset_at_eol
into ref_format
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter:
abstr
a
ct ref format into
it
s
o
w
n
struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next