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
J
e
ff
K
ing
get-ta
r
-c
o
mmit-
i
d: c
h
eck write_in_full() re
t
u
r
n again
s
t 0
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f
King
config: av
o
id
"write_in_full(fd, buf, le
n
) < len" pattern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cvsimport
:
shell-q
u
ote v
a
ri
a
b
l
e used in backticks
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f King
archimport:
u
se
safe_pipe_ca
p
ture for use
r
input
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Kin
g
shell: drop git-cv
s
server supp
o
r
t
by default
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Je
f
f King
shortlog
:
skip f
o
rma
t
/parse roundt
r
ip for internal
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
J
eff King
add UNL
E
AK a
n
notatio
n
for
r
educing l
e
ak false positives
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jef
f
King
git_extr
a
c
t_argv0_path: do no
t
hin
g
without R
U
N
T
IME
_
PREFIX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
s
ystem_path: move
RUNTIME_PREFIX
to a sub-functi
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
rev-parse: don't trim
bise
c
t refnames
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
set
_
git_dir: ha
n
d
le f
e
eding gi
t
dir to it
s
elf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
reposit
o
r
y
: free field
s
bef
o
re overwrit
i
ng the
m
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
n
g
reset: free a
l
located t
r
e
e
buffe
r
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
reset: m
a
ke tree counting less confusing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
conf
i
g: plug user
_
c
o
nfig leak
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
update-index: fix cache entry leak in add_one_file()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: fr
e
e leake
d
pathspec after add_f
i
les_to_c
a
che()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Ki
n
g
test-lib
:
s
e
t LSAN_OPTIONS to abor
t
by
d
efault
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-lib
:
--valgrin
d
should not o
v
erride --ve
r
bo
s
e
-
log
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
s
t
op leaking lock s
t
ru
c
ts i
n
so
m
e sim
p
l
e ca
s
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
ref_lock
:
stop lea
k
i
n
g
lock_file
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
l
ockfile: up
d
ate lifetime r
e
qu
i
rements in
d
ocum
e
n
ta
t
i
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
tempfile: auto-allocate tempfiles on h
e
ap
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile:
r
e
m
ove dea
c
tivated list
e
ntr
i
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfile: u
s
e list
.
h
for linke
d
li
s
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: re
l
e
a
se de
a
ctivated strbufs instead
of res
e
tt
i
ng
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
fil
e
: robu
s
t
i
fy cle
a
nup handler
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
in
g
t
e
mpfile: fac
t
o
r
o
ut
d
eactiva
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
tempfil
e
: factor out a
c
t
i
vat
i
on
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfile: re
p
lace die("BUG"
)
wi
t
h
B
UG()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
tempf
i
le: handle NULL tempf
i
le pointer
s
gracefully
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
tempfile: prefer
is_tempfile_active to bare acce
s
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
l
o
ckfile:
d
o no
t
rollback lock on fa
i
led close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: do n
o
t
d
elete
t
empfile
o
n failed close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
always check r
e
turn value of close_tempf
i
le
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
verify_s
i
gned_buff
e
r:
p
refer close
_
te
m
pfile() to close()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
setup_temporar
y
_
shal
l
o
w:
move tempfile s
t
ruct
i
nto
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
i
n
g
setup_tempor
a
r
y
_shallo
w
: avoid using inactive te
m
pfile
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
write_ind
e
x_a
s
_t
r
ee: clean
u
p tempfile on error
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
co
n
f
ig
:
use a st
a
tic lo
c
k
_
fi
l
e
s
truct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-20
Jeff
K
ing
doc: fix
typo in sendemail
.
identity
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
pr
e
tty: sup
p
o
r
t n
o
rmaliz
a
tion options
f
or %(trail
e
rs)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Je
f
f
King
t4205: re
f
a
ctor %(trailers) tests
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Kin
g
pretty: move
tra
i
ler formatting to trail
e
r
.
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
J
eff King
inte
r
p
ret-t
r
ailers: add --parse convenien
c
e option
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
int
e
rpret-trai
l
ers: add an
option
t
o unfol
d
values
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Kin
g
interpret-trailers: add a
n
o
pt
i
on to show only exi
s
ting
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Ki
n
g
i
nterpret-trailers: a
d
d an op
t
ion t
o
show
only th
e
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-10
Jeff Ki
n
g
trailer: put pro
c
ess_trail
e
rs() opti
o
ns into
a
struct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-09
J
eff King
s
h
a
1
_
fi
l
e: dro
p
experim
e
ntal G
I
T_USE_LOOKUP search
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-09
Jeff K
i
ng
hashcm
p
: us
e
memcmp instead of open-coded
l
o
op
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
r
evision: do not fallba
c
k
t
o d
e
fau
l
t when re
v
_input_
g
iven
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
r
ev-li
s
t: don
'
t
s
how
u
sage when we
s
ee empty
r
e
f patter
n
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
revis
i
on:
add re
v
_
i
nput_given flag
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
t6018: flesh out
e
m
p
t
y input/output r
e
v-l
i
st tests
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff
K
i
ng
connect: reject paths that look like c
o
mman
d
line options
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff
King
connect: r
e
ject dashed ar
g
uments
f
o
r
proxy commands
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
c
o
nnect:
factor out "look
s
l
ike command
l
ine opti
o
n
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
J
e
ff King
t5813: ad
d
test for hos
t
name start
i
ng with dash
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
t/lib-proto-d
i
sable: rest
o
re protocol
.
all
o
w after config
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-17
Je
f
f King
t: handle EOF i
n
test_copy_bytes()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-14
Je
f
f King
strbuf:
use designate
d
initiali
z
ers in STRBUF_INI
T
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
re
f
-filter
:
co
n
sult want_
c
olor() bef
o
re emi
t
ting colors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
pretty: respect
color sett
i
ngs for %C placeho
l
ders
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
K
ing
rev
-
list: pa
s
s di
f
fopt->use_colors throu
g
h to
p
re
t
ty
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
Ki
n
g
for-ea
c
h-r
e
f: load
con
f
ig earl
i
er
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
color: check col
o
r
.
ui in git_
d
efa
u
lt
_
config()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter: pas
s
ref_format struct to atom parsers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
King
r
e
f-filter:
f
a
ctor
out th
e
p
a
rsing of sorting atoms
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
King
r
e
f-
f
ilter:
make parse_ref_fi
l
ter_atom a private
f
uncti
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Je
f
f King
ref-
f
ilter:
p
rovide a fun
c
tion for parsing sor
t
opt
i
ons
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
K
ing
ref-filter:
m
ove need_co
l
o
r_reset_at_eo
l
into ref_format
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
r
ef-
f
ilter: abstract ref f
o
rmat into its own struc
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-f
i
l
ter: simplify aut
o
m
a
tic
color reset
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
t:
u
se test_de
c
ode_
c
o
l
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
f
f King
docs/for-each-ref
:
u
pdate pointer to
color synt
a
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
chec
k
r
eturn value of verify_ref_format(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-12
Jeff King
gc: run pre
-
d
etach operati
o
ns und
e
r lo
c
k
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
Makefile:
d
isab
l
e un
a
l
igned loa
d
s
w
ith UBSan
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Je
f
f
King
Make
f
ile: turn off
-
fomit-frame-point
e
r with sanitize
r
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
Makefile: add
h
e
lper for
compiling w
i
th -fsanitize
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Jeff K
i
ng
t
e
st-li
b
: tur
n
on AS
a
n abort_on_e
r
r
o
r by default
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
J
ef
f
King
te
s
t-lib: set
A
SAN_OPTIONS var
i
a
b
le b
e
fore we
run git
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff K
i
ng
r
eflog-walk
:
a
pply --since/--until to ref
l
og dates
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff K
i
ng
r
e
flog-walk: st
o
p
usi
n
g fake parents
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff K
i
ng
rev-l
i
st: check reflog_i
n
fo be
f
o
re showing usage
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
get_revision_1(): rep
l
ace
d
o-w
h
i
l
e
w
i
th an
e
arly return
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff
King
log: do not free
parents when
w
al
k
ing
r
e
f
l
og
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
J
eff King
log: clarify comment abou
t
reflog cycle
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
bran
c
h: set remot
e
co
l
or in ref-
f
ilt
e
r branc
h
imme
d
iately
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
bran
c
h:
u
se BRANCH
_
C
OLO
R
_
L
OCAL
in ref-fi
l
ter format
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
branch: on
l
y p
e
rf
o
rm
H
EA
D
c
heck for local
b
r
a
nches
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-07
J
ef
f
K
i
n
g
re
v
isio
n
: disallow reflog walking with revs-
>
l
i
mited
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-07
Jef
f
Ki
n
g
t1
4
14: document som
e
reflog-w
a
l
k
odditi
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-07
Jef
f
King
reflog-walk
:
include al
l
fields when freeing
c
o
mpl
e
te_reflogs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-07
Jeff Kin
g
r
efl
o
g
-walk
:
d
on't free ref
l
ogs adde
d
to cache
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-07
Jeff King
refl
o
g-walk
:
duplicat
e
st
r
ings
in
compl
e
te
_
reflogs
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-05
Jeff King
reflog-walk:
skip over d
o
u
b
le-null oid due
to HEAD
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-06-21
Jeff K
i
n
g
add
-
-i
n
t
e
ractive: qu
o
t
e commentChar regex
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-06-21
Jeff King
add--int
e
ractiv
e
: handle EOF in prompt_yesno
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next