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
test-hashmap: simplify alloc_test_entry
2018-02-14
Jeff
K
in
g
test-hashmap:
s
implify all
o
c_test_entry
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2018-02-14
Jeff
K
ing
te
s
t-hashmap: use str
b
uf_
g
etlin
e
rather than
fgets
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2018-02-14
J
e
ff King
test
-
h
ashmap: use xs
n
pr
i
ntf ra
t
her
than snp
r
intf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2018-02-14
Jef
f
King
te
s
t
-
hashma
p
: check
a
l
l
oca
t
io
n
c
om
p
utation for
overflo
w
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2018-02-14
Jeff King
test-h
a
shmap: us
e
A
L
LOC_ARRAY rather than b
a
re ma
l
loc
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-11-13
Jeff
King
link_alt_o
d
b_
e
n
t
ri
e
s: make empty inp
u
t a
noop
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-11-03
Je
f
f Ki
n
g
s
et
u
p: avoid
d
oubl
e
slashes when loo
k
ing for H
E
A
D
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
w
orkt
r
ee: h
a
ndle broken s
y
mrefs in
find_shared_symr
e
f()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
log: handle
b
r
o
ken HEAD in d
e
coration chec
k
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
remote: handle broken sy
m
refs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
test-ref-store:
a
void pass
i
ng
NULL
to
printf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
diff:
h
andle
NULs in g
e
t_string_hash
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
diff: fix wh
i
tespace-skipp
i
ng w
i
th --color-moved
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
J
eff King
t4015:
t
est the ou
t
put of "diff --color-m
o
ved -b"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: c
h
eck "negat
i
ve
"
case f
o
r
"-w
--color-moved"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: refacto
r
--c
o
lor
-
mo
v
ed whitespace test
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
K
ing
tag
:
r
e
s
p
e
ct color
.
ui
co
n
fig
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jeff Kin
g
Revert "color: check color
.
ui in git_default_config(
)
"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "t6006:
d
rop "always" colo
r
c
o
nfig
t
e
s
ts"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
Ki
n
g
Revert "color: make "always"
the same
as "
a
u
to
"
in
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-16
Jeff
King
diff: fix i
n
finite loop with --color-
m
oved -
-
igno
r
e
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-10
J
e
ff King
writ
e
_entry: untangle symlink and regular-
f
ile
c
ase
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
write_en
t
r
y
: avoid readi
n
g blobs i
n
CE_
R
ETRY c
a
se
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-09
Je
f
f King
write_entry:
f
ix
leak when retrying dela
y
ed fi
l
ter
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-07
Jeff
K
i
n
g
refs_re
s
olve
_
ref_unsafe: han
d
le d/f conf
l
i
c
ts for w
r
it
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-07
Jeff K
i
n
g
t3308:
cr
e
ate a
r
eal ref
d
irectory/fil
e
confl
i
ct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-06
J
eff
K
i
n
g
sha1_loose_objec
t
_inf
o
: handle
e
rrors f
r
om unpa
c
k_sha1_rest
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
path
.
c: fix uninitialized memo
r
y
ac
c
ess
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t
7
3
0
1: us
e
test_terminal to check color
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t4015: use --color
wit
h
--color
-
m
oved
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
Kin
g
color: mak
e
"
a
lways" the
s
ame a
s
"auto" in co
n
fig
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provide --colo
r
option for all
r
ef
-
filter users
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3205:
u
se --col
o
r instead of color
.
branch
=
always
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t3203: dro
p
"
a
lw
a
ys" c
o
lor te
s
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
6006: drop "always" color con
f
ig tests
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t7502:
use di
f
f
.
noprefix for --verb
o
se test
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
t7508: u
s
e te
s
t_
t
erm
i
n
al
f
o
r
color
o
u
t
put
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
J
eff Ki
n
g
t3
7
01: use test
-
t
erminal to
collect color output
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f King
t
4
015: prefe
r
-
-
c
olor
t
o
-c c
o
l
or
.
diff=always
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
Kin
g
tes
t
-termin
a
l:
s
e
t
TERM=vt100
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff K
i
ng
git: add --no-op
t
i
o
n
al-locks option
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
vali
d
ate_hea
d
ref:
use get_oid_
h
ex f
o
r detache
d
HEADs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
validate_headref: use skip_prefix for symref parsing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validat
e
_headref: NUL-te
r
m
inate HEAD buff
e
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
worktree: che
c
k
t
he re
s
u
lt of read
_
in_ful
l
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
i
n
g
wor
k
tree: us
e
xs
i
ze_t t
o
access file size
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
disti
n
gu
i
s
h error
v
er
s
us sh
o
rt read f
r
om
r
ead_in_full()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
J
eff
King
avoid
l
ooki
n
g at errno for short re
a
d_i
n
_
f
ull() returns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
pref
e
r "
!
=" wh
e
n checking read_in_full() result
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
notes-merge
:
dr
o
p
dead zer
o
-write code
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
J
eff King
files-back
e
nd: prefer "0
"
for wr
i
te_in_full()
e
r
ror
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc:
p
ut liter
a
l block delimiter around tabl
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
c
onsistently use "fallthrough" comments i
n
switches
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
King
curl_trace(): el
i
minate switch fallthrough
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
test-line-b
u
ffer: si
m
plify command parsi
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f King
cat-file: handl
e
NULL
obj
e
ct
_
context
.
path
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-21
Jef
f
King
re
v
i
sion: replace
"
s
tru
c
t cmdline_pathspec" with
a
rgv_
a
r
r
a
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-20
Jef
f
King
read_
i
nfo_alte
r
na
t
es:
warn on non-tr
i
vial errors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-20
J
eff King
read_info_alternate
s
:
read contents into strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
f
f King
pre
f
ix_ref
_
iterator:
break when
w
e leave
the
p
r
efix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
read_pack
_
header: handle sign
e
d/unsigned comparis
o
n
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
eff King
config: flip ret
u
rn value of
store
_
write
_
*()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
notes-m
e
rg
e
: us
e
ssize_t
for wri
t
e_in_full() return
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
i
ng
pkt-line: c
h
eck writ
e
_
in_full() errors against
"< 0"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
convert less-tri
v
ial ver
s
ions of "write
_
i
n
_
f
ull
(
)
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
avoid "
w
rite_in_full
(
fd, buf, len) !
=
len" pattern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
Kin
g
get-tar-commit-id
:
check write_in_full() return against 0
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config:
avoid "wr
i
te_in_full(fd, buf,
len) < len" p
a
ttern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
c
vsim
p
o
r
t: shell-quote variable us
e
d in backticks
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
archimport: use safe_pip
e
_
capture for user input
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
s
hell: dr
o
p git-cvsser
v
e
r suppor
t
b
y de
f
ault
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
s
h
ortlog: skip for
m
a
t/p
a
rse
r
ound
t
rip for i
n
ternal
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
add U
N
LEAK annotation fo
r
reduc
i
ng
l
eak false p
o
sitive
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jeff Kin
g
git_e
x
trac
t
_argv0_path: do n
o
thing witho
u
t RU
N
TIM
E
_PREFIX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jeff Ki
n
g
system_path: move RUNTI
M
E_PREFIX to a s
u
b-fun
c
ti
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
rev-parse: don't trim bisec
t
refnames
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
set_git_dir: han
d
le feeding
g
itdir to itself
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
r
e
pos
i
tory: fr
e
e fields befo
r
e
o
verwriting them
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
res
e
t: f
r
e
e a
l
l
ocat
e
d
t
re
e
buffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
reset:
m
ake tree counti
n
g less confusing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
config:
plug user_config lea
k
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
update-index: fix cache ent
r
y
lea
k
in add_one_file(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
add: f
r
ee
l
eaked pathspec a
f
t
er ad
d
_file
s
_to_cache()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
test-lib
:
set LSAN_OPTIONS to abort
by default
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Kin
g
test-li
b
:
-
-valgrind
s
hould not override --v
e
rbose-
l
og
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
stop le
a
king loc
k
stru
c
ts in s
o
m
e
simple c
a
ses
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_lock: stop leaking lock_f
i
les
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
lockfile: up
d
ate lifet
i
me requ
i
rements i
n
documentation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f King
te
m
p
f
ile:
auto-all
o
cat
e
tempfiles
on heap
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
te
m
pfile: r
e
move deac
t
i
v
ated
list entries
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: use lis
t
.
h for linked l
i
st
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempfile
:
relea
s
e deactiva
t
ed
strbufs ins
t
ead of
resettin
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
tempfile: robust
i
fy cleanup
hand
l
er
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempfile: factor
ou
t
d
eactiv
a
tion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Kin
g
t
empfile: fact
o
r out activation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
file: replace die("BUG")
with
BUG
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: handle NULL temp
f
ile
pointer
s
grac
e
fully
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
tempfile: prefer
is_tempfil
e
_active to b
a
re access
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: do
n
ot rollback lock on f
a
iled close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: do not delete tempfile on fai
l
ed close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next