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
notes-merge: drop dead zero-write code
2017-09-26
Jeff King
notes
-
me
r
ge: drop d
e
a
d zero-wr
i
te co
d
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
Jef
f
K
ing
files-backe
n
d: prefer "0"
for write_i
n
_full(
)
e
r
r
o
r
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
read_pack_header:
handle
signed/unsigned comparison
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: flip
r
e
tur
n
valu
e
of store_wri
t
e
_
*()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
note
s
-merge:
use ssize_t
f
or write_i
n
_
f
ull
(
)
return
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pkt
-
line: che
c
k wr
i
te_
i
n_full() er
r
ors agains
t
"< 0"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
c
onvert less-tr
i
v
ia
l
versions
o
f "wri
t
e_in_full()
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid "write_in_f
u
ll(fd,
b
uf, len)
!
= len"
pattern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
Ki
n
g
get-tar-commi
t
-id: c
h
eck write_in_full()
r
e
t
urn a
g
ai
n
st 0
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
conf
i
g: avoid "wri
t
e_in_f
u
ll
(
fd, buf, len) < len" patt
e
rn
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
J
eff
K
ing
shor
t
l
og: skip format/pars
e
round
t
r
i
p for internal
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff
K
in
g
add UNLEAK annot
a
tion for reducing leak fal
s
e
positives
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_extract_ar
g
v
0_path: do nothi
n
g
without
RUNTIME_PREFIX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
s
y
stem_
p
ath:
m
ove R
U
NTIME_
P
REFIX
t
o a
s
u
b-function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev-parse:
d
on't trim bisect refnames
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
s
e
t_git_d
i
r: hand
l
e
feeding gitdir to itself
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reposito
r
y: free field
s
be
f
ore overwrit
i
ng them
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
re
s
et: f
r
ee all
o
cat
e
d
tree buffer
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
reset
:
make tree counting less con
f
us
i
ng
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
config:
p
l
u
g us
e
r
_
config leak
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
update-in
d
ex: fix cache entry le
a
k i
n
a
d
d_one_file()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
a
d
d: free leake
d
pathspec after add_files_to_cache
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Kin
g
t
est-lib
:
set LSAN_OPTIONS to
a
bort
by
d
efa
u
lt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
test
-
l
i
b: --v
a
lgrind
should not override --ve
r
bose
-
log
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
King
stop leaking lock st
r
ucts in some si
m
ple cases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
r
e
f_lock: stop le
a
king lock_f
i
les
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: update lifetime requ
i
rements in d
o
cumentat
i
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
t
e
m
pfile: au
t
o-allocate tempfiles on heap
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: remove deact
i
v
a
ted list e
n
tries
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
te
m
pfile: u
s
e list
.
h
f
o
r linke
d
list
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
t
e
mpfile: release deactiva
t
ed strbufs instead of resetting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
ing
tempfile: robustify cle
a
nup ha
n
d
l
e
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
temp
f
ile: factor out deactivation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: factor out act
i
vation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
t
e
mpfile
:
repla
c
e d
i
e("B
U
G
") with BUG
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
i
n
g
tem
p
file: handle
NULL
t
empfile pointers
g
racef
u
l
l
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: prefer
i
s
_
tempf
i
l
e_a
c
tive t
o
bare
access
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
loc
k
file: do not r
o
llback lock on fa
i
l
e
d close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile
:
d
o
not
d
e
l
ete tempfile on failed close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
always check ret
u
rn value of close
_
tempfil
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
verify_si
g
ned
_
buf
f
er: prefer close_
t
empfil
e
() to close()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
setup_temporary_shallow:
move tempfil
e
s
t
r
uct i
n
to
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
setup_temporary_shallow: avoid using inactive tempfile
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
wr
i
te_in
d
ex_as_tree: cleanup tempfile o
n
e
rr
o
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
conf
i
g
: use a static
lock_file stru
c
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-20
Jeff
K
ing
doc: fix typo in
s
endemail
.
ident
i
ty
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
pretty: support normalizatio
n
optio
n
s for %(trailers)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
t
4
205: ref
a
ctor %(trailer
s
) tests
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
pretty
:
mov
e
trailer formatting to tr
a
iler
.
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jef
f
King
i
n
terp
r
et
-
tra
i
lers: add --parse conv
e
nie
n
c
e
option
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
i
nterpret
-
trailers: a
d
d an
o
p
tion to
unfold val
u
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jef
f
Ki
n
g
inte
r
pret-trailers: add an o
p
tion
to sho
w
only
existi
n
g
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff
King
i
nterpret-traile
r
s: a
d
d an opt
i
on
t
o
show only the
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-10
Jeff King
trail
e
r: put proces
s
_t
r
ailers() options into a st
r
uct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
s
ha1_file: dro
p
exp
e
r
ime
n
t
al GIT_USE_LOO
K
U
P
search
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-09
J
e
ff King
h
a
shc
m
p: use memcmp i
n
stead of open-code
d
loop
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff Kin
g
revision: do not
fallbac
k
to default when rev_i
n
put_given
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff K
i
ng
rev-l
i
st: don't show
u
sage when we see empty ref patte
r
ns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
revisio
n
: add rev_input_gi
v
e
n
f
lag
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
J
eff King
t
6
018: f
l
e
s
h ou
t
empty input
/
o
u
tput rev-list tests
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
con
n
ect: rejec
t
pa
t
h
s
t
hat look like
c
ommand
line options
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
co
n
n
e
c
t
: reject dashed
a
rgume
n
ts for proxy commands
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
J
e
ff King
conne
c
t: f
a
ctor ou
t
"loo
k
s like comm
a
nd lin
e
o
p
t
i
on
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
t5813: ad
d
test f
o
r
hostn
a
me starting with dash
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jef
f
King
t/lib-proto-d
i
s
a
ble: r
e
store protocol
.
a
l
l
ow
a
ft
e
r confi
g
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-17
Jeff King
t: handle EOF
i
n test_copy_by
t
e
s()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-14
Jeff King
strbuf: use desig
n
ate
d
i
nitialize
r
s
i
n
ST
R
B
U
F_INIT
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter: con
s
ult want_color()
b
efore e
m
i
tting colors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
pretty: respect c
o
lor settings for %C
placeholders
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Ki
n
g
rev-list:
pass diffopt->use_colors through to pret
t
y
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
for-ea
c
h-re
f
: load config ea
r
lier
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
K
ing
color:
check color
.
ui in git_default_config(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
J
e
ff King
r
e
f
-filt
e
r
:
pass ref_format
s
truct to
atom parse
r
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff K
i
ng
ref-filter: facto
r
o
ut the parsing of so
r
ting
a
toms
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
r
ef-fi
l
ter: make
parse_ref_fi
l
ter_at
o
m
a private function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Kin
g
ref-f
i
lter:
p
r
o
v
i
de a fun
c
tio
n
for parsing s
o
rt options
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter:
move need_color_
r
ese
t
_at_eo
l
into
ref
_
for
m
at
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
J
eff
Ki
n
g
r
e
f
-filter:
abstract r
e
f
f
ormat into its own struct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter:
s
i
mplify au
t
omatic c
o
lor
r
eset
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff K
i
ng
t: use tes
t
_
dec
o
de_co
l
or r
a
ther than lite
r
al
ANSI codes
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Je
f
f King
docs/for-each-r
e
f: up
d
ate point
e
r to c
o
lor sy
n
tax
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Ki
n
g
che
c
k ret
u
rn value
o
f
v
e
r
i
fy
_
ref_format()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-12
Jeff
K
ing
gc:
run pr
e
-det
a
ch ope
r
a
t
ions u
n
der lock
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Je
f
f King
Makefile: disable unaligned
loads with U
B
S
an
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Jeff Kin
g
M
a
ke
f
ile: tu
r
n off -fomit-fr
a
me-point
e
r with sanitizers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
Makefile
:
a
dd helper
f
or compil
i
ng with -fsanitize
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
test-lib
:
turn on ASan abort
_
on_error by d
e
f
a
ult
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-10
Jeff King
te
s
t-lib: set A
S
AN_OPTIO
N
S
v
aria
b
le b
e
fore we r
u
n git
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
reflog-walk: ap
p
l
y --sinc
e
/-
-
until to reflog da
t
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff Kin
g
r
e
flog-walk
:
s
to
p
using fake parents
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
r
ev-list: check reflog_i
n
fo befo
r
e sho
w
ing us
a
ge
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff
K
i
n
g
get_revision_1(): re
p
lace
do-while wi
t
h an
early return
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff Ki
n
g
l
o
g: do not free
p
are
n
t
s
when walk
i
ng reflog
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff
K
ing
log:
c
l
arify
comm
e
nt about
r
eflog cycles
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff Kin
g
br
a
nch: set r
e
mote color in
r
ef-filte
r
br
a
nch imme
d
iat
e
ly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
Jeff
King
b
r
a
nch:
use BRANC
H
_COLO
R
_LOCAL
in r
e
f-fi
l
te
r
fo
r
mat
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-09
J
eff
K
i
ng
b
r
anch: only perform
H
EAD che
c
k fo
r
local bran
c
h
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-07
J
e
ff King
r
evision: di
s
a
l
l
ow ref
l
og walking wi
t
h rev
s
-
>
limited
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-07
Jeff Ki
n
g
t
1
414: document some reflog-
w
alk oddities
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-07
Jeff Kin
g
reflog-walk: include all
f
ields when freeing comple
t
e_re
f
l
ogs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next