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
stash push -u: don't create empty stash
2017-11-13
Jeff
King
link_alt_odb_entries: make empty i
n
put a noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
J
eff King
setup: avoid d
o
uble s
l
ashes when looking f
o
r HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
w
orktr
e
e:
han
d
le broken symrefs in
f
ind_sha
r
ed_sym
r
e
f
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
log: handle broke
n
HEAD
in decoration
che
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
rem
o
te: handle broken
s
ymrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t
e
st-ref-store: avoid passing
N
ULL to printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
diff: handle
NUL
s
in get_string_hash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f Ki
n
g
d
i
ff: fix whi
t
es
p
ace
-
sk
i
p
p
ing with --co
l
or-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
t40
1
5
: test
t
he out
p
ut of "diff --col
o
r
-
m
o
ved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
t4015: ch
e
ck "
n
e
gative" case f
o
r "
-
w -
-
c
o
l
or-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4
0
15: refa
c
tor --colo
r
-moved whitespac
e
test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
K
i
ng
tag: respect color
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "co
l
or: check
color
.
u
i in g
i
t_defa
u
lt_config
(
)"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Rever
t
"t6006:
drop "alway
s
" color config t
e
sts"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
K
i
ng
Revert "color: make "always" the same as
"
auto" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff
K
ing
d
i
ff
:
fix infinite loop with --c
o
l
o
r-moved --
i
gnore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
J
eff King
write_
e
n
t
ry: untangle symlink and regular-f
i
le cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
eff King
write_entry: avoi
d
r
eadi
n
g blob
s
in CE_RETRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
write_entry: fix leak when re
t
rying delayed f
i
lter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff K
i
ng
refs_
r
esolve_ref_unsafe: ha
n
d
le d/f
c
onflicts fo
r
writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t
3308
:
c
r
e
ate
a re
a
l ref
d
i
r
e
cto
r
y/file con
f
lict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sh
a
1_loo
s
e_object_in
f
o: han
d
l
e
errors from unpack_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
path
.
c: fix uninitialized memor
y
a
ccess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f
King
t73
0
1
:
use te
s
t_te
r
minal to c
h
eck
c
olor
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t40
1
5: use --color with --color
-
moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
color: make
"always
"
the same as "au
t
o" in confi
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provide --colo
r
option for all ref-fi
l
ter
u
sers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff
King
t3205:
use --color inste
a
d of color
.
b
r
anch=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t3203: drop
"
a
l
w
ays"
c
olor test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f
King
t6006:
d
rop "always" color config
t
e
s
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t7502:
use diff
.
n
o
p
r
ef
i
x
fo
r
--verbose t
e
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
t
7508: use test_t
e
rminal fo
r
color
output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f King
t3701: use test-
t
erm
i
na
l
to collect color out
p
ut
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015: pre
f
er --color t
o
-c color
.
diff=al
w
ays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
tes
t
-ter
m
inal: set T
E
RM=vt10
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
g
it: add --no-optional-locks
opt
i
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
validate_headref:
u
se
g
et_oid_hex for detached HE
A
D
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
vali
d
at
e
_head
r
ef: use skip_pref
i
x for symref parsin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_headref: NUL-ter
m
i
nate
H
EAD
b
uff
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktree: check
t
he res
u
lt of r
e
ad_in
_
fu
l
l
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
in
g
w
o
rktree
:
use x
s
ize_t to access file
s
ize
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
distin
g
uish e
r
ror versus short read
f
r
om read_in_ful
l
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
f
f King
avoid looking at errn
o
f
o
r sh
o
rt read_
i
n_full()
r
e
t
urns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
prefer "!=" when che
c
ki
n
g read_in_full
(
) re
s
ult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
notes-mer
g
e:
drop
de
a
d zero-write code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jef
f
K
in
g
files-backend: prefer "
0
" fo
r
writ
e
_in_ful
l
() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
J
e
ff King
do
c
: put literal blo
c
k de
l
imi
t
er around ta
b
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Kin
g
c
o
nsistently
u
s
e "fallthrou
g
h"
commen
t
s
in s
w
i
t
ches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
King
c
url_trace():
elimi
n
ate switch fallthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
test-line-buffer: simplify
c
omm
a
nd parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
c
at-fi
l
e
:
ha
n
dle NULL object_c
o
ntext
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revision
:
replace "st
r
uct cmdline_pat
h
s
pec" wit
h
a
r
g
v_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
r
e
ad
_
info_
a
lternates
:
warn
o
n
no
n
-trivia
l
err
o
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Je
f
f
King
read
_
i
n
fo_alternates: read c
o
n
t
en
t
s
into s
t
rbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
i
ng
prefix_ref
_
i
t
era
t
or: break when
w
e leave
the pref
i
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
in
g
read_pack_header:
h
a
ndle si
g
ned/unsigned comparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
co
n
fig: fli
p
return
v
a
l
u
e of store_wri
t
e_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
n
ot
e
s-m
e
r
g
e:
use ssi
z
e_t fo
r
w
r
ite_i
n
_
full
(
) re
t
urn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
pkt-li
n
e: check write_in_fu
l
l()
errors against
"< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
c
onv
e
r
t less-
t
rivial v
e
rsions of "write_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
avoid "write_in_full(fd, buf, len) !=
l
en" pa
t
tern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
get-tar-co
m
mi
t
-id: che
c
k write
_
in_ful
l
() ret
u
rn against 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f Ki
n
g
config:
av
o
id "w
r
ite_i
n
_
full(fd, b
u
f,
l
en) < len" patte
r
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
K
ing
c
vsimport: s
h
ell-quote variable used in backt
i
cks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f K
i
ng
archimport:
use safe_p
i
pe_capture
f
o
r user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
K
ing
s
hell: drop git-cvsserver support by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff King
short
l
og: ski
p
format/pa
r
s
e
roundtrip f
o
r inte
r
nal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
eff King
add U
N
LEAK annotation
f
or reduci
n
g leak false p
o
s
itives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Je
f
f King
git_extra
c
t
_
a
r
gv0_path: do
n
othing without RUNTIME_PREF
I
X
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
J
eff
King
system_p
a
th: m
o
ve RUNTIME_PREFIX to a sub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
rev-
p
a
r
s
e: don't trim bisec
t
refnam
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
s
e
t_
g
i
t
_dir: handle
f
eeding gitdir to it
s
e
l
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
K
i
n
g
repository: free
f
ields be
f
ore overwriting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
reset: fre
e
a
l
located tree buf
f
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
reset
:
make tree coun
t
ing less confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
config: plug user_config le
a
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
update-index: fix c
a
che entry le
a
k in add_one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ad
d
: free leaked pathspec after ad
d
_files_to_c
a
che()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff K
i
ng
t
e
st-lib: set L
S
AN_O
P
TIO
N
S
to abort by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-
l
ib:
-
-val
g
r
i
nd
should n
o
t
o
verride --verbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
stop leaking
lock
structs in
s
ome simple
c
ases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
ref
_
lock: stop leakin
g
loc
k
_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
loc
k
fil
e
: update l
i
feti
m
e requirements in
docume
n
tation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempfile
:
auto-
a
llocate tempfiles on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfile: r
e
m
o
ve
deac
t
ivated list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
te
m
pfil
e
: use
l
ist
.
h
for linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
m
pfile: release
d
eactiva
t
e
d
strbufs in
s
tead
o
f resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfile: r
o
bust
i
fy cleanup handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfil
e
: factor o
u
t deactivat
i
on
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
Jeff
King
tempfile
:
re
p
lace die("BUG") with BUG(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempfile: hand
l
e NULL tempfi
l
e poin
t
e
r
s gracefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
t
e
mpfil
e
: prefer is_tem
p
file_active
to bare
access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
lockfile: do not rol
l
back l
o
c
k
on failed
c
lose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempf
i
l
e
: d
o
n
ot delete
t
e
m
pfile on failed clo
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
al
w
a
ys check return value of close_
t
empfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
verify_si
g
n
ed_buffer: pref
e
r
c
los
e
_te
m
p
file()
to close(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
setup_temporary_shallow: move tempfil
e
struct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
s
e
t
u
p
_temp
o
rary_shallow: avoid using
i
nactive
tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
writ
e
_index_as_
t
r
ee: cleanup tempfile
o
n
er
r
or
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next