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
diff: use skip_to_optional_arg()
2017-11-21
Jeff King
git
-
jump: g
i
ve con
t
act
instructions in t
h
e README
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Jeff King
link_alt_odb_en
t
r
i
e
s: make empty
i
nput a no
o
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
setup:
avoid dou
b
le slashes wh
e
n
lo
o
king for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
f
f
King
worktree: handle broken symrefs in find_shared_symref()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
lo
g
: han
d
le
broken HE
A
D in decoration check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
r
e
m
o
t
e
: hand
l
e broken
symrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
test-ref
-
store: avoid passing NU
L
L t
o
printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff K
i
ng
diff
:
h
a
ndle NULs in
g
e
t
_string_
h
ash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
diff
:
fix
whitespace-sk
i
p
p
ing with --c
o
l
o
r-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
ef
f
K
ing
t4015: test the out
p
ut o
f
"diff --color-mov
e
d
-b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: chec
k
"
negative"
cas
e
for "-w --color-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
t
4
015: ref
a
ctor
-
-color-moved
whitesp
a
ce test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
t
ag: respe
c
t color
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "c
o
lor: check col
o
r
.
ui in git_default_config()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "t6006: dro
p
"
always
"
color co
n
f
ig
t
ests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "color: m
a
ke "al
w
ays"
t
he same as "a
u
to" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
J
e
ff Ki
n
g
d
i
f
f
: fix infinite loop wit
h
--color-mo
v
ed
-
-ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
Jeff K
i
ng
revision: quit pruning diff more quickly
w
h
en possible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
J
eff King
wri
t
e_entry: untangle sym
l
ink an
d
regular-file cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Je
f
f King
write_en
t
ry: avoid
r
eading blob
s
in
C
E_RETR
Y
ca
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
write_en
t
ry: fix leak whe
n
ret
r
ying del
a
ye
d
f
i
lter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
refs_resolv
e
_ref_
u
nsa
f
e
: handle d/f
c
o
nflicts for writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t3
3
08: create a real
r
ef
d
irec
t
ory
/
file conflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff K
i
n
g
sha1_lo
o
se_object_
i
nfo: handle er
r
o
rs from
unpack_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
pa
t
h
.
c: f
i
x uninitia
l
ized
memory access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f
King
t7301
:
use
test_terminal t
o
c
h
eck colo
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015:
use --co
l
o
r with --color-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
c
olor: make "always" t
h
e same as
"auto" in
c
onfig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
provide --co
l
or option for a
l
l ref-filter user
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3205: us
e
--co
l
or i
n
stead of color
.
br
a
nch
=
a
lways
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
3
203: drop "always" color test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t
6006: d
r
op "always" color conf
i
g te
s
ts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t7
5
02: use
d
i
ff
.
noprefix for
-
-verbose test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f King
t7508: use test_term
i
nal for
c
o
lor
output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3701: use test-te
r
minal to
collect color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
t4015: prefer --color to -c color
.
diff=a
l
ways
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
test-termina
l
:
set TERM=vt10
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
git
:
add --no-optional-locks opti
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
va
l
i
date_head
r
ef:
u
se get_oid
_
h
e
x
for
d
etached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
valid
a
te_h
e
adref
:
use skip_pre
f
ix
f
or symref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
i
ng
valida
t
e_
h
e
a
dref:
N
UL
-
terminate HEAD buf
f
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktree: c
h
e
ck t
h
e
result of re
a
d_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff
K
ing
worktree: use xsize_t
t
o access file size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
distinguis
h
e
r
ror versus short read f
r
om read_in_fu
l
l(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
avoid looking a
t
e
r
r
no for short read_
i
n_full() returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f
Ki
n
g
pr
e
f
er "!=" when c
h
eckin
g
rea
d
_in_full() re
s
ult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff
King
n
o
tes-
m
erge: d
r
op dead zero-wr
i
te co
d
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jef
f
King
files-backe
n
d
:
prefe
r
"0" for write
_
in_full() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc: put literal block delimiter around t
a
b
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
c
o
ns
i
stently use "fallthrough"
c
o
mments in swit
c
h
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
eff King
curl_t
r
ace(): eliminate swi
t
ch fallthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
K
i
n
g
t
est-line
-
buffer: simplify
c
ommand pars
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
cat-f
i
l
e: handle NULL object_context
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff
K
ing
revision: repla
c
e "
s
truct cmdli
n
e
_path
s
p
e
c
" with arg
v
_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff
K
i
n
g
read_info
_
alterna
t
es: warn on non-
t
rivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
eff
King
read_info_
a
lternates
:
read contents
into s
t
rbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
pr
e
f
i
x_ref_ite
r
ator
:
br
e
ak when we
l
eave the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
re
a
d_pack_header:
handle signed/u
n
signed comp
a
rison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
confi
g
:
f
lip re
t
urn value of s
t
ore_w
r
ite_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
not
e
s-merge: use ssize_t for w
r
ite_in_full() ret
u
rn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
pkt-
l
ine
:
check write_in_fu
l
l() errors against "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
c
o
nvert less-trivial ver
s
ions of "write_in_full(
)
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
avoid "write
_
in_full(fd, bu
f
,
len) != le
n
"
pa
t
tern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
get
-
tar-commit-id:
check wr
i
te_in_fu
l
l(
)
return against
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
f
f
King
confi
g
: avoid "write_in_full(fd, buf, len) < len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f King
cvsimport
:
shell-quote varia
b
le used in backticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
archimport: u
s
e safe_pi
p
e_capture
f
or user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
shell: drop git-cvsserv
e
r suppor
t
by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
eff King
short
l
og:
s
kip format/parse roundtrip for i
n
ternal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jef
f
Ki
n
g
add U
N
LEAK
a
nnotation for red
u
cing le
a
k
false positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
g
i
t
_ex
t
ract_argv
0
_path: do noth
i
ng w
i
thout RUNTIME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Je
f
f
Kin
g
system_p
a
th: move RUNTIME_PREFIX to
a
sub-
f
unction
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev-parse: don't trim bisec
t
r
efnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
set_git_dir:
h
andle feeding
gitdir
to itsel
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Ki
n
g
reposi
t
ory: free
f
ields bef
o
re overwriti
n
g
t
h
em
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset: fr
e
e al
l
o
c
ated tree buff
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
ing
reset:
make
t
r
e
e c
o
u
nting less confusi
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
c
onfig: plug
u
ser_config
leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
u
p
date-index
:
f
ix cach
e
en
t
ry le
a
k
i
n add_on
e
_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
a
dd: free leak
e
d p
a
thspec af
t
er add
_
files_t
o
_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-lib: set
L
SAN_OPTION
S
to ab
o
rt by de
f
ault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test
-
l
ib: --va
l
grind should not
overr
i
de --
v
er
b
o
s
e-
l
og
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff K
i
ng
stop leaking lock
s
t
ructs in
s
ome simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_lock:
s
top leaking
lo
c
k_fil
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
l
o
c
kfile: update lifet
i
me requirements in doc
u
m
e
n
tation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfile: auto-allocate tempfiles
o
n heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempfile
:
remove deactiv
a
ted lis
t
entri
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
t
e
mpfile:
u
se list
.
h for
l
i
n
ked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempf
i
le: release dea
c
tivated str
b
ufs instead of
r
eset
t
i
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfi
l
e
: robu
s
tify cl
e
anup handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempfile: fac
t
or
ou
t
deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
tempfile: fact
o
r
out a
c
tiv
a
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
t
empfile: repla
c
e die("BUG")
with
B
UG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
temp
f
ile:
handl
e
NULL tempfile po
i
nters grac
e
fully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
m
pfil
e
: prefer is
_
tempfile_act
i
ve t
o
bare access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
lock
f
ile: do not rollback lock on f
a
ile
d
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfi
l
e: do not de
l
ete tem
p
fil
e
on
f
ailed
c
lose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
alwa
y
s check ret
u
rn value of close
_
te
m
pfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
verify_sign
e
d_buff
e
r: prefer close_tempfile(
)
t
o
cl
o
se()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
setup
_
temporary_
s
hal
l
ow: mo
v
e tempf
i
le struct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next