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 'js/t5404-path-fix'
2017-10-04
Jeff King
t37
0
1: u
s
e test
-
term
i
nal to collect color
o
u
tput
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t4015
:
prefe
r
--co
l
or to -c color
.
d
i
ff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
test-termina
l
: set TERM
=
vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
git:
add --no-optional-locks option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
f
f King
validate_head
r
ef: use
get_oid_hex for detac
h
e
d HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate
_
headref: use
s
kip_prefix for symref parsi
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
validat
e
_he
a
dref: NUL-termina
t
e HEAD buf
f
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
worktree: ch
e
ck th
e
res
u
l
t
o
f
read_i
n
_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktree: use xsize_
t
to
a
ccess fil
e
s
ize
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
distinguish err
o
r
v
ersus short
r
ead
f
ro
m
re
a
d_
i
n_ful
l
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
avoid
looking at
errno for short r
e
ad_i
n
_
full() retu
r
ns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
p
r
ef
e
r "!=" when checking read
_
in_full() res
u
lt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
not
e
s-
m
erge:
drop dea
d
zero-
w
rite code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Ki
n
g
files-backend: prefer "0" for write_in_full() e
r
ror
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc:
put literal block
delimiter around table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
c
onsistently u
s
e "fallthrough" c
o
m
ments i
n
swit
c
hes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
curl
_
trace(): el
i
minate switc
h
fallt
h
rough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f
K
ing
test-line-buffer: simplify com
m
and parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
King
c
at-f
i
le: handle
N
ULL ob
j
e
ct_
c
ontext
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Je
f
f King
revision: replace "struct cmdli
n
e_pathspec" wi
t
h
a
r
g
v_arra
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff
King
read_info_alternates:
w
arn on non-tri
v
ial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_
i
nfo_alternat
e
s:
r
ead contents i
n
to st
r
buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
p
re
f
ix_ref_itera
t
or: break when we leave the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
read_
p
ack
_
header:
h
an
d
le signed/un
s
i
gned com
p
arison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config:
flip ret
u
rn va
l
ue of sto
r
e_wri
t
e_*(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff Ki
n
g
notes-merge: use ssize_t
for w
r
ite_in_full() return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
f
f
King
pkt-line:
che
c
k wri
t
e_in_full() e
r
ror
s
aga
i
nst "<
0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
convert le
s
s-
t
rivial versi
o
ns of "write_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff
K
i
ng
avoid
"
write_i
n
_full(fd, buf, len) != len"
p
at
t
er
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
g
et-tar-commi
t
-id: check wr
i
t
e_in_full
(
)
r
eturn against
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff King
co
n
f
ig: avoid
"
wri
t
e_in_full(fd, buf, len)
<
l
en" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cvs
i
mport: shell-q
u
ote variable used i
n
bac
k
tick
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
eff King
a
rchimp
o
rt: use s
a
fe_pipe_capture for
user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
K
ing
shell: d
r
op git-cvsserver s
u
ppor
t
by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
f
f
King
shortlog:
s
k
ip f
o
r
m
at/parse roundtr
i
p
f
or
internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff
King
ad
d
UNLEAK a
n
notation for reducing l
e
ak fals
e
posit
i
ves
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Je
f
f K
i
ng
git_extrac
t
_
argv0_path: do not
h
ing
without
R
UNT
I
M
E
_PREFI
X
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff
K
ing
system_
p
ath: move RUNTIM
E
_PREFIX to a s
u
b-f
u
n
ct
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
rev-parse: do
n
't tr
i
m bise
c
t ref
n
ames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
set_git_dir: handle fe
e
di
n
g gitdir to it
s
e
lf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
repository:
f
ree f
i
elds before overwr
i
ting
t
hem
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
e
s
et: fre
e
allocated tree b
u
ffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset: make tree counting less conf
u
sing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
co
n
fig
:
p
lug user_config leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
update-in
d
ex: fix
c
ache
entry leak in
add_one_fi
l
e()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
add: free le
a
ked
pat
h
spec
a
fter a
d
d_files_
t
o_cache
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
test-lib:
s
et L
S
AN_OPTIONS to abort by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-lib: --valg
r
i
nd should not override --verbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
stop lea
k
ing lock structs in some s
i
mple c
a
ses
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
K
i
ng
ref_lock: stop leak
i
n
g
lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
l
o
ckfile: updat
e
lifetim
e
r
equireme
n
ts in
documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f K
i
ng
tempfile:
au
t
o-allocate t
e
mpfiles on he
a
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
temp
f
ile:
rem
o
v
e deac
t
ivated
list en
t
ries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfile: use
l
ist
.
h fo
r
linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: re
l
e
ase deac
t
ivated s
t
rbufs in
s
t
ead of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: robus
t
if
y
c
l
e
anup handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfile: f
a
ctor ou
t
deacti
v
ation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
n
g
tempfil
e
: factor
out
activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
tempfile: replace die("B
U
G")
with
B
U
G
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
t
empfi
l
e: handle N
U
L
L
tempf
i
le
pointers grace
f
ul
l
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfile
:
pref
e
r is_tempfile_act
i
ve t
o
bare access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: do no
t
rollbac
k
lock
o
n f
a
il
e
d close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfile: do not delete tem
p
file o
n
failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
al
w
ay
s
c
h
eck
return value o
f
close_temp
f
ile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
verify_s
i
gn
e
d_bu
f
fe
r
: pr
e
fer close_te
m
pfile()
to close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup_
t
emporary_sh
a
llow: move tem
p
f
ile struct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Kin
g
s
e
tup_t
e
mporary_shall
o
w: avoi
d
u
s
ing ina
c
tive tempfil
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
write_ind
e
x_as_tre
e
: cleanup
t
e
mpfile on error
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
confi
g
: use
a static
l
ock_file st
r
uct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
J
e
ff King
doc: fix typo in sende
m
ail
.
iden
t
ity
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
eff King
pre
t
ty: su
p
po
r
t nor
m
alization options
for %(trail
e
rs)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff
Ki
n
g
t4205: refactor %(trailers) tes
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
pretty: move tr
a
iler formatting
t
o trailer
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jef
f
King
interpret-t
r
ailers:
add
-
-pars
e
c
onvenience option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
i
nterpret-tr
a
ilers: add a
n
option to unfold values
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff
K
ing
inter
p
ret-trai
l
ers
:
ad
d
an op
t
ion
to show
only exis
t
ing
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
i
n
terpret-tra
i
lers
:
ad
d
a
n
option to show
o
nly the
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-10
Jeff King
trai
l
er: put process_trailers() o
p
tions into
a
struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
sha1_file: d
r
o
p
experimental GIT_U
S
E_LOO
K
UP search
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
hashcmp: use
memcm
p
inste
a
d of o
p
en-coded loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
J
e
ff Ki
n
g
rev
i
sion: d
o
not fallba
c
k to
defau
l
t when rev_input_given
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
rev-lis
t
: don't
show usage when we see empty
r
ef patterns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff
Ki
n
g
revis
i
on: add rev_input_given flag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff Ki
n
g
t601
8
:
f
le
s
h out empty i
n
pu
t
/output re
v
-list
t
ests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
c
o
nnect: reject paths
t
hat look
l
ike command line option
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff
K
i
ng
connect: reject das
h
ed arguments f
o
r proxy
c
ommands
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
connec
t
: factor out "looks
l
ike comm
a
nd line opti
o
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff Kin
g
t
581
3
: add
test
for ho
s
tname start
i
ng with dash
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff K
i
ng
t/lib-p
r
oto-disable:
restore protocol
.
al
l
ow after config
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-17
J
e
f
f Ki
n
g
t:
h
andle EOF in
t
e
s
t
_
copy_byte
s
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-14
Jef
f
K
in
g
strbuf
:
use des
i
gn
a
ted in
i
tiali
z
ers
in ST
R
BUF_I
N
IT
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter: consult wan
t
_
c
olor() b
e
fore
emit
t
in
g
color
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
King
pret
t
y: respect color
s
ettings for %C p
l
acehold
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
rev-list
:
p
a
ss
d
if
f
opt
-
>
use_colors
t
h
rough to prett
y
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
for-
e
a
ch-ref: load config earlier
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
King
color: check co
l
or
.
ui in
git_
d
efault_config()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
e
f
f King
ref-filter
:
pass ref_format struct to atom par
s
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-f
i
lter: facto
r
ou
t
the pa
r
sing of
s
orting atom
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Kin
g
re
f
-fi
l
ter
:
mak
e
p
a
r
s
e_re
f
_
f
i
l
ter_a
t
om
a
p
r
i
vate function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
K
ing
ref-fil
t
er
:
p
rovide a function for parsing sort
o
ptions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next