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
test-ref-store: avoid passing NULL to printf
2017-10-21
Jeff King
test
-
ref-store: avoid pa
s
sing NULL to printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
K
i
n
g
ta
g
:
res
p
ect
color
.
u
i
co
n
fig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff Ki
n
g
R
evert "color: ch
e
ck color
.
u
i
in
g
it
_
default_
c
onfig()
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff Ki
n
g
R
ev
e
r
t "t6006
:
drop
"
always"
color config tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert
"color: make "alw
a
ys" t
h
e s
a
me
a
s "auto"
i
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
d
i
ff: fix infini
t
e loop with --color-
m
oved --ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff King
w
r
ite_entry: untangle syml
i
nk and regular-file cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
write_e
n
try: avoid reading blob
s
in CE_RETRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
e
ff King
write_
e
ntr
y
:
f
ix
l
eak when retry
i
n
g delayed fil
t
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff Kin
g
refs_reso
l
ve_ref_unsafe: handle
d
/
f co
n
flicts
f
or writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t3308: create a real ref directory/file confli
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff Kin
g
sha1_l
o
ose_object_info
:
handle
e
rrors from unpack_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
pa
t
h
.
c: fix unin
i
tial
i
z
e
d
memor
y
access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
K
i
ng
t7301:
u
se tes
t
_terminal to
c
heck color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
t4015: use
-
-color with
-
-color-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
c
olor: make "a
l
w
a
ys
"
t
he
s
a
m
e as "auto" in c
o
nfig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
pro
v
ide --c
o
lor option for
all ref-filter user
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t3205: use --color instead of color
.
branch=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t3203: dro
p
"always" color t
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t6
0
0
6
: drop "always
"
color config tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
7502: use diff
.
n
oprefix
f
or
-
-
v
erbose test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
ef
f
King
t
7
508: use test_terminal for color
o
utput
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3
7
01: use
t
est-terminal to co
l
lect
c
olor output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t4015:
p
refer --color to -c
color
.
dif
f
=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
i
n
g
tes
t
-terminal: set TER
M
=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
git:
add --no-o
p
tional-locks option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_he
a
d
ref: use get_oid_hex for deta
c
hed HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
valida
t
e_headref: use skip_pr
e
fix for symref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
va
l
ida
t
e
_
headref: NUL-termin
a
te H
E
AD buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktree:
c
h
ec
k
the
r
esult of re
a
d_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff Ki
n
g
wor
k
tree: us
e
xs
i
ze_t to
ac
c
ess file size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
di
s
tinguish
e
rror
v
er
s
us sh
o
rt 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
errno for short read_in_full() returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
prefer
"
!=" wh
e
n ch
e
cking read
_
in_f
u
ll() resu
l
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Je
f
f King
n
otes-m
e
rg
e
: drop dead zero-write code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
J
e
ff
K
i
ng
files-backend: prefer "0" for wr
i
te_in
_
full() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
do
c
: put
literal
b
l
ock delimiter a
r
ou
n
d
table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Ki
n
g
c
o
nsis
t
ently use "fallthrough" comments in switch
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff King
curl_tra
c
e():
eliminate swit
c
h
fal
l
through
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
test-line-buffe
r
: s
i
m
p
lify comma
n
d
p
a
rsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Ki
n
g
cat-fi
l
e: han
d
le NULL object_context
.
p
a
t
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
rev
i
sion: re
p
l
ac
e
"struct cmdline_pathspec" with argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_alternates: warn on non-tr
i
vial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read
_
info_alterna
t
es: read conte
n
ts into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pre
f
ix_re
f
_itera
t
or: break wh
e
n
we lea
v
e
the
prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
r
ead_pac
k
_hea
d
e
r: handle signed/unsi
g
ned
c
o
mpariso
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
c
o
n
fig:
f
lip ret
u
rn v
a
lue o
f
store_writ
e
_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
n
o
tes-merge: us
e
s
s
ize_t
fo
r
write_
i
n_full
(
)
r
eturn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
pkt-line: check write_in_full()
e
rror
s
against "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
convert
less-trivi
a
l vers
i
ons
o
f
"
w
rite_in_ful
l
()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid
"write_in_full(
f
d, buf,
len
)
!= l
e
n" patte
r
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff K
i
ng
get-tar-co
m
mit-id: check write
_
in_f
u
ll() return ag
a
inst 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
Ki
n
g
c
o
n
fi
g
: avoid "wri
t
e_in_full
(
fd, buf, len) < len" p
a
ttern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff K
i
ng
cvsi
m
por
t
:
shell-quote v
a
r
i
able used i
n
back
t
icks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
arch
i
mport: use safe_pipe_
c
apture
for user in
p
u
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Ki
n
g
shell: drop git-cvsserv
e
r support
by de
f
ault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
shortlo
g
: skip format/parse roundtr
i
p for internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
add UNLEA
K
annot
a
tio
n
for r
e
ducing lea
k
fals
e
p
o
s
i
t
i
v
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff
King
git
_
extract_argv0
_
path: do nothi
n
g wi
t
hout RU
N
TIM
E
_P
R
EFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system_path:
move
R
UN
T
IME_PR
E
FIX to a sub-funct
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
rev
-
parse: don't tr
i
m
bisect refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
set_git_dir: handle feeding gitdir to
itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
repo
s
it
o
r
y: fre
e
fields befo
r
e o
v
erwri
t
ing
them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f King
reset: free allocate
d
tree buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff K
i
n
g
reset: make tree
counting less
confu
s
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
c
onfi
g
:
p
l
ug user_con
f
ig leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
upda
t
e-index: fix ca
c
he entry l
e
ak in
add
_
on
e
_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: f
r
ee leak
e
d pathspec after a
d
d
_files_to_c
a
che()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
test-lib: set LSA
N
_OP
T
IO
N
S to abort by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
Kin
g
t
est-lib:
--valgrind
s
h
o
uld not override --v
e
rbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
sto
p
leakin
g
lock
structs in
s
o
me simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
r
e
f_lock: stop
le
a
king
lock_
f
iles
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
ef
f
King
lockfile: update lifetime req
u
irements in documentat
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfile: auto
-
allo
c
a
te t
e
m
pfiles on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
K
ing
tempfile: remove
deactivated list ent
r
ies
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: use list
.
h for li
n
ked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile:
relea
s
e d
e
activated strb
u
fs instead o
f
r
e
s
etti
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f King
tempfile: robustify c
l
eanup
h
andler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
t
e
mpfile: fa
c
tor out deact
i
v
a
t
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfi
l
e: f
a
ctor out
ac
t
iv
a
tio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Kin
g
tempfile: replace di
e
("BUG")
with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfi
l
e: hand
l
e NULL tempfile poi
n
t
e
rs g
r
a
c
e
fully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff K
i
n
g
t
emp
f
ile
:
p
refer is_tempfile_a
c
tive to bare
a
ccess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: do not
r
ollbac
k
lock on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
tempfile: do no
t
d
ele
t
e tempfil
e
on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
a
l
wa
y
s
check return v
a
lue of cl
o
se_
t
empfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
v
e
rify_signed_buffer
:
prefer close_t
e
mpfile()
t
o close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
setu
p
_
t
e
mpo
r
ary_shal
l
o
w
:
move tempfil
e
struct in
t
o
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup_t
e
m
porary_shallow: avoid using ina
c
ti
v
e tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
write_index_as_
t
ree:
c
l
e
anup tempfile on erro
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
co
n
fig: use a static lock_file struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
J
e
ff King
do
c
: fix typo in se
n
demail
.
identity
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
pretty:
s
uppor
t
normalization options
f
o
r %(t
r
ailers)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
t
4
2
05:
r
efact
o
r
%
(
tra
i
lers) tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
pre
t
ty: move traile
r
f
o
rmatting to
t
r
a
iler
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jef
f
Ki
n
g
interpret-
t
railers: add
-
-pars
e
convenience option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff K
i
ng
i
nterpret-
t
r
a
ilers: ad
d
an opti
o
n
to unfold values
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
interpret-trailers: add
an option to sh
o
w only existin
g
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Kin
g
interpret-tr
a
i
lers: add an option t
o
s
how
o
nly the
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-10
Jeff King
traile
r
: put p
r
ocess_trailers() options
i
nto a struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next