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
fetch tests: re-arrange arguments for future readability
2018-01-04
Jeff King
doc
s
/
diff-options: clarify
scope
o
f
dif
f
-filter
types
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-12-08
Je
f
f King
t/Ma
k
efile: int
r
oduce TEST_SHELL_PATH
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-12-08
Je
f
f K
i
ng
test-lib
:
make "-x
"
w
ork with "
-
-
v
e
r
b
o
s
e
-lo
g
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-12-08
Jeff
K
i
ng
t5615: avoid re
-
usin
g
descri
p
tor 4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-12-08
Jeff King
te
s
t-lib: sil
e
nce
"-x" cle
a
nu
p
under bash
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-12-08
Jeff K
i
ng
cvsimport: ap
p
ly shell-quoting regex
g
l
ob
a
lly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-12-08
Jeff
K
in
g
docs/p
r
etty-fo
r
mats:
men
t
i
o
n
c
ommas in %(tr
a
ilers
)
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-12-04
Jeff K
i
ng
progr
e
ss: set defa
u
l
t
del
a
y threshold to
100%,
not 0%
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-27
Jeff Kin
g
gi
t
-status
.
tx
t
: me
n
t
i
on
--no-opt
i
ona
l
-locks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-22
Jeff King
sha1_file:
fast-
p
ath
n
ull
s
ha1 as a
missi
n
g
object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
Jeff King
everyt
h
in
g
_local:
u
se
"
qu
i
ck" objec
t
ex
i
stence chec
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
Jeff
K
in
g
p5551:
add a script to test
f
etch pack-dir r
e
s
cans
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
Jeff Kin
g
t/perf/lib-pack: use fast
-
import checkpo
i
nt
to
c
reat
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
J
e
ff King
p5550: factor out n
o
n
s
ense-pack creation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
Jeff Ki
n
g
gi
t
-jump: giv
e
contact in
s
truction
s
in the README
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Jeff King
link_alt_odb_
e
ntries: make empty input a no
o
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
s
e
tu
p
: avoid do
u
ble
s
lashes when loo
k
ing for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
work
t
ree: handle
broken symref
s
in find_
s
hared_sym
r
ef()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Kin
g
log: handle
b
r
o
k
en HEA
D
in decoration
c
heck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
remote: handle brok
e
n symref
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
test-ref-
s
tore
:
avoid passin
g
N
U
LL to printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
diff:
handle
N
ULs
i
n get_string_h
a
sh()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
diff: fix w
h
ites
p
ace-skipping wit
h
--
c
olor-
m
ov
e
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: test t
h
e
output
o
f "di
f
f --col
o
r-moved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015:
chec
k
"nega
t
ive" case for "-w --color-moved
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff K
i
ng
t4015: refactor --c
o
lor-move
d
whitespace test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff K
i
ng
tag:
r
es
p
e
c
t color
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff K
i
ng
Rev
e
r
t
"color: check color
.
u
i
in
git
_
defau
l
t_config()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
Kin
g
Re
v
ert "t6006
:
drop "always
"
color
config t
e
sts"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
e
ff Ki
n
g
R
evert "color: m
a
ke "a
l
w
ays" the same as "auto"
i
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff Kin
g
diff:
f
ix inf
i
nite loop
w
ith --color-moved --
i
gnore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
Jeff K
i
n
g
revision:
quit pruning
diff more
q
uic
k
ly when possibl
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff Kin
g
wr
i
te_entry: un
t
a
n
gle
symlink and
regular-file cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
eff King
write_e
n
try: a
v
oid read
i
ng
b
l
o
bs in CE_RETRY ca
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jef
f
King
wr
i
te_entry: fi
x
le
a
k
when ret
r
ying delayed filt
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jef
f
King
refs_resolve_r
e
f_unsafe:
han
d
le d/f conf
l
icts f
o
r write
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
J
e
ff King
t3
3
08: create
a
r
eal re
f
directory/file
conflic
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
J
eff King
s
ha1_loose_object_info: handle er
r
ors from u
n
pack_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
pa
t
h
.
c
:
fix uninitia
l
ized
m
emory
a
c
cess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7301:
use
te
s
t_terminal
to check color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015: use --color wi
t
h --color-mo
v
ed
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
color: make
"
always"
t
he same as "auto" in
config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provide --color opt
i
on
for all
r
e
f
-filter
u
s
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3
2
05: use --color instead
o
f color
.
branch=a
l
ways
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
Kin
g
t3203
:
drop "always" color test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t6006: dr
o
p
"
alway
s
"
color
config tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
7
502:
u
se diff
.
nopre
f
ix for
--ve
r
bose test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t75
0
8:
use
t
est_t
e
rminal for color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f King
t3701: use tes
t
-t
e
rminal to collect color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015: prefer --color to -
c
color
.
diff=
a
lw
a
ys
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
in
g
test-terminal: se
t
TERM=vt1
0
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
git: add
-
-no-opt
i
onal
-
l
ock
s
option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
va
l
i
d
ate_h
e
adr
e
f: u
s
e get_oid_hex f
o
r detached H
E
ADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
i
n
g
validat
e
_hea
d
ref:
u
se
s
kip_prefix for
symref pa
r
sing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Kin
g
validate_headref:
N
UL-terminate HEAD buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
worktre
e
: che
c
k the resul
t
of read_in
_
full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
K
ing
wor
k
t
re
e
: use
xsize_t to access file size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
i
ng
di
s
t
i
nguish error versus shor
t
read from read_in_f
u
ll()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
avoid looking at errn
o
for shor
t
read_in_f
u
ll(
)
returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
p
r
e
f
er "!=" whe
n
chec
k
ing read
_
in_full() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
notes-mer
g
e
:
dr
o
p
dead zero-wr
i
t
e
c
ode
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
fil
e
s-backend: p
r
efer
"0" fo
r
write_in_full() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff
K
i
n
g
doc
:
put literal block delimiter
a
round table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
K
i
ng
cons
i
s
t
ently us
e
"fallthrough
"
c
o
m
ments in
s
witches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Ki
n
g
curl_trace(): eliminate s
w
itc
h
f
a
ll
t
hrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
Ki
n
g
te
s
t-line-b
u
f
f
e
r: si
m
plify command
parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff K
i
ng
cat-file
:
handle NULL object_context
.
p
ath
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Je
f
f King
revis
i
on:
r
ep
l
a
ce "struc
t
cmdline_
p
athsp
e
c" with argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff
K
i
ng
rea
d
_info_alte
r
n
a
tes:
w
arn on non-
t
rivi
a
l errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
re
a
d_i
n
fo_alternates:
read conten
t
s into st
r
buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pr
e
fi
x
_
r
ef_
i
t
e
rator:
b
reak
when we leave the
prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
r
e
ad_pa
c
k_he
a
der: han
d
le signed/uns
i
gned compar
i
son
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
config
:
fl
i
p return va
l
ue of store_wr
i
te_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
note
s
-m
e
rge: use
s
size
_
t for write
_
in_full() re
t
ur
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
pkt-line
:
check write_in_full() erro
r
s against "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
Ki
n
g
convert less-tr
i
v
i
al versions
of "write_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
a
void "write_in_full(f
d
, buf,
l
en) != le
n
"
p
a
tt
e
rn
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
g
e
t-tar-commit-i
d
:
ch
e
c
k write
_
in_full() retu
r
n a
g
a
i
n
s
t
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
co
n
fig: avoid "write_
i
n_
f
ul
l
(f
d
, buf, len) < len" patt
e
rn
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jef
f
Ki
n
g
cvs
i
m
port: shell-quote
varia
b
le used in b
a
c
k
ticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
eff King
archi
m
port: use safe_pipe
_
capt
u
re
f
or us
e
r inpu
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff K
i
ng
s
h
ell:
drop gi
t
-cvss
e
rver support
b
y default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff
K
ing
s
hortl
o
g: ski
p
format/parse
r
oundtrip for internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff K
i
n
g
add UNLEAK an
n
o
t
ation for reducing l
e
ak false positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_ex
t
ract_argv0_path: do
n
oth
i
ng
without RUNTIME_PREF
I
X
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
J
e
ff Kin
g
system_path: move RUNTIME_PR
E
FIX to a sub-func
t
i
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
r
ev-parse: don't t
r
im bisect refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_git_dir: handle feedi
n
g gi
t
dir to itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
repository
:
free fie
l
ds
b
efore overwriting t
h
em
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
in
g
reset: free
a
llocate
d
tre
e
buffe
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset: make tree counti
n
g less
c
onfusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
config: plug u
s
er_config leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
update-index: fix cache entr
y
le
a
k in add_o
n
e_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
a
d
d: free
leaked pat
h
s
p
ec
af
t
er
a
dd_files_to_cach
e
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
test-lib: set
LSAN_OPTIONS
to
a
b
o
r
t
by def
a
u
lt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-l
i
b:
-
-valgr
i
nd sh
o
uld not overr
i
de
--verbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
stop leak
i
ng lock structs in some
simp
l
e cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_lock: stop leakin
g
l
o
ck_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
lo
c
kfile: update lifetime requirements
i
n docu
m
entation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: auto-a
l
locate te
m
p
files on hea
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next