repo.or.cz
/
git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
checkout: factor out functions to new lib file
2017-11-21
Jeff King
git-jump: give contact
instructio
n
s
i
n
the
R
E
ADME
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Jeff
King
lin
k
_
alt_odb_ent
r
ies: make empty inp
u
t a noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
s
e
tup: avoid
d
oub
l
e slashe
s
w
he
n
looking for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Kin
g
wo
r
ktree: hand
l
e bro
k
en symrefs in f
i
nd_sh
a
red
_
symref(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
log: h
a
n
d
l
e
broken HE
A
D in dec
o
ratio
n
check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff King
remote: hand
l
e broken symrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t
e
st-ref-
s
tore: avoid p
a
ssing NULL to printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
diff: han
d
l
e
N
U
Ls
in get_string_hash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
di
f
f
:
fix w
h
ites
p
ace-skipp
i
ng with --co
l
o
r
-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
t4015: test the output of "diff --color-moved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff K
i
ng
t
4015: ch
e
c
k
"
n
egative"
c
ase fo
r
"-w --color-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
t4015: re
f
actor --c
o
l
or-m
o
ved
w
hitespace test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
tag: respect
c
olor
.
ui
c
o
n
fig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Je
f
f King
Revert "color: ch
e
c
k
c
olor
.
ui in
g
it_default_conf
i
g
(
)"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert
"
t6006: dr
o
p
"alw
a
ys" color
conf
i
g tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
King
Revert
"colo
r
: m
a
ke "alway
s
" the same as "auto" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
diff: fix
inf
i
n
i
te loop wi
t
h --c
o
l
o
r
-
move
d
--ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
Jeff King
rev
i
sion: quit prun
i
ng diff
m
ore
q
uickl
y
w
hen possi
b
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff
K
ing
w
r
ite_e
n
try: u
n
tangle
s
ymlink an
d
regula
r
-f
i
le cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
w
rite_
e
n
try: avoid reading blobs in CE_RET
R
Y ca
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff
K
ing
write_entry: fix leak wh
e
n
retrying d
e
layed filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff
King
refs_resol
v
e_
r
ef_unsafe: 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
ref direc
t
ory/file confli
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sha1_loose_
o
bject
_
info: handle erro
r
s fr
o
m u
n
pack_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
p
a
th
.
c: fix uninitial
i
zed memory a
c
cess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t730
1
: use test_te
r
minal
t
o
c
heck color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t401
5
: use -
-
col
o
r
with --color-
m
oved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
colo
r
: make "alwa
y
s" the
s
ame
a
s
"auto" in config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
provide --colo
r
option for a
l
l
ref-
f
ilter us
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t3205: use
-
-
c
olor instead of colo
r
.
b
r
a
nch=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t3203: drop "always" color test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t6006: drop
"
always" color config
tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t75
0
2: use diff
.
noprefix
f
or --verbose
tes
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
7508:
u
se te
s
t
_term
i
nal fo
r
color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t3701: use test-te
r
minal to
c
ol
l
ec
t
c
o
lor output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
n
g
t4015: prefe
r
--co
l
or to
-
c
c
olo
r
.
d
i
ff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff
King
test-te
r
min
a
l:
set TERM
=
vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
git: ad
d
--no-opti
o
n
al-
l
ocks
o
pt
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff K
i
ng
validate_headref: use get_oid_hex f
o
r detached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
validate_hea
d
ref: use skip_prefix
for sym
r
e
f
parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f Ki
n
g
validat
e
_
headr
e
f: NUL-t
e
rminate HEAD buf
f
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
worktree: c
h
eck the result of read_in_full(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
f
f King
worktree: use xsize_t to access
f
il
e
size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
dis
t
inguish error versus short r
e
ad from re
a
d_in
_
full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
av
o
id l
o
oking at errn
o
f
o
r short
r
ead_in
_
f
ull() returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
pref
e
r "
!
="
when checking read_
i
n_full() r
e
sult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
J
e
ff King
no
t
es-merge: drop dead zero-write code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jef
f
Kin
g
file
s
-backend: prefer "0" f
o
r w
r
ite_
i
n
_
full()
error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
J
eff
King
doc:
put
litera
l
b
l
ock delimi
t
e
r
ar
o
un
d
tab
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff K
i
ng
cons
i
stentl
y
u
s
e
"
fallthro
u
gh" c
o
m
ments in
s
wi
t
ch
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
eff King
cu
r
l_trace():
e
li
m
inate sw
i
tch
f
allthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
test-line-bu
f
fe
r
: si
m
plify c
o
m
mand
parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
ing
cat-f
i
le: handle NULL object_context
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
r
e
vision: replace "struct
c
mdli
n
e_pathspe
c
" with a
r
gv_
a
rray
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
e
ff
K
ing
read_info_
a
lternates: warn
o
n
non-triv
i
al
e
r
r
ors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_
i
n
f
o_
a
l
t
e
rnates: r
e
ad contents into strbu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
prefix_r
e
f_i
t
erator: b
r
e
ak when w
e
leave
t
h
e
p
r
efix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
i
n
g
read_pa
c
k
_
h
eader:
h
a
ndle sign
e
d
/unsigned
c
omparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: flip return v
a
lu
e
o
f
store_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
notes-me
r
ge: use ssize
_
t for wr
i
te_in_full(
)
return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pkt-l
i
n
e: c
h
eck write_in_full
(
) errors agai
n
st
"<
0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f
King
convert less-triv
i
al ve
r
sions o
f
"write_in
_
f
u
ll()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
avoid "write
_
i
n_full(f
d
, buf, len) !=
len" pat
t
ern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
Kin
g
get-tar-commit-id: check writ
e
_in_full() retur
n
against 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
config: avoid "write_in_full(fd,
b
uf, le
n
)
< len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cvsim
p
ort: shell-quot
e
variable use
d
i
n
backticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
arc
h
import: use
s
afe_pi
p
e_c
a
p
t
u
re
f
or user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
e
ff King
shell:
dro
p
gi
t
-cvsserver s
u
pport by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff
King
shor
t
l
og: s
k
ip format/parse round
t
rip for i
n
ternal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
add UNLEAK anno
t
ation
for
r
edu
c
ing leak fals
e
positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_extr
a
ct_ar
g
v0_path: do nothi
n
g
without RUNTIM
E
_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff
King
system_p
a
th: move RUNTIME_PREFIX to a sub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev
-
p
a
rs
e
:
don't trim bisect r
e
fnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_git_dir: handle feedin
g
gitdi
r
to itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
r
e
pository: free fields befor
e
overwritin
g
them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset: free
a
lloc
a
t
e
d
tree
buff
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
i
n
g
r
e
s
e
t:
m
ake tree
counting
l
es
s
confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
config: plug
us
e
r_co
n
fig leak
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 leak in add_one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Kin
g
add: free l
e
a
k
ed paths
p
ec after add_files_to_ca
c
he()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Ki
n
g
t
e
st-lib:
set L
S
AN_
O
PTIONS to abort by def
a
ult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
st-lib: -
-
valg
r
i
n
d
s
hould not overri
d
e --
v
erbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
stop leak
i
ng
lock structs in
some s
i
mple
cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
i
ng
ref_lock:
stop leaking
l
ock_fi
l
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
lockf
i
l
e:
update lif
e
time require
m
ent
s
in docume
n
ta
t
io
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
t
e
mpfi
l
e: auto-all
o
cate tempfile
s
on
he
a
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempf
i
le: remo
v
e deacti
v
ated list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfile: use list
.
h for lin
k
ed l
i
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: rel
e
ase deact
i
vat
e
d strbufs instead of resetti
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempfile:
r
obustify cleanup han
d
l
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
in
g
tempfi
l
e: factor out dea
c
tivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
file:
f
a
ctor out acti
v
ation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tem
p
f
i
le: replace die("BU
G
") with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfile: han
d
le NULL t
e
m
pfile p
o
i
nters gra
c
efully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Ki
n
g
tempfile: prefer is
_
tempfile_
a
ctiv
e
to bare
access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
lo
c
kfile: do
n
ot rollb
a
ck lock on failed
clos
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfil
e
: do n
o
t delete
t
empfile
o
n fail
e
d cl
o
se
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
a
l
ways
c
heck r
e
turn v
a
lue of close_
t
em
p
fil
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
verify_signed_buffer: prefer close_tempfile(
)
t
o close(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
in
g
setup_temporary_shallow: mo
v
e t
e
mpfile stru
c
t into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next