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
wildmatch test: indent with tabs, not spaces
2017-10-21
Je
f
f King
worktree:
handle broken
symrefs
i
n
fin
d
_shared_symref()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
Kin
g
log: handle broken HEAD in d
e
co
r
ati
o
n
c
h
e
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
remote: handle broken symrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
t
e
s
t
-
ref-store:
avoid passing NU
L
L to printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
diff: handle NULs in get_st
r
ing_ha
s
h()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
diff: fix white
s
p
a
ce-sk
i
pping
w
ith --color-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
t4015: test
the
o
u
tpu
t
of "diff --colo
r
-moved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
t
40
1
5
:
c
h
e
ck "neg
a
tive"
c
a
s
e for "-w
--
c
o
l
or-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff K
i
ng
t4015: refactor --
c
olor-
m
oved
w
hit
e
space test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff Kin
g
tag
:
r
e
spect color
.
ui conf
i
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Rev
e
r
t "col
o
r: check
color
.
ui in g
i
t_defaul
t
_co
n
fig()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Je
f
f K
i
ng
R
e
vert "t6006: dr
o
p
"
a
lways" color config tests
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
K
ing
Revert "color: make
"always" the sa
m
e
as
"auto
"
in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
diff: fix inf
i
nite loop
w
ith --
c
olor-moved --ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Je
f
f
K
i
n
g
w
r
ite_entry: untangle
symlink and regul
a
r-file cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jef
f
King
write_entry: avoid reading
blobs in C
E
_
RETR
Y
case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
w
r
ite_e
n
t
r
y: fi
x
leak w
h
e
n
retryin
g
delayed fil
t
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
refs_resol
v
e_re
f
_
unsafe:
h
andle
d
/f
conflicts
for writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff Ki
n
g
t3308: create
a re
a
l ref dire
c
tory/fi
l
e conflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Je
f
f K
i
n
g
s
ha1_loos
e
_object_i
n
fo: handle
e
rrors from unpac
k
_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
path
.
c: fix uninitial
i
zed
memo
r
y access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
t7301: use test_terminal
t
o
check col
o
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
4015
:
u
s
e --
c
olor with --color-move
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f King
c
olor: make
"
a
lw
a
ys"
the same as
"
auto" in config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provide -
-
col
o
r option for a
l
l ref-filter us
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3205
:
u
se -
-
color ins
t
ead
of color
.
branch=al
w
ays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3
2
0
3: drop "always" c
o
lor test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t6006: drop "always" color
conf
i
g tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t7502
:
u
se dif
f
.
noprefix
f
o
r --verbose
t
est
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7508
:
use test_term
i
nal for color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t3701: use te
s
t
-t
e
rm
i
nal
to collect color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
4015: prefer --co
l
o
r to -c color
.
diff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
tes
t
-terminal: set TER
M
=
vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff K
i
n
g
git: add --no-optional-
l
ocks o
p
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
K
i
ng
v
a
lidate_headr
e
f: use ge
t
_oi
d
_h
e
x for
detac
h
ed HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
validate_headref:
u
se skip_pref
i
x for symr
e
f parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_headref: NUL-ter
m
ina
t
e
HEA
D
buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktree: check the result of
r
e
a
d
_
in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
in
g
worktre
e
: u
s
e x
s
ize_t to a
c
ces
s
fi
l
e
s
ize
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
distinguish error ve
r
sus short r
e
ad from read_in_full
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
i
ng
avoid look
i
ng at errno for short read
_
in_
f
ull() re
t
urns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
prefe
r
"
!=" when
chec
k
ing read_in_full() resu
l
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
J
eff
K
ing
note
s
-me
r
ge: drop dead zero-
w
rite code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
files-backend: pr
e
f
e
r
"0"
f
o
r writ
e
_i
n
_full() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jef
f
K
ing
doc: pu
t
literal bl
o
ck
d
elimiter around t
a
ble
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff
K
ing
con
s
ist
e
ntly use "fallthrough" comments in switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
eff King
cu
r
l_trace(): elimi
n
a
te
switch fallthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
test-line-buffe
r
:
s
i
mplify
command p
a
rsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
cat-file: handl
e
N
ULL
o
bj
e
c
t
_context
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff K
i
n
g
revi
s
i
on: r
e
place "st
r
uct cm
d
line_p
a
thspec"
with argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
r
ead_inf
o
_alternates: warn
on
non-trivial err
o
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
eff King
read
_
info
_
alternates:
r
ead
con
t
e
n
ts into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
i
ng
prefix_ref_i
t
erator: break whe
n
we leave the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
ef
f
Kin
g
rea
d
_
p
ack_header: handle s
i
g
ned/unsigned
comparis
o
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
config:
f
lip
return value o
f
store
_
writ
e
_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
notes
-
m
e
rg
e
: use ss
i
ze_t for write_in_full() retur
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f Ki
n
g
pkt
-
line: check wr
i
te_in_full() er
r
or
s
agai
n
st
"
<
0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f Ki
n
g
conv
e
rt less-trivial v
e
rsi
o
ns of "write_in_fu
l
l()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
avoid "
w
rite_in_ful
l
(fd, buf,
l
e
n) != len"
p
attern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
Ki
n
g
ge
t
-
ta
r
-commit-id: check wr
i
te_
i
n_fu
l
l() return
a
gainst 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
co
n
fig: avoid "write_in_full(fd,
buf, len
)
< len" patt
e
rn
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
King
cv
s
import: shell-quote v
a
riable used in backticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
archimport: use safe_pipe_capture f
o
r user i
n
put
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
shell: dro
p
g
i
t-
c
vsserver support by def
a
ul
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
shortlog: s
k
ip format/par
s
e roundtrip
f
or internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Je
f
f Kin
g
add UN
L
E
A
K ann
o
tat
i
on
f
or reducing leak false positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
J
ef
f
King
git_extra
c
t_argv0_path: do nothing without R
U
NTIME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff
K
ing
sys
t
em_path: move RUNTIME_PREFIX to a sub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
r
e
v-parse: do
n
't tri
m
bisect refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Kin
g
set_
g
i
t
_dir: handle fe
e
ding
g
itdir
to
i
tself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
repository:
f
ree fi
e
lds before overwriting the
m
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
r
eset: free allocated tree b
u
ffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
re
s
et: make tr
e
e count
i
ng
les
s
confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config:
p
lug us
e
r_config
l
eak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
update-
i
nde
x
: fix
c
ache entry leak
i
n add
_
one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: free lea
k
ed pathspec after add_files
_
to_cache
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tes
t
-
l
ib: set
LSAN_OPTIONS to abort by
d
efault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
est-lib: --valgrind should n
o
t o
v
e
rride --v
e
rbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
sto
p
l
e
aking
l
ock
s
tructs
i
n
some simple case
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
ref_loc
k
: stop
l
e
aking lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfil
e
:
u
p
date lifetime requirem
e
nts in documen
t
ation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: auto
-
a
lloc
a
te tempfiles on
h
eap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
Kin
g
tempfile: remove de
a
ctivate
d
list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
tempfile: use li
s
t
.
h for li
n
ked l
i
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: re
l
ease
d
e
activated
s
trbufs instead o
f
rese
t
ting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfile: r
o
b
u
stify
c
leanup ha
n
dler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
temp
f
ile: factor out deactivat
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfil
e
: factor out a
c
tivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
file: replace die("BUG") wit
h
B
U
G()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff K
i
ng
t
e
mpfi
l
e: handle NULL
tempfile pointers grac
e
fully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: pr
e
fer is
_
tempf
i
le_
a
ctive to
bare access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Kin
g
l
o
ck
f
ile: do not ro
l
lback lo
c
k on failed
clos
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
K
ing
tempfile: do not
de
l
ete
t
empfile on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
always
check r
e
turn value of close_tempfil
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
n
g
verify_
s
i
gned_buffer
:
pre
f
er close_tempfile() to close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup_te
m
porary_
s
h
allow: move tempfile str
u
ct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
setup_tem
p
ora
r
y_shallow: avoid using inactive tempfil
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
write_inde
x
_as_tree: clea
n
up tempfi
l
e on error
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config:
u
se
a
static lo
c
k_file stru
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
Jeff King
doc:
fix typo i
n
sendemail
.
identity
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next