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
generate-cmdlist: avoid non-deterministic output
2017-11-21
Jeff King
git-
j
u
mp: g
i
ve con
t
act
i
nstru
c
tions in the README
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Jeff King
li
n
k
_
alt_odb_
e
ntries: make empty input a
noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
setup: avoid
double sl
a
shes when
l
ooking for
HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
worktree:
h
andle br
o
ken sym
r
efs in fi
n
d_shared
_
symref()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
log:
h
a
ndle broken
HEAD in dec
o
ration
check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
K
ing
remo
t
e: handle
b
roken
s
y
mrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Kin
g
t
e
st-ref-s
t
ore: av
o
id p
a
ssing NULL to printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
diff
:
h
andle
N
U
Ls i
n
ge
t
_string_h
a
s
h()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff King
diff: fix
w
h
ite
s
pac
e
-skipping with --
c
ol
o
r-m
o
ved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff King
t
4
015: test the output of "diff --
c
o
l
or-moved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
Ki
n
g
t4015: ch
e
ck "negative" case for "-w --col
o
r-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
t4015: ref
a
c
t
o
r
--color
-
m
oved whitespace test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff K
i
n
g
tag: respect color
.
ui c
o
nfig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
e
ff King
Re
v
ert "co
l
or: check color
.
ui i
n
git_defau
l
t
_config
(
)"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
R
evert "t600
6
:
d
r
op "always"
c
o
lor config
t
ests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "color
:
make "always" the sa
m
e as "au
t
o" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
diff: fix infinit
e
loop with
--color-moved -
-
ig
n
ore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
Jeff King
revi
s
io
n
:
quit p
r
uning diff
m
ore quickly when p
o
ssible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff King
write_en
t
ry:
u
n
t
a
ngle
symlink
a
nd regu
l
ar-file case
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
eff King
write_en
t
ry:
a
void readin
g
blobs in CE_RETRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
wri
t
e_entry:
f
ix leak when
retrying
d
elayed filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
refs_resolve_ref_uns
a
fe
:
ha
n
dle
d/f conflic
t
s for
writ
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
J
e
f
f King
t3308: create a real
ref dire
c
tor
y
/f
i
le conf
l
ict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sha
1
_loose
_
obj
e
ct_inf
o
: handle errors
from unpa
c
k_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
path
.
c
: fi
x
uninitializ
e
d memory access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
K
i
ng
t7301: use test_
t
erminal to check color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015:
use --color w
i
th
--color-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
color
:
make "always"
t
he
same as
"
auto" in config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
prov
i
d
e --
c
olor o
p
tion for
all ref-filter
u
s
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t32
0
5
:
us
e
--co
l
o
r
instead
of c
o
lor
.
branch=a
l
ways
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t32
0
3: d
r
op "always
"
c
o
lor test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t6006:
d
ro
p
"always" color config te
s
ts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7502:
use diff
.
nopr
e
f
ix for --
v
erbose test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t7
5
08: use te
s
t_terminal
for color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3701:
use
te
s
t-t
e
rminal t
o
colle
c
t
color
output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f
K
ing
t4015: prefer
-
-c
o
lor
to -c c
o
lor
.
d
i
f
f
=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
tes
t
-
termin
a
l: set TERM=vt10
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
git: add --no-
o
p
t
i
o
nal-loc
k
s option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
validate_headref: us
e
g
e
t_
o
id_hex for det
a
ch
e
d
HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
va
l
idate_headref: use skip
_
pre
f
ix for symref
parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
validate_
h
eadre
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
w
o
rktree: chec
k
t
he result of read
_
in_
f
ull()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktre
e
:
use xsi
z
e
_t to ac
c
ess file
siz
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
di
s
tinguish
e
rror
vers
u
s short read fro
m
read_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Kin
g
avoid l
o
o
k
in
g
at
errno for s
h
ort rea
d
_in_
f
ul
l
() ret
u
rns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
i
n
g
prefer "
!
=" when ch
e
cking
r
ead_in
_
f
ull()
resul
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
J
eff
K
ing
notes-merge: drop
d
ead zer
o
-w
r
ite code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
files-
b
ackend
:
pref
e
r
"
0
" for write_
i
n_full() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
J
eff King
doc: pu
t
lite
r
al block
deli
m
i
ter a
r
ound table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Kin
g
consi
s
te
n
t
l
y use "fallthrough" comm
e
nts in swi
t
ches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
curl_trace
(
)
:
e
l
i
min
a
t
e
s
w
i
t
c
h fallt
h
rou
g
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
eff Kin
g
test-line-buff
e
r: sim
p
lify
command parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff K
i
n
g
ca
t
-file: ha
n
dl
e
N
UL
L
object_context
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revisio
n
:
r
epl
a
c
e
"s
t
r
u
ct cmdl
i
ne_pathspec" with ar
g
v
_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jef
f
King
read_info_a
l
terna
t
es: warn
on non
-
t
r
i
vial
err
o
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff 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
ff King
prefi
x
_ref_iterator: break w
h
en we leave
th
e
prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
read_p
a
c
k_header: h
a
ndle sig
n
e
d
/un
s
igned comparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
c
o
nfig: f
l
ip retu
r
n value of
store_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
in
g
not
e
s-
m
erge: use s
s
i
z
e_t
f
or write_in_full() return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
pkt-
l
i
n
e:
c
heck
w
r
i
te_in_full(
)
erro
r
s
agains
t
"< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
conv
e
rt less-trivial versions of "
w
rite_i
n
_fu
l
l()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid "write_in_full
(
fd, b
u
f,
len) != le
n
" patt
e
rn
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
get-tar-comm
i
t-id: c
h
eck w
r
it
e
_
i
n_full() re
t
urn against 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
config: avoid "write_in_full(fd, buf, l
e
n) < len" pat
t
ern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jef
f
King
cvsimp
o
rt: shel
l
-qu
o
te variabl
e
use
d
in
b
ack
t
icks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
arc
h
import: use safe_pipe_capture f
o
r user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
eff K
i
ng
shell: drop g
i
t-cvsserver support by
d
efau
l
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
shortlog: ski
p
f
ormat/parse roundtrip f
o
r inte
r
nal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Je
f
f King
a
d
d
UNLEAK an
n
ot
a
t
ion for reducing lea
k
false positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff Kin
g
git_extract_argv0_path:
d
o
nothi
n
g without RUNTI
M
E_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Je
f
f King
system_path: move RUNTIME_PREFIX to
a
sub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
rev-
p
a
r
se: don't t
r
im bi
s
ect refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set
_
git
_
dir: ha
n
dle feeding gitdir t
o
its
e
lf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
repos
i
t
o
ry: free
fi
e
l
ds before overwritin
g
them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
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 King
reset: make tree counting
l
ess co
n
f
usi
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config: plug user_config leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
upda
t
e-index
:
fix cache
e
ntry leak in add_
o
ne_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
add: free lea
k
ed pat
h
spec after ad
d
_files_t
o
_cach
e
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
est-lib: set L
S
A
N_OPTIONS to ab
o
r
t
by defa
u
lt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tes
t
-lib: --
v
algrind shoul
d
n
o
t
o
verride --
v
er
b
ose
-
log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
King
s
t
op le
a
king lock
structs
i
n some simple cas
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
e
f_lock: stop leaking lock_f
i
l
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
lockfile: updat
e
lifetime requirements i
n
docum
e
ntation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfile: auto-allocate tempf
i
les on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Ki
n
g
tempfi
l
e:
remove
deac
t
ivate
d
list en
t
r
ies
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
tem
p
file
:
use
li
s
t
.
h for
l
inked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: releas
e
deactivated strbufs instea
d
of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
n
g
t
empfile: robustif
y
cleanup
handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: fac
t
or
o
ut deactiv
a
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
ef
f
K
ing
tempfile
:
factor out activatio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff K
i
ng
tempfi
l
e: r
e
pl
a
ce die
(
"BUG") wi
t
h
B
UG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfile: handle N
U
LL
t
empfile po
i
n
t
e
r
s gracefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
m
pfile: pre
f
er is_
t
empfile
_
activ
e
to bare acc
e
ss
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: do not r
o
l
l
back
l
ock on
failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
m
p
file: do not de
l
ete
tempfil
e
o
n
failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
a
l
ways
check return value of close_t
e
mpfil
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ver
i
fy
_
sign
e
d_
b
uffer
:
p
r
efer close_tempfile() t
o
close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
setup_tempor
a
ry_shallow:
move
t
empfile
s
tru
c
t
i
nto
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next