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
Jeff King
clo
n
e: do not clean
up dire
c
torie
s
w
e
didn't creat
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2018-01-03
Jeff King
clone:
f
a
c
tor out dir
_
e
xist
s
() helper
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2018-01-03
J
e
ff K
i
ng
t5
6
00: modernize st
y
le
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2018-01-03
Jeff King
t5600: fix ou
t
d
a
ted
c
omment
a
bout unborn HEAD
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-11-13
Je
f
f
King
link_alt_odb_entries: make emp
t
y
i
nput a
noop
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-11-03
Jef
f
K
i
ng
setup: avo
i
d double slash
e
s when looking for H
E
AD
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
J
eff
King
worktree
:
handl
e
broken symrefs in find_s
h
ared_symref
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
log: hand
l
e
broken HEAD in decorati
o
n
c
h
eck
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
remote: handle b
r
o
k
e
n
symrefs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t
e
st-
r
ef-store: avoi
d
passing NULL
t
o prin
t
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
diff: handle NULs in get_
s
tring_
h
a
s
h()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
diff: fix wh
i
tesp
a
c
e
-skippin
g
wit
h
--c
o
lor-moved
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
t
401
5
: test the
output of "diff
-
-c
o
lor-moved -b"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
t
4
015: check "negative" case for
"-w --color-moved"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t401
5
: refactor --color-moved
whites
p
ace test
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
J
eff King
tag: respect color
.
ui config
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
King
Reve
r
t "col
o
r: check color
.
ui in git_def
a
ult_
c
o
nfig()"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jeff K
i
ng
Revert "t6006: drop "alw
a
y
s
"
color
c
onfig t
e
s
ts"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "color: make "always"
t
he
s
ame 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 wit
h
--color-moved
-
-
i
gno
r
e
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-10
Jeff King
w
r
ite_
e
ntry: un
t
an
g
le symlink
a
n
d regular
-
fil
e
c
ases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
w
r
it
e
_entry: avoid re
a
ding blobs
i
n CE_
R
ETRY case
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-09
Jeff Ki
n
g
write_entry: fix leak when
r
etrying delayed
filte
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-07
J
eff Ki
n
g
ref
s
_re
s
olve_ref_unsafe: handle d/f conflicts
f
o
r wri
t
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t
3308: create
a rea
l
ref directory/fil
e
conflict
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-06
Jeff
King
sha
1
_loose_object_info: handle
erro
r
s
f
rom unp
a
ck_sha1_rest
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
path
.
c:
fix uniniti
a
lized memo
r
y access
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7301: u
s
e
test_terminal to check co
l
or
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t4015: use
--color with --color-move
d
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
Ki
n
g
c
olor: make "always" the
same as "auto" in config
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provide
-
-color option for all
r
ef-fil
t
e
r users
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t32
0
5: use
--color ins
t
ead o
f
color
.
branch=a
l
w
a
ys
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f
K
ing
t
3
2
0
3: dro
p
"alway
s
" co
l
o
r te
s
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t6006: d
r
op "always"
colo
r
config test
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff
K
in
g
t7502
:
use diff
.
noprefix for --verbose te
s
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
eff
K
ing
t
75
0
8: use test_terminal fo
r
color
o
utput
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t370
1
: use t
e
st-terminal to
c
ollect color ou
t
put
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t4015:
p
refer -
-
co
l
o
r
to
-c color
.
d
iff=alw
a
ys
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
test
-
terminal:
s
e
t T
E
RM=vt1
0
0
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff K
i
ng
gi
t
: add
--no-o
p
t
i
onal-locks opti
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff
King
v
alidate_
h
eadref: use get_oid
_
hex for detach
e
d HEADs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Kin
g
validate_headref: use skip_prefix
f
or symr
e
f
parsi
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Kin
g
valida
t
e_he
a
dref: NUL-terminate HEAD
b
u
ffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
worktree: check the r
e
sul
t
of
r
ead_in_full()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktree: use
x
size_t to
a
c
c
ess file size
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
dis
t
inguish error versus s
h
ort read fro
m
read_
i
n_full()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
K
i
ng
avoid looki
n
g at
e
rrno
f
or short r
e
a
d
_
in_full() returns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f K
i
n
g
pr
e
fer
"!
=
" when chec
k
ing read_in_
f
ull() result
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
Jef
f
Kin
g
n
otes-mer
g
e: dro
p
dea
d
zero-write code
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
files-back
e
nd
:
prefer "0" for writ
e
_in_full() error
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-24
Jeff
Ki
n
g
doc: put literal b
l
o
c
k delimiter around table
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f King
co
n
s
i
sten
t
ly use "fallthrough
"
c
o
mme
n
ts in sw
i
t
c
h
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
curl_trace
(
): elimin
a
te switch fallthrou
g
h
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Ki
n
g
test
-
line-b
u
ffer: simp
l
ify command parsing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
cat-file: handle NULL
ob
j
ect_
c
ontex
t
.
path
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-21
Jeff K
i
n
g
revisi
o
n: replac
e
"struct cmdline
_
pathsp
e
c" wit
h
a
rgv_array
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-20
Jeff Kin
g
read_info_alter
n
ates: w
a
r
n on n
o
n-trivial errors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-20
Jef
f
K
ing
read_info_alternates
:
r
e
ad co
n
ten
t
s into
strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
prefix_ref_iterator:
b
r
e
ak
w
hen
we le
a
ve the prefix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
Kin
g
rea
d
_pack_header: handle signed/unsigned compa
r
i
son
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
c
onfig: flip ret
u
rn value
o
f s
t
ore_write_*()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
notes-merge: use ss
i
ze_t
f
or write_in_full(
)
return
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
eff King
pkt-line: chec
k
write_in_f
u
ll() errors
a
g
ainst "< 0"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
convert less-trivial
v
ersions of "w
r
it
e
_in_full
(
)
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
avoid "wri
t
e_in_
f
u
l
l(fd, buf, len) != le
n
" pa
t
tern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
get
-
tar
-
com
m
i
t-id: check wri
t
e_
i
n_full()
r
eturn
against
0
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
config: avoid
"
write_in_full(fd, buf, le
n
) < le
n
"
p
a
tter
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f
K
ing
cvsim
p
ort: s
h
ell-quo
t
e variable used in back
t
ic
k
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f
K
ing
archimport: use safe_pipe_capture for user i
n
put
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
s
h
ell:
drop g
i
t
-cvsser
v
e
r support by default
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
shortlog
:
skip f
o
rmat/parse roundt
r
ip for in
t
ernal
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
ad
d
UNL
E
A
K annotation fo
r
re
d
ucing
leak false positive
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jeff
K
in
g
git
_
ex
t
ra
c
t_argv0_path: d
o
nothing without RUNTIME_
P
REFIX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
syste
m
_path: m
o
ve R
U
NTIME_PREFIX to a sub-function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev-parse: d
o
n't trim bisect refna
m
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
set_git_dir: handle feeding gitdir to i
t
s
e
lf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Ki
n
g
repository: free
fie
l
ds befo
r
e overwriting them
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
reset: free al
l
oca
t
ed tre
e
buffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
reset
:
ma
k
e tr
e
e counti
n
g less confus
i
ng
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
config: plug user_co
n
fig leak
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
update-i
n
dex:
fix cache
e
ntry leak i
n
a
dd_one_file
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
a
d
d: free
l
eak
e
d pat
h
spec after add_f
i
l
e
s_to_cache
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
te
s
t
-
lib: s
e
t LSAN
_
OPT
I
ONS to abort b
y
def
a
ult
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Kin
g
tes
t
-lib: --va
l
grin
d
s
h
ould not override --verbose-log
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
stop le
a
k
ing
l
o
ck
s
t
ructs in some
s
i
mple cases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
ref
_
lock:
stop le
a
king
l
ock_files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfil
e
: upda
t
e lifetime
r
equi
r
e
ment
s
in documentation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfile: auto-allocate tempfiles on heap
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
te
m
p
f
i
le
:
rem
o
v
e
d
e
a
c
t
iv
a
ted
l
ist entries
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfile
:
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
t
empf
i
l
e: rele
a
se d
e
activated strbufs instead o
f
resetting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tem
p
file: robu
s
tify
c
leanup
h
a
nd
l
er
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempf
i
le: facto
r
o
ut
deactivation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
m
pfile: fac
t
or o
u
t acti
v
at
i
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
tem
p
file: replace die("BUG") with
BUG()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfile: handle NULL tempfile
p
oint
e
rs gracefully
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
tempf
i
le:
prefer is_tempfil
e
_active t
o
b
are access
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
King
lockfile:
do not ro
l
l
b
ack lock on failed close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: do not delete tempfile on fa
i
led close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
always c
h
eck return v
a
lue of close_tempfi
l
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next