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
t/README: remove mention of adding copyright notices
2017-11-13
J
eff King
link_alt_odb_entries: m
a
ke empty input a
n
oop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
J
e
ff King
s
e
t
u
p: avoid dou
b
le s
l
ashes when looking
for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
work
t
r
ee: handle broken symrefs in find
_
shared_symref()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
log: handle bro
k
e
n
HEAD in decoration check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
re
m
ote: handle broken
s
y
m
refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t
e
st-ref-s
t
ore: avoid pas
s
ing NULL to pr
i
ntf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff Ki
n
g
diff:
h
andle NULs in get_string_ha
s
h
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff
K
ing
d
i
ff: fix
whitespace-skipping with --co
l
or-mo
v
ed
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: test the output of "di
f
f --color-moved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
K
i
ng
t
4
015:
c
h
ec
k
"negat
i
ve" ca
s
e
f
or "-w --color-m
o
ved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
f
f
King
t4015: refactor --color-
m
oved
w
h
itespac
e
test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
eff King
tag: resp
e
ct c
o
lor
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
K
ing
R
e
vert "
c
olor: check color
.
ui
in
g
i
t_default_confi
g
()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Je
f
f Ki
n
g
Rev
e
rt "t600
6
: dro
p
"always" color con
f
ig tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Je
f
f King
Revert "color:
m
a
ke "always" th
e
same as "
a
u
t
o" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
dif
f
: fix infinite loop with
--colo
r
-moved --ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
J
eff
K
ing
w
r
ite_entry: untangle syml
i
n
k
and regular
-
fi
l
e cas
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
write
_
entry: avoid re
a
din
g
blob
s
in CE_RETRY ca
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Je
f
f King
write_e
n
t
r
y: fix
l
eak when
r
e
try
i
ng delaye
d
filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Je
f
f King
refs_resolve
_
r
e
f_unsafe:
h
a
n
dle d/f conflicts for writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t33
0
8: create a re
a
l
ref directory/file conflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sha1_lo
o
se_object_info: handle errors from unpack_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
path
.
c: fix uninitialized memory access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7
3
01
:
u
s
e
t
est
_
terminal to check
c
olor
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t4015
:
use -
-
color with --color-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
color
:
make "always" the same as "aut
o
"
i
n
co
n
fi
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
provide --color option for
all ref-fi
l
ter
u
s
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3205: use --c
o
lor inste
a
d of co
l
or
.
branch=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
3203: drop "always" color test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f King
t6006: d
r
op
"
always
"
c
o
lor config tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7
5
02: use d
i
ff
.
no
p
refix fo
r
--verb
o
se
t
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
7
5
08: use test_termi
n
al for color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t3701:
use
t
est-te
r
minal to col
l
ec
t
color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f
King
t4015: pr
e
fer
--
c
o
lor
t
o -c color
.
dif
f
=
a
lways
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
test-terminal: set TERM=
v
t100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
g
i
t
: ad
d
--no-o
p
t
i
o
n
a
l
-
l
o
cks opt
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
vali
d
ate_
h
eadref:
u
se get_o
i
d_h
e
x for detached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validat
e
_he
a
dref: use skip_prefix for
symre
f
p
arsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
va
l
i
d
ate_headref: NUL-terminate HEAD
b
u
ffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
w
orktree: c
h
ec
k
the
result of read_in
_
f
u
ll()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
workt
r
e
e
: use
x
size_t to a
c
cess
file siz
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
f
f
King
distinguish error versus short re
a
d from read_
i
n
_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
avoi
d
l
o
oking at err
n
o for
s
hort re
a
d_in_fu
l
l() returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
pref
e
r
"!
=
"
w
h
en checking
read_in_
f
u
ll
(
)
r
es
u
l
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
notes-merg
e
:
d
r
op dead z
e
ro-write code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Je
f
f K
i
ng
fil
e
s-bac
k
end: prefe
r
"0" for write_
i
n
_
full()
e
rror
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc: put literal block de
l
imiter a
r
ound t
a
ble
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Kin
g
consis
t
ently use "fallthr
o
ugh" comments in switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
e
f
f Kin
g
curl_trace(): eliminate swi
t
ch f
a
llt
h
rough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
King
t
est-li
n
e-buffer
:
simplif
y
command parsi
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
cat-file: ha
n
dle NULL object_
c
o
n
t
ext
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
re
v
ision: replac
e
"struct cmdline_path
s
pec" with argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_alternates:
w
arn on non-trivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff Kin
g
read_in
f
o_alternates:
read contents into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff Ki
n
g
pre
f
ix_ref
_
itera
t
or
:
break when
w
e leave the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
read_pack_header:
h
a
ndle sig
n
ed/unsig
n
ed
c
o
m
p
arison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
c
o
nfig: flip
r
eturn value of sto
r
e_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f
K
ing
notes-merge:
u
se ssize_t
f
or writ
e
_in_
f
ull() return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pk
t
-
line
:
che
c
k write_in_full
(
)
e
r
rors aga
i
nst "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
conv
e
rt
l
e
ss-trivial ve
r
sions of "
w
rite
_
in_fu
l
l()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid
"wr
i
te_in_full(fd, buf, len) !=
le
n
" pat
t
ern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
get-t
a
r-commi
t
-
id:
c
he
c
k write_
i
n_ful
l
() return against 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
c
o
n
fig: avoid "write_in_full(fd, buf
,
len) <
len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
eff King
cvsimpo
r
t: shel
l
-quote variable
u
sed
i
n
bac
k
ticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
a
r
c
himport: u
s
e safe_p
i
p
e_captur
e
for user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f Kin
g
shell: drop git-cvsserver su
p
port by
d
efau
l
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
shortlog:
ski
p
format/parse
r
ound
t
rip for i
n
t
ernal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
a
d
d UN
L
EAK
annotation for reducing le
a
k false positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Je
f
f
K
ing
g
it_extr
a
ct_ar
g
v0_path
:
do
n
othi
n
g wi
t
hou
t
R
U
N
T
I
M
E_PRE
F
I
X
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff Kin
g
syste
m
_p
a
th: move R
U
NTI
M
E_
P
REFIX to a sub-f
u
nction
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
rev-p
a
rse: do
n
'
t t
r
im bisect re
f
names
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_git_dir: handle feeding git
d
ir
to itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
r
e
p
ository: free
f
i
e
l
d
s
before overwriting
t
hem
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
reset: fre
e
allocated t
r
e
e buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
reset: make t
r
e
e
coun
t
ing le
s
s c
o
nfusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config:
p
l
ug user_config leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
update-index:
fix ca
c
he entry leak in add_one_f
i
le
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
add: free leaked
p
athspec after
a
dd
_
fil
e
s_to_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
test-lib: set LSA
N
_OP
T
IONS to abort by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tes
t
-l
i
b: --val
g
rind should not override --verbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
stop leaking lock s
t
ruc
t
s
in some
sim
p
le cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
King
re
f
_
l
ock: s
t
op
l
e
a
king lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
loc
k
file:
update lifetime requ
i
r
ements i
n
documenta
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: auto-a
l
lo
c
ate tempf
i
les on h
e
ap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfil
e
: r
e
move dea
c
tivated list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
file: use
l
ist
.
h for l
i
nke
d
list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempfile: rel
e
as
e
deactiv
a
ted s
t
r
bu
f
s
instead of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
tempf
i
le: robustify cleanu
p
h
a
ndler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
n
g
tempfile:
f
ac
t
or out de
a
ctivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: factor out activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
tempfi
l
e:
replace die("BUG") with B
U
G
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
K
ing
t
e
mpf
i
le: h
a
ndle NULL tempfi
l
e pointers graceful
l
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: prefer is
_
t
e
m
pfile_a
c
tive to bare
access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Kin
g
lockfile: do not rollback lock on f
a
iled
c
los
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile:
do
not delete
tempfile
on f
a
i
l
ed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
alway
s
c
h
e
ck ret
u
rn value of close_
t
empfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
v
e
r
i
fy_
s
igned_buffer: prefer close_
t
empfile() to
clo
s
e()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
setup_
t
em
p
orary_shallow
:
m
ov
e
tem
p
file struct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup_tempor
a
ry_shallow:
avoid using in
a
ctive
t
em
p
f
i
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Kin
g
wr
i
te
_
i
n
dex_as_tree: cleanup tempfile
o
n err
o
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next