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
add worktree.guessRemote config option
2017-11-21
Jeff King
git-
j
ump: give contact instruction
s
in
the READ
M
E
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Jeff Ki
n
g
link_alt_odb_
e
nt
r
ies: m
a
k
e empty input a
noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jef
f
King
se
t
u
p
:
avoi
d
double slashes when looking for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
wor
k
tree: h
a
n
d
le broken s
y
mrefs in
fi
n
d_shared
_
s
y
m
r
ef()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
i
ng
l
og: h
a
ndl
e
broken H
E
AD i
n
dec
o
ra
t
ion check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
remote: handle broken symref
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
test-ref-st
o
re:
a
void
p
assing NULL
t
o
print
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
diff: handle NULs
in get_strin
g
_hash
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff K
i
ng
diff: fix whitespa
c
e
-
skipping with
-
-
color
-
move
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
K
ing
t4015
:
test the output of "dif
f
--co
l
or-moved -
b
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
t4015: check "negati
v
e" case for "
-
w --
c
olor-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015
:
r
e
f
a
ctor
--
c
o
l
or-moved whi
t
espac
e
tes
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
K
ing
tag: respect color
.
ui
c
onf
i
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff K
i
ng
R
e
v
e
r
t "color: ch
e
ck color
.
ui in
git_def
a
ult_config(
)
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "t600
6
:
drop "a
l
wa
y
s
" color con
f
ig tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
K
ing
Revert "
c
olor: mak
e
"always" the s
a
me as "auto" i
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
diff: fix infinite loop wit
h
--co
l
or
-
m
o
ved --igno
r
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
Jeff King
revi
s
ion: quit
p
runing diff mo
r
e
q
uickly w
h
en
possible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff King
write_entr
y
: untangle symlink and
r
egular-file cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
ef
f
King
wri
t
e_entry: avoid reading blobs in CE_
R
ETRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
wri
t
e_entry: fix leak
w
hen re
t
rying delayed fi
l
t
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
refs_reso
l
ve_ref_unsa
f
e:
h
an
d
le d/f conflicts for w
r
ites
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t3308: create a real ref director
y
/file con
f
lic
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jef
f
Kin
g
s
ha
1
_loose_object_info: h
a
ndle errors f
r
om unpack_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
p
ath
.
c: fix
un
i
nitialized m
e
m
o
r
y
access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t7301: use
test_terminal to
ch
e
c
k
col
o
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015: use
-
-color
w
i
t
h --color-move
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
c
olor: make
"
a
l
w
ays" the sa
m
e
as "au
t
o
"
in config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f
K
i
ng
provide
--c
o
lor op
t
io
n
for
al
l
r
ef-filt
e
r us
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
n
g
t
3
2
05:
use --
c
olor instea
d
of color
.
branch=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t3203: drop "always
"
co
l
o
r
test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t6006: drop "always" co
l
or conf
i
g
t
e
sts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f
K
ing
t
7
5
02:
u
se d
i
ff
.
n
op
r
efix for --
v
erbose test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t7508: use
test_terminal for
c
o
lor output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t3
7
0
1
: use test-te
r
minal to collect col
o
r output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t4015: p
r
efer --color to -c col
o
r
.
diff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
test-ter
m
inal: set TERM=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
git: add
--no-opt
i
onal
-
l
ocks op
t
i
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
v
a
lidate_headref: us
e
get_o
i
d_hex for detached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
Kin
g
validate_headref: use
s
kip_prefix for symref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
va
l
id
a
te_headref: NUL-termina
t
e HEAD b
u
ffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff K
i
ng
worktree
:
che
c
k the res
u
lt
of read_in_f
u
ll()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktree:
use xsize_t to acce
s
s f
i
le size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
dis
t
in
g
uish error v
e
r
s
us short re
a
d from read_
i
n
_
full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
avoi
d
looki
n
g
a
t
errno for short read_in_
f
ull()
returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
pref
e
r "
!
=" when checking re
a
d_in_
f
u
ll() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff
K
ing
notes-merge: drop dead zero-write c
o
de
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jef
f
King
files-bac
k
e
n
d: pr
e
fer "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
:
put litera
l
block delimiter around tab
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
consis
t
ently use
"fallthrough" comme
n
t
s
i
n
switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
King
curl_trace(): eliminat
e
swi
t
ch fallt
h
rough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
ing
te
s
t
-line-buffer: simplify com
m
and parsin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
ing
cat-f
i
le:
h
an
d
le
N
ULL obje
c
t_context
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revision: r
e
place "stru
c
t c
m
dline_p
a
thspec"
with ar
g
v_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_alternat
e
s: warn on
n
o
n-trivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
ef
f
K
ing
r
e
ad_info_alternates:
r
ead c
o
n
tents
i
nto strbu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
p
refix_ref_iterato
r
: break when we leave the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
read_pack_hea
d
er
:
handle
s
ig
n
ed/u
n
signed
c
ompari
s
on
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
conf
i
g
: flip return va
l
ue
o
f sto
r
e_wri
t
e_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
n
o
t
e
s
-
m
erg
e
: use ssiz
e
_
t
for w
r
i
t
e_in_ful
l
() r
e
turn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pkt-line: check wri
t
e_
i
n_full() erro
r
s against "
<
0
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
K
ing
convert le
s
s-trivial ve
r
s
i
o
n
s of "write
_
in_fu
l
l
()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
avoid
"
wri
t
e_in_full(fd, buf, len) != len" pa
t
t
e
rn
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
get-tar-com
m
it-id:
c
h
eck write_in_
f
ull() return against 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: a
v
oid "write_i
n
_full(fd
,
buf,
l
en) < len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
K
ing
cvsimport: she
l
l-quote variab
l
e used in backtick
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f Kin
g
arch
i
mport: use safe_pi
p
e
_capture
for user
i
nput
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
K
i
n
g
shell: dro
p
git-cvs
s
erve
r
s
u
ppo
r
t by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff K
i
ng
sh
o
rt
l
og: skip format/pa
r
s
e rou
n
dt
r
ip
f
or internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Je
f
f King
add UNL
E
AK anno
t
at
i
o
n
for reducing leak
f
alse po
s
itives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
gi
t
_extract_ar
g
v
0
_path: d
o
nothin
g
without RUNT
I
ME_PR
E
FIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff
K
ing
system_path:
move RU
N
TIM
E
_
P
REFI
X
t
o a sub-functi
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
K
ing
rev-parse: don't trim bisect re
f
na
m
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_g
i
t_dir:
hand
l
e feeding gitdir to
itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
repository: free fi
e
lds before o
v
e
rw
r
iting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
re
s
et:
f
r
ee a
l
l
ocated tree buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f K
i
ng
reset: make tree coun
t
ing less confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
c
o
n
fi
g
: plug user_config leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
upda
t
e-in
d
ex: fix cach
e
e
n
tr
y
leak
i
n ad
d
_one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Kin
g
add
:
free leaked
pathspec af
t
er add_files_to_cache(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-lib: set LSAN_OPTIONS to abort by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
est-lib:
-
-
v
algrind should not overri
d
e --v
e
r
bose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
stop leaking lock str
u
c
ts in
s
ome simp
l
e cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_
l
o
ck: stop
l
eaking lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
lockfile:
update
li
f
etime requirements in documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tem
p
file: au
t
o-allocate tempfiles on h
e
ap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tem
p
f
i
le: remo
v
e deactivated
l
is
t
entri
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: use list
.
h
for lin
k
ed lis
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfi
l
e: rel
e
ase dea
c
ti
v
ated strbufs ins
t
e
a
d of resetti
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
K
i
ng
t
empfile: rob
u
st
i
fy clea
n
up handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfile: fa
c
tor out deactivati
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
tempf
i
le: fact
o
r out activa
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
tempfile
:
repl
a
ce die("BUG
"
) with BU
G
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f K
i
ng
tempfile: hand
l
e
N
UL
L
tem
p
file pointers g
r
acefu
l
ly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfile: prefer is
_
t
e
mpfile_active to bare access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
l
o
ckfile: do not rollback lock on fail
e
d clo
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: do not delete tempf
i
l
e on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f K
i
ng
a
lways
check return
value of close_
t
empfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
verify_
s
igned
_
b
u
f
f
e
r: prefer
c
l
ose
_
tempfile()
t
o
c
l
o
s
e()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Kin
g
setup_tempora
r
y_
s
h
allow: move t
e
m
p
f
ile
s
t
ruct int
o
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next