repo.or.cz
/
git
/
gitweb.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
rebase -i: update functions to use a flags parameter
2017-11-21
J
e
ff King
git-jump: g
i
v
e con
t
act instr
u
ctions in the README
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Jeff King
link_al
t
_odb_entries:
make empt
y
input
a
noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
setup: av
o
id double s
l
ashes when l
o
ok
i
ng
for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
wor
k
tr
e
e: handle
b
roken symre
f
s in find
_
sha
r
ed_symref()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
log: handle
br
o
k
e
n H
E
AD in
decoration
c
heck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
remot
e
:
handle broken symrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
test-ref-store: a
v
oid passi
n
g N
U
L
L
to pri
n
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
di
f
f: handle
NULs in get_s
t
ring_has
h
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
di
f
f: fix w
h
itespace-skipping w
i
th -
-
color-
m
oved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t
4015:
t
est t
h
e
o
utput of "d
i
f
f
--color-mo
v
ed -b
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
t
401
5
: ch
e
ck "negative"
c
ase
f
or "-w -
-
color-
m
oved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Kin
g
t4
0
15: refactor -
-
c
o
l
o
r-moved whites
p
ace test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
tag: respect color
.
ui
config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
King
Revert "c
o
lor
:
check color
.
ui
i
n git
_
default_config()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
Ki
n
g
Revert "t6006: drop "always
"
co
l
or
c
onfi
g
t
e
sts"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "c
o
lo
r
: make "always" the same as "
a
uto" i
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff
K
ing
diff: fix infinite
l
o
op wi
t
h --
c
olor-mov
e
d --ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
Je
f
f King
r
e
v
ision: quit
pruning
diff more quick
l
y whe
n
possible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jef
f
King
write_e
n
try: untangle
s
y
m
link an
d
regular-
f
ile cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
write_ent
r
y: a
v
oid re
a
ding b
l
obs in CE_RETRY
c
ase
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff K
i
ng
w
rite_entr
y
: fix leak
when retrying d
e
layed filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jef
f
King
refs_res
o
lve_
r
ef_unsafe
:
handle d/f co
n
fli
c
ts for writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff
King
t33
0
8:
c
reate
a real ref dir
e
c
tory/file
c
onflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sha1_loo
s
e_object
_
info: ha
n
dle
e
rrors f
r
om un
p
ack
_
sha
1
_
r
est
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f Kin
g
p
a
th
.
c
:
f
i
x uninitialize
d
memor
y
access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7301: use
test_termin
a
l to che
c
k
color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
4
015: us
e
--c
o
lor wi
t
h --
c
o
l
or-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
i
n
g
color: make "
a
lways" the same as
"auto" in conf
i
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provide
--col
o
r option for all ref-filter users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3205: use --color instead of color
.
br
a
nch=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t32
0
3: drop "alway
s
"
c
olor test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t600
6
: drop "always"
c
olor conf
i
g tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7502: us
e
diff
.
noprefix for --verbos
e
test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7508: use test_termin
a
l
for color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t370
1
: u
s
e test
-
terminal to co
l
le
c
t color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
i
ng
t
4
015: p
r
efer --color to -c
c
olor
.
diff
=
always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
es
t
-te
r
minal: set
TE
R
M=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
gi
t
:
ad
d
--no-option
a
l-loc
k
s
opti
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_headref:
u
se get
_
oid_hex for
d
etached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
v
a
li
d
ate_headref: use s
k
ip_prefix for
s
ymref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
validate_h
e
adref: NUL-terminate
H
EAD buf
f
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
f
f King
w
o
rk
t
r
e
e
:
c
heck the result of
r
ead_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
worktree: use xsize_t to access f
i
le size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
disting
u
ish erro
r
versus short
re
a
d from read
_
in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
Ki
n
g
avoi
d
l
o
oking at errno for shor
t
read_in_
f
ull()
r
eturns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
prefer "!=" w
h
en checking read_in_ful
l
() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
n
o
t
e
s-
m
e
rge
:
drop dead z
e
ro-
w
rite code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Ki
n
g
f
il
e
s-backen
d
: prefer "0" for
wri
t
e_in_f
u
l
l
(
) e
r
ror
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff K
i
ng
doc: p
u
t li
t
eral
b
loc
k
deli
m
ite
r
around t
a
ble
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f Kin
g
co
n
s
is
t
ently use "
f
allth
r
ough"
c
omments
i
n switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
c
u
rl_
t
race(): eliminate switch
fallthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
t
e
st-line-buffer: simplify command
p
arsi
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
ca
t
-file: handle NULL
o
bject_context
.
p
a
th
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
J
e
ff King
revision: r
e
place "str
u
ct cm
d
lin
e
_pathspec" with argv_arr
a
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff Ki
n
g
read
_
info_alter
n
ates: wa
r
n
o
n non-t
r
ivial e
r
rors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff
K
ing
read_
i
nfo_alternate
s
: rea
d
contents
i
nto strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pref
i
x_ref_iterator: break
when
w
e
leave th
e
pref
i
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
read_pack
_
header: handle sign
e
d/unsig
n
ed comparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
conf
i
g: flip r
e
turn value of store_w
r
ite
_
*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
f
f
King
n
otes-m
e
rge:
u
se ssize_t
for
w
rite_in
_
full(
)
return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pkt-
l
ine: check write_in_full(
)
errors
ag
a
in
s
t "< 0
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
convert less-
t
rivial versions of "write_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
av
o
i
d
"
w
r
i
te_
i
n
_
f
ul
l
(fd, buf, len) !
=
len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
get-tar-commit-
i
d: check w
r
ite
_
in_
f
ull()
return agai
n
s
t
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
ing
config: avoid "
w
rite_in_full(fd
,
buf, len) < len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cvsim
p
o
r
t: shell-
q
u
ote variable us
e
d
i
n back
t
icks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Ki
n
g
archimport: use safe_pipe
_
captu
r
e for
u
se
r
in
p
ut
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Ki
n
g
shell: d
r
op git-cvsserv
e
r suppor
t
by defaul
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff Kin
g
short
l
og: skip format/p
a
rse roundtrip for inter
n
al
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff Ki
n
g
add UNLEAK a
n
notat
i
on
fo
r
reducing leak fal
s
e p
o
s
i
t
ives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_extract_argv0_path: do nothing with
o
u
t RUNTIME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Je
f
f King
sy
s
tem_pa
t
h:
m
ove RUNTIME_P
R
EFIX t
o
a sub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
ev-parse: don
'
t trim bi
s
ect refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_git
_
dir: handle feeding gitdir to
itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
repository: free fields befor
e
o
v
erwriting the
m
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
re
s
et: free
allocated tree buf
f
e
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
reset: make tre
e
counti
n
g less confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
c
onfig: plu
g
user_con
f
ig leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
update-inde
x
:
f
i
x cache entry
l
eak in add_one_
f
i
l
e()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
King
add: free leaked pathspec after
add_files_to_cac
h
e()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
te
s
t-lib: set LSAN_OPTIONS to abort by def
a
ult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-lib: --valgrind shoul
d
no
t
ov
e
rride --
v
erbose-lo
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Ki
n
g
stop leaking l
o
ck structs i
n
some simple cas
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
ref_lock: stop
leaking lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
loc
k
file: update lif
e
t
im
e
requirement
s
i
n
d
ocument
a
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempf
i
le: auto-allocat
e
t
e
mpfiles on
h
eap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempf
i
le: remove
d
e
a
ct
i
vat
e
d list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tem
p
fi
l
e: use list
.
h f
o
r
l
inked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
t
e
mp
f
ile
:
r
e
lease
d
eactivate
d
strbufs instead of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfile: robustify cle
a
nup h
a
ndle
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile:
f
act
o
r out de
a
ctivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfil
e
: fac
t
or out activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfile: replac
e
die("BUG")
with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
emp
f
ile: handle NULL tempfile pointer
s
grac
e
f
ull
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f K
i
ng
tempf
i
le: prefer is_tempfile_active to bare
a
c
cess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: do not roll
b
ac
k
lock on fai
l
e
d
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfile: do not delet
e
tempfile on
failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
K
ing
always check return value of close_tempf
i
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
ve
r
if
y
_sign
e
d
_
b
u
f
fer: prefer c
l
ose_te
m
p
f
ile() to close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup
_
te
m
pora
r
y_shall
o
w: move tem
p
fi
l
e struct
into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next