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
has_uncommitted_changes(): fall back to empty tree
2017-09-14
Jeff
K
ing
get
-
tar-commit-
i
d: check write_in_full()
r
eturn
a
gai
n
st 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
config: avoid "write
_
in_full(fd, bu
f
,
l
en) < len
"
pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
c
v
simport:
s
hell-qu
o
te variab
l
e used in
b
ac
k
ticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
a
r
c
h
import: use safe_p
i
pe
_
capture for user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
shell: drop
gi
t
-cvsserver support by defa
u
lt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Je
f
f Ki
n
g
sh
o
rtlog: sk
i
p format/par
s
e
r
o
undtrip for internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff King
add UNLEAK
a
nnotation for reduc
i
ng leak
fal
s
e positiv
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_extract_arg
v
0_path
:
do nothing with
o
ut
RU
N
TIME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system_p
a
th
:
move RUNTIME_PREFIX
t
o a s
u
b-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev-p
a
r
s
e: don't
t
r
im bise
c
t
refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
set_git_dir:
handle feeding gitdir to
i
tself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
e
posito
r
y: fre
e
f
ields before overwriting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset
:
f
ree allocated tree buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset: make tree c
o
unting less co
n
fusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
confi
g
: plu
g
user_con
f
ig
l
e
ak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
update-index: fix cache entry lea
k
in add_
o
ne_
f
ile()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff K
i
ng
add: free leak
e
d p
a
t
h
spec aft
e
r add_files_t
o
_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
test
-
lib: set
L
SAN_OPTIONS to abo
r
t by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
test
-
l
i
b
: -
-
valgrind should not overrid
e
--verbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
stop leakin
g
lock structs in
s
ome s
i
mple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref
_
lock: sto
p
leaking l
o
ck_file
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
l
o
ckfile: update li
f
etime requir
e
me
n
t
s in documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
t
emp
f
ile: au
t
o-allocate tempf
i
les
on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Kin
g
tempfile
:
remo
v
e deactiv
a
te
d
l
i
s
t
e
n
t
ri
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempf
i
le: use list
.
h fo
r
linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
ing
tempfile: release deactivat
e
d strbufs inst
e
ad of resett
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile:
rob
u
sti
f
y cleanup handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
fi
l
e: facto
r
out deactivat
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tempfile:
factor out a
c
ti
v
a
t
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfi
l
e: rep
l
ace
die("BU
G
") wi
t
h BU
G
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
in
g
tempfil
e
: handle NU
L
L tempfi
l
e point
e
rs gr
a
ceful
l
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
te
m
pfile:
prefer is
_
tempfile_active to bare
access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lo
c
k
file:
do no
t
rollba
c
k lock o
n
fa
i
led close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
ing
t
e
mpf
i
le: d
o
not delete tempfil
e
o
n failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
always check
r
etur
n
v
al
u
e
o
f close
_
tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
veri
f
y
_si
g
ne
d
_buffer: prefer close_tem
p
file() to close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup_tempo
r
ary
_
shallow: mov
e
tem
p
file struct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
s
etup_tempor
a
ry_shallow
:
avoid us
i
ng inact
i
ve tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
wri
t
e
_
i
nd
e
x_as_tree: cl
e
a
n
up tempfile
on er
r
or
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
config: use a static lock_
f
ile struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
Jeff King
doc: fix typo in s
e
ndemail
.
i
de
n
tity
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
pretty: support
nor
m
aliza
t
ion options for
%
(trailers)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
t4
2
05: refact
o
r %(trai
l
ers)
tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
prett
y
: mo
v
e tr
a
i
ler f
o
rmatting
to trailer
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
e
f
f
King
interpre
t
-trailers: add --
p
arse convenienc
e
opti
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
interpret-t
r
a
ilers: add an option to un
f
old
v
alues
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
i
n
terpret-tra
i
l
ers
:
add an opti
o
n to show only exi
s
t
i
ng
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
int
e
r
pret-t
r
ailers: add an opti
o
n to
show only the
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-10
Jeff
King
tra
i
ler: put p
r
o
c
e
ss_trai
l
e
r
s() o
p
t
i
ons
i
nto a
s
truct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
sha1_file: d
r
op experimental
G
IT_USE_LOOK
U
P search
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
J
e
ff King
h
a
shcmp
:
us
e
memcmp instead o
f
open-coded loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
J
eff K
i
n
g
r
e
v
is
i
on: do not fallback to defaul
t
when rev
_
in
p
ut_given
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
rev-lis
t
: don't show us
a
g
e when we see empty ref patterns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
J
e
ff
Ki
n
g
revision: add rev_input_giv
e
n
flag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
t
6
018:
f
lesh out empt
y
input/
o
ut
p
ut rev-lis
t
te
s
ts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
connect
:
reject paths
tha
t
loo
k
lik
e
c
ommand line options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
connect: reject dashed arg
u
me
n
ts for proxy c
o
m
man
d
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
connect: factor o
u
t "looks like co
m
mand line
o
pti
o
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
t
5
813: a
d
d t
e
s
t for h
o
stname sta
r
ting with dash
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
t/lib-proto
-
d
i
s
able
:
restore protocol
.
a
l
low aft
e
r config
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-17
J
e
ff King
t: handle EO
F
in t
e
st_copy
_
bytes()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-14
Jeff Ki
n
g
s
t
r
b
u
f
:
u
se designated
i
niti
a
l
izers in STRBUF_INIT
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Kin
g
ref-filter: cons
u
lt want_color() before em
i
t
t
ing color
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
pre
t
ty
:
r
espect color settings for %C placeholders
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
e
ff King
r
ev-l
i
st:
p
ass diff
o
pt->use_
c
olors through to p
r
e
t
t
y
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
K
ing
f
or-each-ref:
loa
d
con
f
ig
earlier
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Je
f
f K
i
ng
color: c
h
eck col
o
r
.
u
i
in git
_
default_c
o
nfig()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filte
r
: pass re
f
_forma
t
struct t
o
atom p
a
rsers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
e
ff King
ref-filter: fac
t
or out the parsing of sor
t
ing atoms
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
King
r
ef-filter: ma
k
e
par
s
e_ref_
f
i
l
ter_atom a private function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter: pro
v
ide a function for p
a
rsing sort opti
o
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Kin
g
ref-filter:
mo
v
e
need_col
o
r
_res
e
t_at_eol into ref_format
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter
:
ab
s
tract ref format in
t
o
its own struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Je
f
f
King
ref
-
fil
t
er
:
simplify a
u
to
m
atic color re
s
e
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
eff Kin
g
t: u
s
e test_decode_color rather
t
h
a
n
li
t
eral ANSI codes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
docs/for-each-ref:
update poin
t
er t
o
c
o
lor sy
n
tax
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
c
h
eck re
t
urn valu
e
of verify
_
ref_format(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-12
Jeff K
i
ng
gc: run pr
e
-detach operatio
n
s under lock
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
J
e
f
f King
Makefile:
disable unaligned loa
d
s
w
ith UBSan
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
Makefile: turn off
-
f
omit-frame-p
o
inter
w
ith
sanit
i
zers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jef
f
King
M
akefile: add help
e
r
fo
r
c
o
m
p
il
i
ng
w
i
t
h -fsani
t
ize
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
test-l
i
b
:
tu
r
n on ASan abort_on
_
error by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff
K
ing
t
e
st-
l
ib:
set ASAN_O
P
TIONS v
a
riable before w
e
r
u
n
git
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
r
e
flog-
w
alk: apply --s
i
n
c
e/--u
n
til to ref
l
og
dates
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jef
f
King
reflog-wa
l
k: stop using fake
p
arents
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
J
e
ff King
rev-list:
check reflog_info bef
o
r
e showing usage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff
K
ing
get_revision_1(
)
: replace do-while
w
it
h
an
ea
r
ly re
t
urn
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
log: do not free parents when walkin
g
reflog
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
log: cla
r
ify co
m
ment about reflog
c
ycles
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff
K
ing
branch:
s
et
r
emote color in ref-f
i
lter br
a
nch i
m
med
i
ately
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff K
i
ng
branch: us
e
BRAN
C
H_COLOR_L
O
CAL in ref-fil
t
er form
a
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
branch: only perfo
r
m
H
EAD
check for local
b
ranches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-07
J
eff
K
ing
revision: disallow reflog walking with revs->limited
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-07
Jeff King
t1414: document some re
f
log-walk oddities
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-07
Je
f
f King
reflog-walk:
i
nclude all
f
ields when freei
n
g compl
e
te_reflogs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-07
Jeff
Ki
n
g
r
e
f
log-
w
alk: don'
t
free
r
e
flogs added to cac
h
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-07
Jeff King
r
e
flog-walk: dup
l
icat
e
strings in complete_reflogs
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-05
Jeff
King
reflog-w
a
l
k
:
s
k
i
p
over
do
u
ble-null oid due to HEAD
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-21
J
eff
K
ing
add--i
n
teractive: quote co
m
mentChar
regex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-21
Jeff King
a
d
d--interactive: handle E
O
F in prompt
_
yesno
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next