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 'ds/for-each-file-in-obj-micro-optim'
2017-12-04
Jeff
King
progress: set default del
a
y threshold t
o
100%,
not 0%
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-22
Jeff
Ki
n
g
sha
1
_fil
e
: fast-path n
u
l
l sha1 as a missing object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
J
eff King
eve
r
ythin
g
_local: use "quick" obje
c
t exi
s
tence che
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
Jeff King
p5
5
51: add a scr
i
p
t to test
f
etc
h
pa
c
k-dir rescans
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
J
eff King
t/perf/l
i
b-p
a
ck: us
e
fast-import checkp
o
int to crea
t
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
J
eff Ki
n
g
p5550: factor ou
t
n
o
nsense-pack
c
reation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
Jeff Ki
n
g
g
i
t-jump:
give cont
a
ct i
n
s
t
ructions in the R
E
AD
M
E
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Je
f
f King
l
i
nk_a
l
t
_
odb_entri
e
s: mak
e
empty input a noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
setup: avoid dou
b
le
s
lashes when l
o
oking for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Kin
g
worktree: ha
n
dle
b
ro
k
en symrefs in f
i
n
d
_share
d
_sy
m
ref()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
log: hand
l
e
b
roken HEAD
in de
c
o
ration check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
remot
e
: handle br
o
ken symr
e
fs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
te
s
t-ref-store: avoid
p
assing NU
L
L to
p
rintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
diff: hand
l
e NU
L
s in
g
et
_
string_hash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
di
f
f: fix white
s
pace-
s
ki
p
ping with --color-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Kin
g
t4
0
15:
t
est the output o
f
"diff --color-moved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Kin
g
t4015: check "ne
g
ati
v
e" cas
e
f
or "
-
w --color-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: refactor --c
o
lor-
m
o
ved w
h
itespace test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
tag: respect colo
r
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Rever
t
"color:
c
heck color
.
ui in git_default_config()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
King
Revert "t6006: drop "always" col
o
r con
f
i
g
tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Re
v
ert "co
l
or: make
"
always"
the s
a
me
as "auto" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
diff: fix infini
t
e loop
w
i
th --co
l
or-mo
v
ed --ig
n
ore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
Jeff King
revision: quit pr
u
ning diff more quickly wh
e
n possible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
J
e
f
f
King
writ
e
_entry:
u
ntan
g
l
e
symlink an
d
regula
r
-file case
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
e
ff King
write_ent
r
y: avoid reading blobs in CE_R
E
TRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
write_
e
ntry:
f
ix leak
w
hen retr
y
ing delay
e
d filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
r
e
f
s
_resolve_
r
e
f
_unsafe: h
a
ndle d/f
c
onfli
c
ts for w
r
ites
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t3308: crea
t
e a rea
l
ref di
r
ecto
r
y
/
file c
o
nflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
J
e
ff
K
ing
sha1_l
o
ose_object_info: handle error
s
from unpa
c
k_sh
a
1_
r
est
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
pa
t
h
.
c: fix uninitialize
d
memory acce
s
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f King
t
7301: use test_terminal
to check color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015: use
-
-color
with --co
l
or
-
moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff K
i
ng
c
o
l
o
r: m
a
ke "alw
a
ys"
th
e
same as "auto" in
c
onfig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provide --color
o
ption for all ref-filter user
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f
K
ing
t3205
:
use --color i
n
st
e
ad of color
.
branch=a
l
ways
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff
Kin
g
t3203:
d
rop
"
alw
a
ys
"
color
t
est
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t6
0
06: drop "alway
s
"
color config tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t7502: use
diff
.
n
o
prefix for --verbose te
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t7508: use test_termi
n
al
f
or color outpu
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t
3
7
0
1: use te
s
t-terminal to collect col
o
r output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
i
n
g
t401
5
:
prefer
--color to -c c
o
l
o
r
.
dif
f
=alwa
y
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t
e
st-ter
m
i
n
al:
s
et TERM=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
git: add
-
-no-opt
i
onal-loc
k
s
o
ption
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
v
a
li
d
ate_he
a
dref: use
get_
o
id_hex for detached
H
E
ADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
validate
_
hea
d
ref: use
skip_prefix for
s
y
mr
e
f p
a
rs
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
Ki
n
g
valid
a
te
_
headr
e
f: NU
L
-term
i
nate HEAD buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
i
n
g
worktree:
check the resu
l
t
of read_in
_
f
u
ll()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
work
t
ree
:
use xsize_t
to ac
c
ess file size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
d
istin
g
uish error versus sh
o
rt read from read
_
in_ful
l
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff Kin
g
avoid loo
k
ing at errn
o
for short r
e
ad_in_ful
l
() re
t
urns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
p
refe
r
"!="
w
h
e
n c
h
ec
k
ing read_in
_
full() re
s
ult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
notes-
m
er
g
e: drop d
e
ad zero-w
r
ite cod
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
files
-
backend: prefer "0" for write_in_full() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
J
e
ff
K
ing
doc: put literal b
l
o
ck delim
i
te
r
around table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
King
consistently use
"
fallthrough" comments in switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
e
f
f
King
curl_t
r
ace(): el
i
m
i
na
t
e sw
i
tch f
a
llthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
t
est-line-buffer: simplify command
pa
r
sing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
cat-
f
ile: handl
e
NU
L
L object
_
c
o
nte
x
t
.
p
ath
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revision
:
replace
"struc
t
cmdline_paths
p
ec" with
a
rgv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff Ki
n
g
read_i
n
fo_a
l
t
e
rnates: warn on no
n
-trivi
a
l erro
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jef
f
King
read_inf
o
_a
l
ternate
s
: read conte
n
ts in
t
o strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
p
refix_ref_iterator: brea
k
when w
e
l
e
ave the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
read_pack_hea
d
er: handle
s
igned/unsi
g
ne
d
compariso
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: flip re
t
u
rn value o
f
sto
r
e_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
notes-mer
g
e: use
ssize_t for
w
rite_in_full() ret
u
r
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
pkt-line
:
check write_in_full() errors
against "< 0
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
c
o
n
vert less-trivial versions of
"
w
r
i
te_i
n
_
full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
avoid
"write
_
in_full(
f
d,
b
uf
,
len)
!
=
len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
get-tar-commit-id: check write_in_full() return aga
i
nst 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff Ki
n
g
config: avoi
d
"write_in
_
full(fd, bu
f
,
len) < len" patt
e
rn
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Kin
g
cvsimport: shell
-
quote variable used
in backtic
k
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f King
arc
h
i
m
po
r
t: use safe
_
pipe_c
a
pture for user inp
u
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff K
i
ng
shell:
drop g
i
t-cvsserver support by defau
l
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Je
f
f King
shortlog:
s
kip for
m
at/parse roundtrip for int
e
rnal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff K
i
ng
add UNLEA
K
a
nnotation
fo
r
reducing leak fal
s
e
p
ositiv
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_extract
_
argv0_pat
h
: do
nothing wit
h
out RUNT
I
ME_
P
REFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff Kin
g
sys
t
em_pat
h
:
m
o
ve
RUNTIME_PREFIX t
o
a sub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
rev-parse: don't trim
b
isect refna
m
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
s
et
_
git_di
r
: h
a
ndle
feedi
n
g
g
itd
i
r
t
o itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
reposit
o
ry: free fields before overwriting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rese
t
: free allocated tree buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rese
t
: make tree counting less conf
u
sin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config: plug
user_config leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
u
pdat
e
-
in
d
e
x: fix cache entry leak
i
n add_
o
ne_file(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
a
dd: f
r
ee leaked
p
athspec after
a
dd
_
files_to_
c
ache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
t
e
st-lib: 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
test-lib: --valgrind shou
l
d not
ove
r
r
i
de --ver
b
os
e
-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
stop l
e
aking
l
ock s
t
ructs in some s
i
mple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
ref_l
o
ck: s
t
op lea
k
i
n
g
lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
lockfile: up
d
a
t
e lifetim
e
requirements in do
c
u
mentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
tempfile
:
aut
o
-all
o
cate tem
p
files
o
n
heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: remove de
a
ctivated list
e
n
t
ries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempfile:
u
se
l
is
t
.
h fo
r
linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfi
l
e: release deact
i
vated s
t
rbufs instead of reset
t
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tempfile: rob
u
st
i
f
y c
l
eanup handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfile: fact
o
r ou
t
deact
i
vation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempf
i
le: fa
c
tor
o
ut
a
c
ti
v
a
t
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfile: replac
e
die("
B
UG") with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfil
e
: handle N
U
LL tempfile pointers
g
racefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next