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
t5600: fix outdated comment about unborn HEAD
2018-01-03
Jeff
K
ing
t5600: fix outdated
comment
a
b
out unborn HEAD
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-11-13
Jeff Kin
g
link
_
alt_odb_ent
r
ie
s
: make empty input a noop
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-11-03
Jeff K
i
ng
setup: avoid double slashes w
h
en l
o
o
k
i
n
g for HEAD
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
w
orktre
e
: h
a
ndle
b
roken sym
r
efs in find_shared_symref()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
l
og: handle bro
k
en HEAD
in dec
o
r
a
tion check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
remote: hand
l
e brok
e
n
s
y
mrefs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
te
s
t-ref-store:
a
v
o
i
d
p
a
ssin
g
NU
L
L to printf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
d
i
ff: handle NULs in get
_
stri
n
g_has
h
()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
d
if
f
: fix whitespa
c
e-skipping with --color-moved
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
J
eff King
t401
5
: test the outp
u
t of "diff -
-
color-moved -b"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff K
i
ng
t4015: check "negative"
case for
"
-w --col
o
r
-moved"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t401
5
: refactor --color-moved
w
hit
e
space te
s
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
King
ta
g
: respect color
.
ui config
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Re
v
ert "
c
o
lor: check
c
olor
.
ui in git_default_
c
o
n
fig
(
)
"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
J
e
ff King
Revert "
t
6006: drop "always" col
o
r
conf
i
g tes
t
s"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
R
ever
t
"c
o
lor: make "alway
s
"
t
he same as
"
auto"
in
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
diff: fix infinite
loop with --color-mo
v
ed -
-
ignor
e
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-10
J
eff
K
ing
write_
e
ntry
:
u
ntangle symlink and r
e
gular-file cases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-09
Jeff Kin
g
wr
i
te_
e
ntry: avoid
reading blobs in CE_RETRY
c
ase
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-09
Jeff Kin
g
wr
i
t
e
_
e
ntry: f
i
x leak when retrying de
l
a
y
ed
filter
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-07
Jeff K
i
ng
refs_
r
e
s
olve_ref_unsa
f
e: handle d/f conflicts for writes
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t3308:
create a real r
e
f direc
t
o
ry/file co
n
flict
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
s
h
a1_loos
e
_object
_
i
n
f
o: handl
e
er
r
ors f
r
o
m
unpack_sh
a
1_rest
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
pat
h
.
c: fix u
n
initialized m
e
mory access
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t7301: u
s
e
t
e
s
t_terminal to che
c
k
color
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t40
1
5: us
e
--color with --color
-
moved
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
color:
make "always" t
h
e same
as "auto" in config
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
p
r
ovide --color
option for
a
l
l ref-fi
l
te
r
users
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t
3205: u
s
e --color instead of
color
.
bran
c
h=always
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
t
3203: drop
"
a
l
w
a
y
s" c
o
lor test
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t6006: drop "alw
a
ys" color config tests
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t7502:
use diff
.
n
o
prefix for --verbose test
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
eff
Kin
g
t7508: use t
e
s
t
_
terminal for color output
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t3701:
u
s
e test-terminal to co
l
lect co
l
or output
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4
0
15: pref
e
r
--color to -c colo
r
.
diff=always
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
test-terminal: set TERM=v
t
100
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Kin
g
g
i
t
:
add --no-opt
i
onal-locks
o
ption
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff Ki
n
g
vali
d
ate
_
headr
e
f:
u
se
get_oid_hex f
o
r detached HEADs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_he
a
dref:
u
se s
k
i
p
_prefix for symref parsing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f
King
val
i
date_he
a
dref:
NUL-terminate HEAD buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff Kin
g
worktr
e
e:
c
heck th
e
result of read_in_full()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
workt
r
ee: use xsize
_
t
t
o
access file
size
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
d
i
stinguish error ver
s
us
s
h
ort read from read_in_full()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
avo
i
d looking at errno fo
r
s
hort read_in_full
(
) retu
r
ns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
pr
e
fer "!=" when
c
hec
k
ing read_in
_
full()
r
esult
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
Jeff
K
ing
n
o
tes-merge: drop dead zero-writ
e
code
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
fi
l
es-b
a
ck
e
nd:
prefer "0" for wr
i
te_in_full() er
r
or
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-24
Je
f
f King
doc:
p
ut literal bl
o
ck d
e
l
i
miter arou
n
d table
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
consistently use "fallthrough" comm
e
nt
s
in switches
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
c
url_trace(): e
l
i
m
inate switch fallthrough
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
J
eff King
test-lin
e
-buffer: simp
l
ify
c
ommand
p
a
r
s
ing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
ca
t
-file: h
a
n
d
le NU
L
L
object_contex
t
.
path
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-21
J
eff King
re
v
ision: repla
c
e "stru
c
t cmdline_pathspec"
w
ith argv_arr
a
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_al
t
ernates: warn
o
n
non-trivial errors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-20
Je
f
f
K
ing
read_info
_
a
l
terna
t
es: read contents into
strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
K
ing
prefix_ref_iterator
:
bre
a
k
w
he
n
w
e l
e
ave the prefi
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
read_pack_he
a
de
r
:
h
andle signed/un
s
i
g
n
e
d compari
s
o
n
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
eff Kin
g
config:
f
l
i
p return value of stor
e
_
wri
t
e
_
*()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
f
f
King
n
o
t
es-merg
e
: use ssize_t for write_in_full
(
) return
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
p
k
t-
l
ine: check write_in
_
full() errors aga
i
nst "< 0"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
convert less-t
r
ivia
l
ve
r
sions of
"write_in_full()
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid "wri
t
e_in_full(fd, bu
f
,
len) != le
n
"
pattern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
get-tar-commit
-
id: c
h
eck
wr
i
te_in_full() ret
u
r
n
a
gai
n
st 0
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff K
i
ng
co
n
fig: avoi
d
"write
_
in_full(fd,
b
uf, len)
<
l
e
n
" pat
t
ern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cv
s
im
p
ort: shell-quote varia
b
le
u
sed
i
n backti
c
ks
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
archimport
:
use safe_pipe_captu
r
e for us
e
r input
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
Ki
n
g
s
hell: drop git-cv
s
server support by
defau
l
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff K
i
ng
shortlog:
skip fo
r
mat/parse roundtrip
for internal
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
add
U
NLEA
K
a
n
no
t
ation for re
d
ucin
g
leak false positives
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Je
f
f
K
ing
git_e
x
tract_argv0_path: do no
t
hing witho
u
t R
U
NTIME_PR
E
F
I
X
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jeff
K
i
ng
system_path: move R
U
NTIME_PREF
I
X to a sub-func
t
i
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev-pa
r
s
e
: don't trim bi
s
ect refnames
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
se
t
_git_dir: handle
f
eeding
g
itd
i
r to itself
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
r
e
po
s
ito
r
y
: f
r
ee fields before overwriting them
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
reset: free alloc
a
ted tree buffe
r
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
K
ing
r
e
set: m
a
ke
tree coun
t
ing
less con
f
u
sing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
c
onf
i
g: plug use
r
_c
o
n
fig leak
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
ef
f
King
up
d
at
e
-inde
x
: fi
x
cac
h
e
e
nt
r
y leak in add_
o
ne_file
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
in
g
add: fre
e
leaked pathspec af
t
er
add
_
files_to_cac
h
e
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
t
e
st-
l
ib: set LSAN_OPTIONS to abo
r
t by
default
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Kin
g
test-lib: --valg
r
ind should not override
--ver
b
ose
-
log
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
stop leaking lock
struct
s
i
n
some
simple cases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
ref_lock:
stop le
a
ki
n
g lo
c
k_file
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
lockfil
e
: update lifeti
m
e requ
i
re
m
ents in documentati
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
t
empfile: auto-alloc
a
t
e temp
f
il
e
s on heap
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
file: remove deactivated list entrie
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempfile: u
s
e l
i
st
.
h for lin
k
e
d
list
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
tempfile:
r
elease deacti
v
a
t
e
d
s
t
r
b
u
fs instead of resetting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
tempfile: robustify cl
e
anup handl
e
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfile
:
factor ou
t
d
ea
c
tiva
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
m
pfile: factor out ac
t
iva
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfile: replace
d
ie("
B
UG") with BUG(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
t
e
mpfile:
h
andl
e
NULL
t
e
m
pfile pointers gracef
u
lly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
te
m
pfi
l
e: prefe
r
i
s
_t
e
mpfile_active to
b
ar
e
access
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: do not rollback lock on failed close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
tempfile:
do not de
l
ete tempfile on f
a
iled close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
always che
c
k return valu
e
o
f c
l
o
s
e_tempf
i
le
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
King
veri
f
y_
s
ign
e
d_buf
f
er: prefer close_te
m
pfile
(
) to
close()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
setup_temporar
y
_shallow: m
o
ve
t
e
mpfile
str
u
ct
into
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
setup_tem
p
o
rar
y
_sh
a
llow:
avoid us
i
n
g inactive t
e
mpfile
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next