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
Merge branch 'tb/complete-describe'
2017-10-07
Jeff King
refs_resolve_ref_unsafe: handle d/f
c
onfl
i
c
ts f
o
r writ
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jef
f
King
t3308: create a re
a
l ref direc
t
ory/file conflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff K
i
ng
sh
a
1_loose_object_info: handle error
s
f
r
om unpack
_
sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
path
.
c:
f
ix uninitializ
e
d
m
e
mory acc
e
ss
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t7301:
use test_terminal to ch
e
ck color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015: use --color
with -
-
color-move
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
i
n
g
co
l
o
r
:
m
a
k
e
"always" the
s
ame as "
a
uto" in c
o
nfi
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
p
r
o
vide --
c
olor op
t
ion for a
l
l
r
ef
-
fi
l
te
r
users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff Kin
g
t
3205: use
-
-
c
olor instead of co
l
or
.
branch=al
w
ays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3203: drop
"
al
w
ays" color tes
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t6006: drop "a
l
ways"
c
o
lor
c
o
nfig tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
7
50
2
:
use
diff
.
nopr
e
fix for --verbos
e
test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7508: use test_te
r
minal
for
c
olor o
u
tput
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff
King
t
3
701: use t
e
st-ter
m
inal to col
l
ect color
o
ut
p
ut
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015: prefer --color to -c color
.
d
i
ff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
test-terminal
:
set
TERM=vt1
0
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
git: add --no-opti
o
n
al-
l
o
cks option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_headr
e
f: use get
_
oid_hex for det
a
ched H
E
ADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
valid
a
te_hea
d
ref: use skip_p
r
efix for symref parsin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
valida
t
e_h
e
adref:
N
UL-termin
a
te
HEAD buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
worktree: check the result of r
e
ad_in_ful
l
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
ef
f
K
in
g
w
orktree: us
e
xsize
_
t
t
o
a
c
c
e
ss file
size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
d
is
t
inguish e
r
r
o
r versus
sho
r
t
r
ead
f
r
om re
a
d
_
in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
a
vo
i
d
looking at errn
o
for short
r
ead_in_ful
l
(
) returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff K
i
ng
prefer "!=" when check
i
ng
read_in_
f
ull() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Je
f
f Kin
g
n
otes-merge: dr
o
p dea
d
zer
o
-write code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Ki
n
g
files-backend: prefer "0"
f
o
r wri
t
e
_
i
n
_
f
ull() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jef
f
King
doc: put
literal block del
i
mite
r
ar
o
und t
a
ble
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff King
con
s
is
t
e
n
tl
y
u
s
e "fall
t
hrough" c
o
mme
n
ts i
n
s
witches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f
King
curl_trace(): eliminat
e
s
w
itch fallthr
o
u
gh
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
test-l
i
n
e
-buffer: si
m
plify comm
a
nd parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
cat-file:
handle NULL obj
e
ct_context
.
p
a
th
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revis
i
on:
rep
l
ace
"
struct cmdline_pathspec" with
argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_alte
r
nates:
warn on non-trivi
a
l er
r
ors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
eff
King
read_info_alternates
:
re
a
d cont
e
nts into strb
u
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
n
g
prefix_ref_ite
r
a
t
or: br
e
ak
when we leave the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
in
g
r
e
ad_
p
ack_header: hand
l
e signed/unsigned
comparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
c
onfig: fli
p
return v
a
l
ue of store_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
no
t
es-mer
g
e:
use ssiz
e
_t
for wr
i
t
e
_in_full() return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
f
f King
pkt-li
n
e:
c
heck w
r
i
t
e_in_full()
er
r
ors aga
i
nst "< 0
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
Kin
g
con
v
er
t
les
s
-trivial ve
r
sions of "writ
e
_in_
f
u
ll()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f K
i
ng
avo
i
d "writ
e
_i
n
_f
u
ll(fd, buf, l
e
n) != len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
get-tar
-
c
om
m
it-id:
c
heck write_in_f
u
ll() return
a
gainst
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
f
f King
config: avo
i
d
"writ
e
_in_full(fd, buf, len) <
l
en" pa
t
tern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
King
cvsimport: shell-q
u
o
t
e variable used in backti
c
ks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
a
rchimport: use safe_pipe_capture for u
s
e
r
input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
shell: dro
p
g
it-cvsserver support by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
shor
t
log: skip format/parse
roun
d
trip for
i
nternal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jef
f
King
add UNLEAK anno
t
a
t
ion for
r
educing lea
k
false posit
i
ves
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_extract_argv0
_
path: do nothing wi
t
h
o
ut RU
N
TIME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff Kin
g
s
ystem_p
a
t
h
: move RUNTIME_PREFIX to
a
s
ub
-
functi
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
rev
-
parse: don't
t
rim bisect
r
e
f
names
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Ki
n
g
s
e
t_
g
it_dir: handle feedin
g
g
i
tdi
r
to itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
repositor
y
: fr
e
e fields before overwriting th
e
m
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
reset: free allocated tree buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
Kin
g
rese
t
: m
a
ke tree
counting less con
f
using
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
config: plug user_config leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
update-index:
fix cach
e
entry leak in add_on
e
_f
i
le()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: free
leaked pathspec
afte
r
ad
d
_
file
s
_
t
o
_cac
h
e
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
ing
t
e
st-lib:
s
e
t
LS
A
N_OPTI
O
NS t
o
a
b
ort by
d
e
fault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
King
test-l
i
b
:
--valgri
n
d
s
houl
d
n
ot override --
v
erbos
e
-
log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
s
t
op
leaking lock
structs
i
n som
e
simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
ref_loc
k
:
st
o
p leak
i
ng lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: update lifetime requirements
i
n
d
ocume
n
tation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
tempfile:
a
u
t
o
-allocat
e
te
m
pfiles o
n
heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfile: remove deac
t
ivated list en
t
ries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
tempfil
e
:
us
e
list
.
h for lin
k
ed li
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfile:
r
elease deactivated s
t
rbufs instea
d
of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: robustify cleanup ha
n
dler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
temp
f
ile: fac
t
or out deactivati
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfile: factor out
activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfile: replace die("BUG")
with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfi
l
e: h
a
nd
l
e NULL temp
f
i
le pointers gracefull
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
temp
f
ile: prefer i
s
_tem
p
file_acti
v
e to bare acc
e
s
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
l
ockf
i
le: do not rollb
a
ck lock on fail
e
d close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile
:
do n
o
t delete
t
empfile on faile
d
clo
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
always check
return
v
alue of close
_
tempfi
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
verify_s
i
gned_
b
uffer: prefe
r
c
lose_tempfile() to
c
lose()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup_tempora
r
y_shallow: move
tempfile
s
truct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
s
etup_tempora
r
y_s
h
a
l
low: a
v
oid usi
n
g inactive tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
write
_
index_as_tree: cleanu
p
tempfile on error
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
confi
g
:
use
a
sta
t
i
c
lock_file struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
Jeff King
doc: fi
x
ty
p
o in
se
n
demail
.
ide
n
tity
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Je
f
f King
pretty: support normali
z
ation
options
for %(trailer
s
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
t4205: refactor %(trai
l
ers)
t
ests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jef
f
King
pretty: move trailer form
a
tting to trai
l
er
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
i
n
terpre
t
-
t
railers: add
--pa
r
se c
o
nvenie
n
c
e opt
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jef
f
King
interpret
-
trailers: add
a
n
option to unfold
values
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
e
f
f K
i
ng
i
nterpret
-
trai
l
er
s
: add an option t
o
sh
o
w
only ex
i
sting
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Je
f
f King
interpret-
t
railers: add an optio
n
to sh
o
w only the
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-10
Jeff King
t
rai
l
e
r: put
p
rocess_trail
e
rs() o
p
tions into a struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
s
ha1
_
file: drop e
x
pe
r
imental GIT_
U
SE_LO
O
KUP searc
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
h
ashcmp: u
s
e
memcmp instea
d
of open-c
o
de
d
loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
J
e
ff King
revision: do not fall
b
ack to
default whe
n
rev_input_
g
i
v
en
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
rev-li
s
t: don't show us
a
ge when w
e
see empty ref
patter
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
revision: add
r
ev
_
inp
u
t
_given flag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
J
eff King
t6018: fles
h
out empty input/output rev
-
list tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
J
e
ff King
conn
e
ct:
r
eje
c
t paths that lo
o
k like comma
n
d line opt
i
ons
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
J
eff King
connect: rej
e
ct
d
ashe
d
arguments
for proxy commands
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jef
f
Kin
g
connect: facto
r
out "looks like
c
ommand
l
ine option
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next