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_default()
2017-11-21
Je
f
f
K
in
g
git-jump: g
i
v
e co
n
t
a
ct instruc
t
ions in th
e
README
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Je
f
f King
l
i
nk_alt_odb_entries: make empty input a noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
J
eff K
i
ng
setup
:
av
o
id double s
l
ashes whe
n
looking f
o
r HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
w
or
k
t
r
ee: handle broken symre
f
s in find_shared_symref(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
log: handle broken HEAD in decor
a
tion
c
heck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff Ki
n
g
remote
:
ha
n
dle broken
s
ymref
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
test-ref-store: avoid passing
NULL t
o
printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f Kin
g
diff: h
a
ndle
NULs
in get_string
_
hash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff
K
i
ng
diff: fix whitespace-skipping with --color-
m
ov
e
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t40
1
5: tes
t
the output of "diff
-
-color-moved -
b
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
Kin
g
t4015: check "negati
v
e"
c
ase for "-w --color-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015:
refactor
-
-color-m
o
v
ed whitespac
e
test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff Ki
n
g
ta
g
: respect color
.
ui co
n
fig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
King
Revert
"colo
r
:
c
h
e
c
k color
.
ui in git_defa
u
lt_conf
i
g()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
K
ing
Revert "t6006: drop "always
"
color conf
i
g tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert
"
color: mak
e
"a
l
w
a
ys"
t
he same as "auto
"
in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff K
i
ng
diff: fi
x
infini
t
e lo
o
p with --
c
olor-moved --ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
J
e
ff Kin
g
revision: q
u
it pr
u
ning dif
f
more q
u
ickly when possib
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff King
wri
t
e_en
t
r
y
: untangle symlink and
regular-file c
a
ses
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
w
rite_en
t
ry: avoid rea
d
ing
blob
s
in CE_RETRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
eff King
w
r
ite_
e
ntry: fix leak
w
hen
re
t
ryi
n
g
delayed
fi
l
t
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
refs_resolve
_
ref
_
unsafe: handle d/f conf
l
icts for
w
ri
t
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t3308: c
r
eat
e
a
real
re
f
d
irectory/f
i
l
e co
n
flict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff
K
ing
sha1_loos
e
_obje
c
t_i
n
fo: handle errors
from unpack_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
path
.
c:
fix uninitial
i
zed memory access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7301: use test_te
r
min
a
l to c
h
e
ck color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015: use
-
-color with --col
o
r-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
co
l
or: make "always"
t
h
e same as
"auto" in c
o
nfig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
p
r
o
v
i
de --color option for all ref-fi
l
ter user
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
3
2
0
5: use --co
l
or instead of color
.
branch=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3203: drop "alw
a
y
s" color
t
est
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t6006: drop "always" color
c
o
nfig test
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff Kin
g
t7502: use
d
iff
.
nopref
i
x for --verb
o
se test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f
K
ing
t7508: use t
e
s
t_t
e
rminal
f
or color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t37
0
1
: use t
e
s
t-terminal
t
o coll
e
ct color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
t4015: pr
e
fer --color to -c color
.
diff=alway
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
t
est-terminal: set TERM=v
t
100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Kin
g
git
:
ad
d
--
n
o-o
p
tional-lo
c
ks option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
validate_headref:
u
se get_oid_hex for detache
d
H
EADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Kin
g
validate_headr
e
f
: use skip_prefix for s
y
mref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff
K
ing
validate_headref
:
NUL-terminate HEAD
b
uffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
wor
k
tree: ch
e
ck the result o
f
r
e
a
d_i
n
_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
w
o
rktre
e
: use xsize_t to acces
s
file size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
d
ist
i
nguish error ve
r
sus short read from read_in_ful
l
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
Ki
n
g
avoid looking at errno for short read_in_full()
returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
prefer
"
!=" w
h
en c
h
ecking re
a
d
_
in_f
u
ll() resul
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jef
f
King
notes
-
m
e
rge: drop dead zero-wr
i
te
cod
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
f
il
e
s-b
a
ckend: prefer
"0" f
o
r write_in_full() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc:
p
u
t
literal
b
lock delimiter a
r
ound table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
Ki
n
g
c
onsi
s
tently use "
f
a
ll
t
hrough" comments
i
n switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff K
i
ng
curl_
t
r
a
ce():
eli
m
inate switch fa
l
l
t
h
rough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
K
i
n
g
test-l
i
ne-buffer: simplify com
m
and par
s
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Kin
g
cat-file:
handle NULL
o
bject_context
.
p
a
th
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
J
eff King
revision
:
replace "struc
t
cmdline_path
s
pec" with argv_
a
rray
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff K
i
ng
read_info_alterna
t
es: warn on non-trivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_i
n
fo_alterna
t
es:
r
e
ad contents in
t
o s
t
rbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
prefix_ref_iterat
o
r
:
break w
h
en we leave the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
read_
p
ack_header: han
d
le signed/unsigned
c
o
mparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
conf
i
g: f
l
ip return
value
o
f store_write_
*
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
not
e
s-merge: use
s
s
i
z
e
_t for wr
i
te_in_
f
ull() return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
pkt-line:
ch
e
ck
writ
e
_in
_
full() erro
r
s against "<
0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
conv
e
r
t
less-trivial v
e
rsions
of "write_in_full
(
)
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
a
v
o
id "
w
rite_in_full(f
d
, buf,
len) != len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
get-tar-commit-id: check w
r
ite_in_full() r
e
turn a
g
ainst 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
config: avo
i
d "writ
e
_
in
_
full(fd, buf, le
n
) < len"
p
atter
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f King
cvsimp
o
r
t: s
h
ell-
q
uote
v
ariable
u
se
d
in backticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
archimport: use safe
_
pipe
_
capture fo
r
user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
e
ff
King
shell: drop
g
i
t-cvsserver support by defaul
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Je
f
f
King
shortl
o
g:
s
kip for
m
at/parse roundtrip for
i
n
ternal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
add UNLEAK annotatio
n
for reducing leak
fals
e
positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_extract_argv0_path: d
o
nothing without RU
N
TIME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system_path:
m
ove RUNTIME_PREFIX
t
o
a
su
b
-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f King
r
ev-parse:
d
on
'
t trim
b
i
s
e
ct refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_git_di
r
:
h
a
n
dle feeding git
d
ir to
i
t
se
l
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
repository: fr
e
e fields before ove
r
writing them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
eset:
f
ree allocated tree buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
reset:
make tr
e
e counting l
e
ss
conf
u
s
i
ng
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 King
update-
i
ndex:
fix
cache en
t
ry
leak in ad
d
_on
e
_
f
ile()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Ki
n
g
add: free leaked p
a
ths
p
e
c
a
f
ter a
d
d_
f
iles_to_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
t
e
st-lib:
set LSAN_OPTIONS
t
o abort by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
t
est-lib: --v
a
lgrind
s
hould not ov
e
rride --verbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
s
t
o
p leak
i
n
g lock stru
c
ts in some s
i
mpl
e
ca
s
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_l
o
ck: stop leaking lock_
f
iles
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
lockfi
l
e: upd
a
te lifetime requi
r
emen
t
s i
n
documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
ef
f
Kin
g
tempf
i
le: auto-a
l
locate tem
p
files
on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: remove deacti
v
ated list
e
n
tries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfile: use li
s
t
.
h
for linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tem
p
file: r
e
leas
e
deactivated st
r
bufs
i
n
stea
d
of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempf
i
le:
r
obustify
clean
u
p
h
andler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempfile: fa
c
tor out deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
file: factor out
a
ctivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempf
i
le: replace die
(
"BU
G
") with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
temp
f
ile: handle NULL tempfile pointers gracefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
tem
p
fil
e
:
p
r
e
fer is_
t
empfi
l
e_active to bare access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lo
c
kfile: do not ro
l
lback lock on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempf
i
l
e:
d
o not delete tempfile on fai
l
ed
c
lose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
alwa
y
s c
h
e
ck return v
a
l
ue of close_
t
empf
i
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Ki
n
g
verify_sign
e
d_buffer: prefer close_tempfi
l
e() to close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
setup_
t
emporary_shallow: mov
e
t
em
p
file struct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next