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
config: move flockfile() closer to unlocked functions
2018-03-30
Jef
f
King
c
o
nfig: move flockfile() close
r
to unlocked function
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Jeff
K
ing
link_
a
lt_odb_entries:
make
e
m
p
ty
i
nput
a
noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Je
f
f King
setup: a
v
oid double sl
a
shes w
h
e
n l
o
okin
g
for H
E
A
D
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
wor
k
tr
e
e: h
a
ndle br
o
k
e
n
symrefs in fin
d
_shared_symr
e
f()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
log: handle b
r
oken HEAD in
d
ecora
t
ion check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
in
g
remote: handl
e
bro
k
en
symrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
tes
t
-re
f
-store: avoid passing NULL t
o
printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
ef
f
King
dif
f
:
h
a
ndle NULs in get_string_ha
s
h()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
d
iff:
f
ix whitespace-sk
i
ppin
g
w
it
h
--co
l
or-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
t4015: test the outpu
t
o
f
"diff --color-moved
-b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
Kin
g
t4015:
c
heck "neg
a
t
ive" case for "-
w
-
-color-
m
oved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: refact
o
r --colo
r
-moved wh
i
tespace t
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
King
ta
g
: respec
t
c
olor
.
u
i config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "color: check color
.
ui in git
_
d
e
f
ault_config()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
R
evert "t6006: drop
"
always" color co
n
fi
g
tes
t
s"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff Ki
n
g
Revert "color: make "a
l
wa
y
s" the s
a
me as "au
t
o
"
in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
diff:
fix infini
t
e loop with --color-moved --igno
r
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff
K
ing
write_en
t
ry
:
u
ntang
l
e sym
l
ink an
d
r
e
g
u
lar
-
file cas
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff K
i
n
g
wri
t
e_entry: avoid
r
eading blobs in CE_RETRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jef
f
K
i
ng
writ
e
_entry: fix
leak
whe
n
retrying
d
elayed fil
t
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jef
f
King
re
f
s_resolve
_
ref_unsafe: ha
n
dle
d
/
f
c
o
nflicts
f
o
r writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff
K
ing
t3308:
c
r
eate a real ref directory/file conflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sha1_loose_object_
i
nfo:
h
a
ndle er
r
ors
from
u
npac
k
_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
K
ing
path
.
c: fix unin
i
tializ
e
d mem
o
ry access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
t7301:
u
se test_ter
m
inal t
o
check color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f
K
ing
t40
1
5:
u
se --color w
i
th --color-mov
e
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff
K
ing
c
o
lo
r
: make "always" the same as
"
a
uto" in config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
i
ng
p
r
ovide --color option for all r
e
f-fi
l
ter
users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3205: use --c
o
lor instead of color
.
branch=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f
Kin
g
t3203: drop "always" color test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f King
t6006: drop "
a
lw
a
ys" co
l
or config tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
7
5
02:
u
s
e
diff
.
n
o
p
refi
x
for --v
e
rbose test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t7508: use test_termi
n
al for color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3701: use
t
e
s
t-terminal
to collect
color outpu
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t4015:
p
r
efe
r
--color
to -
c
c
o
l
or
.
diff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
test-
t
e
r
m
i
nal: set TERM=vt
1
00
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
git: add -
-
n
o
-
optional
-
locks o
p
tio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
val
i
date_
h
eadref: use
g
e
t_o
i
d_hex for detached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_h
e
adref: u
s
e s
k
ip_prefix
for symref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_headr
e
f:
N
U
L
-terminate
H
EAD buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
wo
r
k
t
ree: check
the resu
l
t of read_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
worktree: use xsize_t
to access fil
e
s
ize
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff
Ki
n
g
distinguish error ver
s
us sho
r
t read
from rea
d
_in
_
f
ull()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
av
o
id looking at err
n
o for short read_in_
f
ull() returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
pref
e
r
"
!=
"
when check
i
ng read
_
in_fu
l
l() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Ki
n
g
notes-m
e
r
ge: dr
o
p dead z
e
ro-
w
rite code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
files-backend: pr
e
fer "0
"
for wr
i
te_
i
n_full() e
r
ror
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jef
f
K
i
ng
doc: pu
t
lite
r
al block delimiter ar
o
und table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
consis
t
ently u
s
e "fallthrough" com
m
ents in switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f
K
i
n
g
c
url_trac
e
(): eliminate sw
i
tch fallthro
u
gh
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
Ki
n
g
tes
t
-line-buff
e
r: simpli
f
y co
m
mand parsi
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
ca
t
-file: handle NULL o
b
ject
_
cont
e
xt
.
p
at
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff
King
r
e
vision: replace "str
u
ct
c
mdline_pat
h
spec" with argv_arra
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Je
f
f Kin
g
re
a
d_
i
nfo_alter
n
ates
:
warn on non-trivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_alternates: re
a
d contents into strbu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
prefix_ref_iterator:
b
reak when we leave the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
read_pac
k
_header:
handle signed/unsigned com
p
a
r
ison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
config: flip retur
n
value o
f
stor
e
_write_
*
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
n
o
tes-mer
g
e: use ssize_t for write_in
_
full() r
e
turn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
pkt
-
line: check write_in_full() error
s
a
g
ainst
"< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
conv
e
rt le
s
s
-
tri
v
ial versions of
"
write_in_f
u
ll()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
in
g
a
void "write_in
_
full(fd, buf, len) != len" patter
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
f
f King
get-tar-commit
-
id: check
w
rite_in_full() return ag
a
inst 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
c
o
nfig: avoid "write
_
in_full(fd, buf, len)
<
l
en" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
c
vsim
p
ort:
s
h
e
l
l-quot
e
variable used in ba
c
k
ticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
arc
h
import: use safe_pipe_capt
u
re for user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
shel
l
: d
r
op
git-cvsserver support b
y
default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
short
l
o
g
: skip forma
t
/parse roundt
r
i
p for
internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
ad
d
UNLEAK annot
a
t
i
on for r
e
duc
i
ng leak false positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jef
f
King
git_ext
r
act_argv0_pat
h
:
d
o nothing without R
U
N
TIME
_
PR
E
FIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff
K
i
ng
system_path: move RUNTIME_PREFIX
t
o a sub-
f
unction
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
rev-parse
:
don't trim bisect ref
n
ames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_git
_
dir: handle feeding gitdir to i
t
self
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
K
ing
repository: fr
e
e fiel
d
s
bef
o
re overwriting
them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
re
s
et: fr
e
e a
l
loc
a
ted tree buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
res
e
t
:
m
a
ke tree counting less confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
conf
i
g: pl
u
g
u
s
er_config leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
update-index: fix
c
ache e
n
try
l
eak in ad
d
_
one_file
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: free leaked pathspec after add_files_to_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-lib: set LSAN_OPTIO
N
S to abort by
d
efault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
test-lib: --va
l
grind sho
u
ld not override --verb
o
se
-
lo
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
sto
p
leaking lock structs
i
n some simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
ref_lock:
s
t
op leaking lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: upda
t
e lifetim
e
requ
i
reme
n
ts
i
n
doc
u
mentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
file:
aut
o
-allocate tempfile
s
on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
King
tempfile: remo
v
e
deactivated
l
ist entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
te
m
pf
i
l
e
:
u
s
e list
.
h fo
r
linke
d
list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfile: release
d
e
activated strb
u
fs instead of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfile: ro
b
ustify cle
a
nup
h
andler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfil
e
:
factor out
deactivatio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfi
l
e
:
facto
r
out activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: repla
c
e die("BUG") with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
in
g
tempfil
e
:
ha
n
dle NULL tempfile poin
t
e
rs gracefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
Ki
n
g
te
m
pfile: prefer is_tempfile_active to bare ac
c
ess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
l
o
ckfile: do not rollbac
k
lock o
n
failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
ef
f
King
tempf
i
le: do
n
o
t delete
t
e
m
p
f
i
le on
f
ailed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Ki
n
g
always check return va
l
ue of c
l
os
e
_tempfil
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
verif
y
_signed
_
bu
f
fe
r
: pre
f
e
r
close_te
m
pfile(
)
to close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
K
ing
setup_t
e
mporary
_
shallow
:
move tempf
i
le
str
u
ct i
n
t
o
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
setup_tempora
r
y_sha
l
l
o
w: avoid usin
g
inactiv
e
t
e
mpfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next