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
commit: run git gc --auto just before the post-commit hook
2018-01-04
Jeff K
i
ng
docs
/
dif
f
-options:
clar
i
fy
scope of
diff
-
filte
r
types
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2018-01-03
Jeff King
clone:
d
o
n
o
t
clean up directories
w
e didn't create
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2018-01-03
Jeff
K
ing
c
l
one
:
factor out d
i
r_exists()
h
e
lper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2018-01-03
J
eff King
t5
6
0
0
: modernize styl
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2018-01-03
Jeff King
t5600: fix outdat
e
d
co
m
ment about unborn HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-12-08
J
e
f
f
King
t
/
Makefile: int
r
oduce
TEST_
S
HELL_PATH
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-12-08
Je
f
f King
te
s
t
-lib: make "
-
x" work
w
i
th "--v
e
rbose
-
log"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-12-08
Jeff Ki
n
g
t5615: avoid re-us
i
n
g
descript
o
r 4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-12-08
Jeff
K
ing
test-lib:
si
l
ence "-x"
cleanup under bash
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-12-08
Jeff Ki
n
g
cvsim
p
ort: a
p
ply shell-qu
o
t
ing regex
g
lobally
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-12-08
Jeff King
doc
s
/pret
t
y-for
m
ats
:
ment
i
on comm
a
s i
n
%(
t
raile
r
s)
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-12-04
Je
f
f King
p
r
ogress: set
d
efault
dela
y
thre
s
hold to 100%, no
t
0%
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-27
Jeff King
g
it-statu
s
.
t
xt: ment
i
on --no-option
a
l-locks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-22
Jeff King
sha1_f
i
l
e:
f
a
st-pat
h
null sha1 as a missing object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
Jeff King
eve
r
y
t
hing_l
o
c
al: use "quick"
o
bject existence c
h
eck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
Jeff
K
ing
p55
5
1:
add a scrip
t
to
t
est fetch pack-dir rescans
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
Jeff King
t/per
f
/l
i
b
-
p
ack:
u
s
e fast-import checkpoint t
o
create
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
Je
f
f
K
ing
p
5550: factor ou
t
no
n
sense-pack cr
e
a
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
Jeff Ki
n
g
git-j
u
mp: give contac
t
ins
t
ructions in
the README
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Jeff King
li
n
k
_alt_od
b
_entries:
make empty in
p
ut a
noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
set
u
p:
a
void doub
l
e slashes wh
e
n
l
o
oking
f
or HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
worktree: handle broken sy
m
refs in find_
s
hared_symre
f
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
lo
g
:
handle b
r
o
ken HEAD in decoration check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
remote: handle broken symrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
test-r
e
f
-
store:
avoid pas
s
ing NULL to printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
diff:
handle NULs in get_string_hash
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
di
f
f:
f
ix w
h
it
e
space-ski
p
pi
n
g with --color
-
mov
e
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t
4
015: test
t
h
e
output of "
d
iff --
c
ol
o
r-moved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff King
t401
5
: check "neg
a
t
ive
"
ca
s
e fo
r
"
-
w
--color-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
K
i
ng
t4
0
1
5
: refac
t
or --color-moved whitespace test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
K
ing
tag:
r
espec
t
co
l
or
.
u
i
config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
e
ff
King
Revert "
c
olor: c
h
eck
c
olor
.
ui in git_default_config()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff K
i
n
g
Revert "t6006: drop "alwa
y
s" color
c
o
nfig tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
e
f
f
King
Reve
r
t "color: make "always"
the same as "auto
"
i
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff
King
di
f
f: fix infinite loop wi
t
h --
c
ol
o
r-moved --ig
n
ore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
J
e
ff King
revisio
n
: quit
p
runing diff
more
q
uickly when pos
s
i
b
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Je
f
f
K
ing
write_entry: untangle symlink
and
r
egular-file cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
wri
t
e_entry: avoid rea
d
ing
b
lobs in CE
_
RETRY c
a
se
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Je
f
f
K
ing
wr
i
te_entry:
f
ix lea
k
when retry
i
ng delayed filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
J
eff Kin
g
refs_resolve_ref_u
n
safe:
handle d/f c
o
n
f
licts for writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff
K
ing
t330
8
: create
a rea
l
r
e
f directory/file co
n
flict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
J
e
ff
K
ing
sh
a
1
_l
o
o
se_object_
i
nfo: han
d
le errors
f
r
o
m
u
n
pack
_
s
ha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
path
.
c: fix uni
n
itialized memory
a
c
c
ess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7301:
use test
_
t
e
rminal
to
check color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t
4015: use
-
-color with --color
-
moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff
K
ing
color: make "always"
t
h
e same as "auto
"
i
n
c
on
f
ig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provide --color option for all ref-filter
use
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Kin
g
t32
0
5: use --color instead of c
o
lor
.
b
ranc
h
=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
i
ng
t3203: drop "al
w
ays
"
c
olor t
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t6006: drop "a
l
ways"
co
l
or config tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7502: u
s
e diff
.
noprefix
for --verbose te
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7508: u
s
e test_ter
m
inal for color ou
t
put
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
3701: use test-ter
m
in
a
l to collec
t
color o
u
tput
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015:
p
r
efer --co
l
or
t
o -
c
color
.
d
iff=alway
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f Ki
n
g
test-
t
erminal: set TERM=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
git: add --no-optional-lo
c
ks opti
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
valida
t
e_head
r
ef:
use get_o
i
d_hex for detached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
validate_headref: use skip_prefix for symref par
s
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
v
a
l
i
date_h
e
a
d
re
f
:
NU
L
-te
r
minate HEAD bu
f
fer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
Ki
n
g
worktree: che
c
k the resul
t
o
f
re
a
d
_in
_
full
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
w
orktree: use xsi
z
e_t to access fil
e
size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
dist
i
n
g
u
i
s
h er
r
or
v
e
rsus short read f
r
om read_in_ful
l
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
f
f K
i
ng
avoid l
o
ok
i
ng at errno f
o
r short read_in_full() returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
prefer "
!
=
" when checking read_in_f
u
ll() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
no
t
es-merge: drop dead zero-write code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Kin
g
file
s
-backend:
p
r
efer "0" for wri
t
e_in_full
(
)
e
rr
o
r
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff Ki
n
g
d
o
c
:
put literal block delimiter
around table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
consis
t
ently
use "fallthrough" comments in s
w
itc
h
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff
King
curl_trace
(
): e
l
iminate
switch fal
l
t
h
rough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f King
test-lin
e
-buffer:
s
i
m
p
lif
y
command parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
ing
cat-file: hand
l
e NUL
L
object_con
t
e
xt
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revis
i
o
n: replace
"struct cmdl
i
ne_pathspec" with argv_a
r
ray
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff
K
i
ng
read_info_alternate
s
: w
a
rn on non-trivia
l
er
r
ors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info
_
altern
a
tes: read contents into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
prefix_ref_it
e
r
a
tor: break when we le
a
ve th
e
pr
e
fix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
read_pack_he
a
der
:
h
andl
e
signed/unsigned comparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
con
f
ig
:
fli
p
r
eturn value of sto
r
e_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff King
n
o
t
es-merge: use
s
s
ize_t for write_i
n
_
full(
)
r
e
t
urn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pkt-line:
c
heck wr
i
te_in_ful
l
() errors
against "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff K
i
ng
convert less
-
tri
v
ial ve
r
s
ions of
"w
r
it
e
_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
in
g
avoid "
w
rite_in_full(fd
,
buf
,
l
e
n) != len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
get-tar-co
m
m
i
t-id: check
w
r
i
te_in_full()
r
eturn
a
gainst 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: avoid "wr
i
te_in_full(fd
,
buf, len)
< len" patt
e
rn
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
eff
K
ing
cvsimport: shell-quote variable us
e
d in backti
c
ks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
archimport: use safe_pipe
_
c
a
pture for user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
e
f
f
K
i
ng
shell: d
r
o
p
git
-
cv
s
se
r
ver support by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
ef
f
King
shortl
o
g:
s
kip f
o
rmat/parse roundtrip
f
or
internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff K
i
n
g
add UNLEAK annotation fo
r
reducing
leak fa
l
s
e po
s
itives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
J
e
ff King
git_extr
a
ct_argv0_p
a
th:
do nothi
n
g with
o
ut RUNTIME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system_path
:
move RUNTIME
_
P
REFIX to a
s
u
b
-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rev-parse: don
'
t
t
rim bis
e
ct refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
set_git_dir:
h
andle feeding gitdir t
o
itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
repository:
f
ree fields before over
w
riting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset:
f
ree
a
llocate
d
tree
buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
rese
t
: make tree
c
ou
n
t
i
ng less confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
con
f
ig
:
plug
user_config
l
eak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
update-ind
e
x: fix
c
ac
h
e entry leak in ad
d
_one_file
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: f
r
ee leake
d
paths
p
ec after
a
dd_files_to_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
test-lib: set
L
S
AN_OPTIONS
to abort
b
y
d
efault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
te
s
t
-lib: --val
g
r
i
n
d
sh
o
u
l
d
not override --verbo
s
e-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next