repo.or.cz
/
git
/
gitweb.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Merge branch 'tb/add-renormalize'
2017-11-21
Jeff King
git-j
u
mp: give c
o
ntact instructions in
t
he
R
EADME
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Jef
f
King
l
i
nk_alt_odb_entries:
m
ake e
m
pty input
a
noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
setup: avoid double slashes
when
l
ooking for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
ef
f
K
in
g
wo
r
ktree: handle br
o
ke
n
sym
r
efs i
n
f
i
nd_shared_symre
f
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Kin
g
log: handle broken
H
EAD in decoration c
h
ec
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
r
e
mote: handl
e
b
roken sym
r
efs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff
King
tes
t
-ref-store: avoid
p
assi
n
g NULL to pri
n
tf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f
King
diff: h
a
nd
l
e NUL
s
i
n
get_string_hash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
di
f
f:
fix whitespac
e
-skipp
i
ng wi
t
h --color-
m
ove
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
t
4015:
t
e
st the output of "diff --col
o
r-
m
oved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: check "n
e
ga
t
i
v
e"
c
as
e
for "-w --
c
olor-
m
oved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015
:
re
f
actor --co
l
or-moved whitespace test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
tag: respe
c
t
c
olor
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Re
v
ert "
c
olor: check color
.
ui in git_
d
e
f
ault_config()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Je
f
f
Kin
g
Revert "t
6
00
6
: d
r
op "always"
c
o
lor config test
s
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
e
ff Ki
n
g
Revert "color: m
a
ke "always" the
s
ame as "a
u
to"
i
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
di
f
f
:
fix
i
nfinit
e
loop with
--color-
m
o
ved
--ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
Jeff King
revision: quit p
r
uning diff mo
r
e quickly when po
s
sible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff King
w
r
ite
_
entr
y
: un
t
angle symlink and regu
l
ar-file c
a
s
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
write_entry: avoid read
i
n
g blobs
in CE_RETRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff K
i
ng
write_entr
y
: fix leak when retrying delayed filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff
King
refs_resolve_ref
_
unsafe
:
handle d/
f
c
onflicts for writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
J
e
f
f
Ki
n
g
t3308: create a real ref directory/
f
ile
c
onf
l
ict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff
K
in
g
sha1_loose_o
b
je
c
t_info: ha
n
dl
e
erro
r
s from
u
np
a
ck_sh
a
1
_
rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
path
.
c: fix uniniti
a
lized me
m
ory access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7301:
use test_terminal
t
o
check
c
olor
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t4015: u
s
e -
-
color
w
ith --color
-
moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
color: make "always" the same as "a
u
to" in
config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provide -
-
colo
r
option for all ref-filter users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
n
g
t
3
205: use --
c
ol
o
r instead of c
o
lo
r
.
branch=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
3203: drop "always" color t
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t6006
:
drop "always" color config t
e
sts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t7502: use dif
f
.
noprefix for --ve
r
bose test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
K
i
ng
t7
5
08: u
s
e test_ter
m
inal for
color out
p
ut
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3701: use test-termi
n
al to
c
ollect
col
o
r output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f King
t4
0
15: prefer --col
o
r to -c
c
o
lor
.
diff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff
K
ing
test-t
e
rminal:
s
e
t
TERM=vt
1
00
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff
K
ing
gi
t
:
a
dd --no-option
a
l-locks opti
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
v
alid
a
te_headref: use get_oid_h
e
x for det
a
ch
e
d H
E
ADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
vali
d
ate_headref: use sk
i
p_prefix
for symr
e
f parsin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
v
a
lidate_headref: NUL-te
r
minat
e
HEAD
buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
Kin
g
w
o
rktree:
c
hec
k
the result of read_in_full
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktree: u
s
e xsize_t to access f
i
le size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
distin
g
uish error versus
s
h
or
t
read from r
e
a
d_in_f
u
ll()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
avoid loo
k
ing
a
t errno f
o
r short read_in
_
ful
l
() returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
p
r
efer "!=" when
chec
k
ing read_
i
n_full() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
notes-merge: drop de
a
d ze
r
o-write cod
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Kin
g
fil
e
s-backend: pre
f
er "0
"
for write_in_full() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
J
e
f
f King
d
o
c: put literal block
d
elimi
t
er around tabl
e
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
Jeff King
c
u
rl_t
r
ace(): eliminate swit
c
h fallthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
test
-
line-buffer:
s
implify
command par
s
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
King
cat-file: handle NULL o
b
ject_cont
e
x
t
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff
King
rev
i
sion: replace "stru
c
t
cmdline_p
a
thspec"
wi
t
h
argv_arra
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_alternates: wa
r
n on
no
n
-trivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jef
f
King
read_
i
nfo_alt
e
rnates: read contents into s
t
r
buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
prefix_ref_iterato
r
: break when we
leave th
e
prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
re
a
d_p
a
ck_header: han
d
le signed/unsigned comparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
i
n
g
c
onfig:
f
l
ip return value of store_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
n
o
te
s
-merge: u
s
e ssiz
e
_t for
wr
i
te_in_full() return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
pk
t
-
l
ine: c
h
eck w
r
ite_in_full()
errors aga
i
n
st "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
conve
r
t le
s
s-trivial versions of "write_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
avoid "write_in_full(fd, buf, len) != len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
i
ng
get-tar-commit-id: che
c
k
w
ri
t
e
_
in_ful
l
() return against
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
co
n
f
ig: avoid "wr
i
te_in_full(f
d
, buf, len) < len"
p
a
ttern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jef
f
King
cvsimport: shell-quote
variable
u
sed in
b
ackticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
e
ff Ki
n
g
a
r
chimport: u
s
e saf
e
_pipe_c
a
ptur
e
for user
i
n
put
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Kin
g
s
h
ell: d
r
op git-cvsserver
s
upport by
d
e
fault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
shortlog:
s
kip
format/p
a
rse ro
u
ndtrip fo
r
int
e
rnal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
f
f
Kin
g
add UNL
E
AK annotation for r
e
ducing
l
eak false
positive
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_e
x
trac
t
_argv0_path: do
n
othi
n
g without RUNTIME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jef
f
K
i
n
g
system_path: move RUN
T
IME
_
PREFIX to a sub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
rev-pa
r
se: don't trim bisect refnam
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
set_
g
it_dir: handle feeding gitdir to itse
l
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
repositor
y
: free fields before overwriting
them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
K
ing
re
s
et: free allocat
e
d tree buffer
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset
:
ma
k
e tree counting less confusi
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
config: pl
u
g
u
ser_con
f
ig leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
update-ind
e
x:
f
ix cache
e
n
t
r
y leak i
n
ad
d
_
o
ne_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ad
d
: free leaked paths
p
ec after add_files_t
o
_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
t
est-lib: set LSAN_OPTIONS to abort
b
y defaul
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-
l
ib: -
-
valgrind
s
h
o
uld not ove
r
ride --verbose-lo
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
stop leaking lock s
t
ruc
t
s in some simple c
a
ses
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_lock: st
o
p leaking
lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
lockfile: update lif
e
time r
e
quirements in d
o
cum
e
ntation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tempfile: a
u
to-all
o
c
ate t
e
mpfiles on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
temp
f
i
le: remove deactivated list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfi
l
e: u
s
e list
.
h fo
r
lin
k
ed list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
m
pfile: rele
a
se d
e
a
c
tivated strbufs
instead of resetti
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
te
m
pfile
:
ro
b
ustify cl
e
anup handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile:
fac
t
or
out deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfil
e
: factor o
u
t a
c
tivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfile: re
p
lace die("BUG") with B
U
G()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff K
i
ng
tempfile: handle N
U
LL tempfile poin
t
ers gracefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Kin
g
tempfile: prefer is
_
temp
f
i
le_acti
v
e to
ba
r
e acces
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
l
ockfile:
d
o
n
o
t rollback lock on failed c
l
o
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempf
i
le: do n
o
t delete tempfile on
f
ailed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
always
c
heck
r
eturn valu
e
of close_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
veri
f
y_signed_
b
u
f
f
er: pre
f
e
r
close_tempfile()
t
o cl
o
se()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
setup_temporary_
s
hal
l
ow: move tempfile str
u
ct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next