repo.or.cz
/
alt-git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
clone: do not clean up directories we didn't create
2018-01-03
Jef
f
King
clone: do not clea
n
u
p
dir
e
ctories we didn'
t
creat
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2018-01-03
Jeff
King
cl
o
ne: f
a
ctor o
u
t dir_exists
(
) helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2018-01-03
Jeff King
t560
0
: modern
i
ze
st
y
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2018-01-03
Je
f
f King
t5600: fix o
u
tdat
e
d
comm
e
nt about unb
o
rn HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Je
f
f King
li
n
k_alt_odb_entri
e
s: make empty input a noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
setu
p
:
a
void
doubl
e
slashes wh
e
n
l
oo
k
ing for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
worktree:
h
a
ndle broke
n
s
y
mrefs in find_s
h
ared_symref()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f
King
log: handle
b
roken HEAD in decoration check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
remote: h
a
ndle bro
k
en symrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
t
e
st-ref-stor
e
:
avoi
d
passing
N
U
L
L
t
o pr
i
n
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
diff: handle NULs
i
n ge
t
_string_hash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff K
i
ng
di
f
f: fix
w
hitespace-skipping with
--colo
r
-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
t4015: tes
t
the
o
utput o
f
"
d
i
f
f
--color-m
o
ved
-
b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: check "n
e
g
ative" c
a
se
f
or "-w
--colo
r
-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
Kin
g
t
4015: r
e
factor --col
o
r
-
move
d
whitesp
a
c
e
t
est
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
e
ff Kin
g
t
a
g: re
s
pect color
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
King
Rever
t
"c
o
lor
:
chec
k
c
o
lor
.
ui in git_def
a
ult
_
config()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "t6006: d
r
op "always" c
o
lo
r
con
f
i
g tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
eff King
Revert "color: m
a
k
e
"
alwa
y
s" the same as
"
a
uto" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
J
e
ff King
diff:
fix infinite
loop with --color-
m
o
v
ed --ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff King
w
r
ite_entry: unta
n
gle symlink a
n
d regu
l
ar
-
file cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff Ki
n
g
write_
e
ntry: avoid reading blobs in CE_RETRY cas
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
wr
i
te_
e
ntry: fix leak whe
n
r
etrying
delayed filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
J
e
ff
Kin
g
refs_resolve_r
e
f_unsafe:
h
a
n
d
l
e
d
/f co
n
flicts for writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
J
eff King
t3308: cre
a
te a real ref di
r
ectory/file c
o
nflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff
K
ing
sha1_lo
o
se
_
objec
t
_i
n
fo: ha
n
dle
e
r
r
ors from unpa
c
k_
s
ha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
path
.
c: fi
x
uninitia
l
ized memo
r
y access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
K
ing
t7301:
use te
s
t_t
e
rminal to check
c
o
l
or
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015:
u
s
e --co
l
or with -
-
c
olo
r
-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
c
o
l
o
r
: make "alway
s
" the
same as "
a
uto" in config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
provide --color opt
i
on for al
l
ref-
f
ilter users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f King
t3205:
u
se
--color instead of
c
o
l
or
.
b
r
anch=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t320
3
:
drop
"always" color test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
n
g
t6006: drop "always" color co
n
fig tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
Ki
n
g
t7502:
use
diff
.
noprefix for --ve
r
bos
e
test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t75
0
8: use test_t
e
rminal for color out
p
ut
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
in
g
t3
7
01: use
t
e
st-terminal
t
o
collect color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015
:
prefer --col
o
r
to -c color
.
d
i
ff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
test-t
e
rminal
:
s
et TERM=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
git
:
add
--no-o
p
tional-locks
o
p
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f K
i
ng
validate_headref: us
e
get_oid_hex for detached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
vali
d
ate_headref: use
s
k
i
p_prefi
x
f
o
r s
y
mr
e
f
p
ar
s
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
vali
d
ate_headref:
NUL-terminate
H
EAD buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktree
:
ch
e
ck
the result of read_
i
n_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktree
:
use xsize_t to acc
e
ss file
size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
dist
i
n
guish
e
rr
o
r versus short read from read_in_fu
l
l()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
avo
i
d l
o
ok
i
ng at
e
rrno
for s
h
ort read_in_fu
l
l() returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
prefer "!=" w
h
en checking read_in_full(
)
result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff
K
ing
notes-merge: drop dead zero-writ
e
code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Kin
g
files-backend
:
prefer "0" for write_in
_
full() err
o
r
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc:
p
ut liter
a
l block deli
m
it
e
r
a
rou
n
d
table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
K
i
n
g
consistently
u
se "fallthr
o
ugh" comments
in switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff K
i
ng
curl_t
r
ace():
e
l
iminate swit
c
h f
a
l
lt
h
rough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
K
i
n
g
t
e
s
t
-
l
ine-buffer: si
m
plify
command parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
cat-
f
ile:
h
andle NUL
L
ob
j
ect_context
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revi
s
ion: replace "s
t
ruct cmdl
i
ne_
p
athspec
"
w
i
t
h
a
rg
v
_
array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff
King
r
ead_
i
nfo_alterna
t
es: warn on
n
o
n-t
r
ivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_alternates: read
c
on
t
ents
into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
p
r
e
fix
_
ref
_
iterator: b
r
eak when we leave the pr
e
f
ix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff K
i
ng
read_pa
c
k_he
a
der: hand
l
e s
i
gned/unsigned comparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: f
l
ip return valu
e
of store_write
_
*(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
note
s
-
merge: use
s
size_t for write_i
n
_full() retu
r
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
in
g
pkt
-
li
n
e: check write_in
_
full() er
r
ors against "< 0
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
convert less-t
r
ivial versions of "
w
rite
_
in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
avoid
"
wri
t
e_in_f
u
ll(fd, b
u
f, len)
!
= len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
get-tar-commit-id:
chec
k
write_i
n
_f
u
ll() return against 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
K
ing
config: avo
i
d "
w
r
ite_in_full(fd, buf,
l
en) <
len" pat
t
ern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cvsimpo
r
t
: shell-quote variable used in bac
k
ticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
archimport: use safe
_
pipe_
c
apture for user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
K
ing
sh
e
ll:
d
r
o
p
g
i
t-c
v
sse
r
v
e
r
s
upport by defa
u
lt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff King
shortlog: s
k
i
p
format
/
p
arse roundtrip for internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff
K
ing
add UNLEAK
a
n
n
otatio
n
for
reduc
i
ng leak false positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_ex
t
ract_
a
r
g
v0_path: do nothing
wi
t
hou
t
RUNTIME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
J
e
ff King
system_
p
ath: move RUNTIME
_
P
R
E
FIX
to a sub-func
t
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
rev-parse
:
don't trim b
i
s
ect refna
m
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
s
e
t_git_d
i
r: han
d
le
feed
i
ng
gitdir to itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
r
eposito
r
y
:
free
f
i
elds b
e
fore overw
r
iting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
reset: free al
l
ocated tree b
u
ffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset: make tree
count
i
ng
l
e
ss confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
c
onfig:
p
l
u
g user_config leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
u
pdate-index: f
i
x
cache entry
l
e
a
k
i
n
a
dd_one_fi
l
e
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
add: fre
e
leaked pathspec
a
fter ad
d
_files_to_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
st-li
b
:
set LSAN_O
P
TION
S
to abort by d
e
f
a
ult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
i
n
g
t
est-l
i
b: --
v
algrind should not ove
r
ride --v
e
rbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
stop
leak
i
ng
l
o
ck st
r
ucts
i
n s
o
me simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
ref_lock
:
st
o
p leaking lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: u
p
dat
e
life
t
ime requir
e
ments in documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: auto-
a
lloca
t
e tempfiles on hea
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: remove dea
c
tivated list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Ki
n
g
t
e
mpfile: use
l
ist
.
h for linke
d
list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Ki
n
g
tem
p
file:
r
e
l
ease
d
eactivat
e
d
strbu
f
s
instead
of
r
eset
t
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Ki
n
g
tempf
i
l
e:
robustify cleanup handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
temp
f
ile: factor
o
ut deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: factor ou
t
activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
tempfile:
replace die("BUG"
)
wit
h
B
U
G()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
tempfile: handl
e
NULL tempfile
pointers g
r
ac
e
fully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: pr
e
f
er is_tempfile_active to bare acc
e
ss
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
lockfile: do not
rollback lock on faile
d
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
i
n
g
tem
p
file: do not
delete
t
empfile on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
alway
s
check return valu
e
o
f close_te
m
pfi
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next