repo.or.cz
/
git
/
debian.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
read_branches_file: simplify string handling
2015-09-25
Jef
f
King
r
e
ad_branches_file: sim
p
lify
s
tring handlin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
m
a
il
m
a
p: repla
c
e
s
trcpy with xstrdup
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
help
:
drop prepend func
t
ion in favor
of x
s
trfmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
r
e
f-
f
ilter: dro
p
s
p
r
intf and strcp
y
calls
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
use strip_suff
i
x and x
s
t
r
fmt
t
o r
e
p
l
ace s
u
ffi
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
in
g
fe
t
ch: replace static buffer
with xstrfmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
config: use
x
strfmt in norma
l
ize
_
value
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
re
p
l
ace trivial
malloc +
s
printf / strcpy cal
l
s wi
t
h
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
receive-pack:
c
onvert
s
trncpy to
x
s
npri
n
tf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
http
-
push: replace
s
trcat with x
s
n
prin
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
add_
p
acke
d
_git
:
con
v
ert strcpy into xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
en
t
r
y
.
c: convert s
t
rcpy
to xsnpr
i
ntf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
gr
e
p: use xsnprintf
to format fai
l
ure
m
es
s
ag
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
compat/hstre
r
ror: conver
t
spr
i
ntf to snprin
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
sto
p
_pro
g
ress
_
ms
g
: conver
t
sprintf to xs
n
printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
fin
d
_short_object_
f
ilename: convert sp
r
intf to xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
use xsnprintf for generatin
g
g
i
t object head
e
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
arc
h
ive-t
a
r: use
x
snprint
f
for trivial format
t
in
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
c
o
n
vert trivial sp
r
intf / st
r
cpy
calls
t
o
x
s
n
pr
i
n
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
c
ompat
/
i
net_
n
top: fix off-by-on
e
i
n
inet_
n
top4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
t
e
st-dump
-
cac
h
e-tree: avoid overflow of cache-tree
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
p
r
o
g
ress: store
t
hro
u
ghpu
t
dis
p
lay
in
a
strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
t
race
:
use s
t
rbuf for quote
_
crnl output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
mailsplit: make PATH_MAX b
u
ff
e
r
s dynam
i
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
f
sck: use strbuf to ge
n
e
rat
e
alternate d
i
rectories
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add re
e
ntrant va
r
iants o
f
sha1_to_hex an
d
fi
n
d_uni
q
ue_a
b
brev
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f King
str
b
uf: m
a
k
e
strbuf_co
m
plet
e
_
li
n
e
more ge
n
eric
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
ad
d
git_path_bu
f
helper function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
add xsnprintf helper func
t
io
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fsck: don't fsck alternates for connectivity-only che
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
archive-tar: fix minor
indentat
i
o
n viola
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mailsplit: fix FILE* leak in split_mai
l
dir
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
sh
o
w-branch
:
avoid segfault with --ref
l
og of
unborn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
show-branch: use
a
strbuf for reflog d
e
scrip
t
ions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jef
f
King
read_
i
nfo_alte
r
nates:
h
andle paths larger th
a
n PATH_MAX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
King
no
t
es
:
use
a
strbuf in a
d
d_non_note
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Je
f
f King
ver
i
fy_absen
t
: allow file
n
ames longer than
PATH_MAX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jeff
K
ing
pa
c
k-protoco
l
: clarify LF-handli
n
g
in PKT-LI
N
E()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
J
e
ff Ki
n
g
rerere: release lockf
i
le
i
n
n
on
-
writing functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-31
Jeff
K
ing
log: diagnose emp
t
y HEAD more clearly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
rev-li
s
t:
m
ake i
t
obvious
t
h
at we
d
o n
o
t
support notes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
J
eff King
config:
silence
w
a
r
nings
for command names with invalid
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
get_urlmatch: a
v
o
i
d
use
l
ess strbuf
w
r
i
te
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
format_
c
onfig: simplify buffer handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
f
orm
a
t_config: don't init strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vreportf: a
v
oid inter
m
e
d
iate buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vre
p
ortf: report
t
o arbitrary filehandles
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
memoize
c
ommon git-
p
ath "constant" file
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
get_repo_path
:
refactor
p
ath-
a
llocation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f Ki
n
g
find_hook: keep o
u
r ow
n
static buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
refs
.
c: re
m
o
v
e_empty_
d
ir
e
ctories can take a strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
refs
.
c: avoid git_path
a
ssign
m
ent
i
n l
o
ck_ref_sha1_basic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c:
a
v
oi
d
repea
t
ed
git_path ca
l
ls in rename_tmp_log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
i
ng
refs
.
c: simpl
i
fy s
t
r
b
ufs in reflog set
u
p and writing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
path
.
c: drop gi
t
_path_submodule
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
refs
.
c: remov
e
ext
r
a git_
p
ath
c
a
lls from read
_
loose_refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
remote
.
c
: drop extraneous local va
r
iable
from migrat
e
_f
i
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
pr
e
fer mkpathdup
to mkp
a
th in assig
n
men
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
f
f
King
prefer
g
it_pathdup to g
i
t_path
in some
possibly-
d
angerous
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
add_to_alternates_file: don't add
duplicate e
n
trie
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
t5
7
0
0: modernize
s
tyle
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
ca
c
he
.
h: c
o
mple
t
e
set of
git_
p
ath_submodule help
e
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
cache
.
h: cla
r
ify
docu
m
entation
fo
r
git_pa
t
h,
e
t
al
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clone: use computed length in gu
e
ss_d
i
r_na
m
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff King
c
l
one: add
t
ests for output dir
e
ctory
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
test-lib:
d
isable
t
race
when test is no
t
verbo
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
J
e
ff King
tes
t
-lib: turn o
f
f "-x"
tracing during ch
a
i
n
-lint check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jeff
K
i
ng
refs:
s
uppor
t
ne
g
ative t
r
ansfe
r
.
h
i
de
R
efs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-28
Jeff
King
docs/config
.
txt: reorder hideRefs config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-21
J
eff
King
strbuf: make strbuf_addf
t
ime
m
or
e
robust
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-08
J
e
ff King
check_and_freshen_
f
ile: fix
revers
e
d
s
u
ccess-check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-01
J
e
f
f
King
rev-list: disable --use-
b
i
tmap-index when pruning commi
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
J
eff King
i
n
t
ro
d
uce "format" date-
m
ode
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
Jeff Ki
n
g
conv
e
rt "
e
nu
m
d
at
e
_mode" into a stru
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
Jeff
K
i
ng
show-branch: use DATE_REL
A
TIVE instead of m
a
gic number
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-26
J
e
ff King
cat-
f
ile: sort and
d
e-du
p
output of --batch-al
l
-
o
bjects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-26
J
eff Ki
n
g
read_gi
t
file_
g
ently
:
fix use-after-free
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff
K
ing
cat-file: add
-
-
ba
t
c
h
-all-
o
bje
c
ts option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff Ki
n
g
cat-
f
ile: sp
l
it ba
t
c
h_one_object in
t
o two
stages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff
King
cat-fi
l
e: stop returning value fr
o
m batch_one_objec
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
J
e
f
f King
cat-file: add --b
u
ffer opt
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
J
e
f
f King
ca
t
-file: move ba
t
c
h
_opt
i
ons def
i
nition to
top of
f
il
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat-fil
e
: minor s
t
y
l
e
f
ix
i
n o
p
tions lis
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
J
ef
f
King
for_each_packed_object: automatically
o
p
en pack index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-17
Jeff
K
ing
docs: c
l
arify that --
e
ncoding
can produce inva
l
id
sequences
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-16
Jeff
K
ing
pkt-line: support traci
n
g
verb
a
t
i
m pack contents
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-15
Je
f
f
K
ing
pkt-line:
tighten sideb
a
n
d
PACK check
w
he
n
tracing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-15
Jeff K
i
ng
pkt-line:
simplify starts_with c
h
ecks
i
n
packet
t
racing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-15
Jeff
K
ing
Revert "stash:
r
equire
a clean ind
e
x to apply"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-09
Jeff Kin
g
inde
x
-pac
k
: avoid excessiv
e
r
e
-r
e
ading
o
f pac
k
directory
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-04
Je
f
f Ki
n
g
index-pack:
fix trun
c
ation of off_
t
in comparison
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-03
Jeff King
ewah:
u
se les
s
generic mac
r
o name
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-01
Jeff King
s
uppress erro
r
s on
m
issing UNINTERESTING
l
inks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-01
Jeff King
silence broken
lin
k
warnings with revs-
>
ignore_missing_links
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-01
Jeff King
add quieter
v
ersions of parse
_
{tree
,
c
ommi
t
}
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-05-29
Jeff King
setup
_
git_directo
r
y: delay core
.
b
are/core
.
worktr
e
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-05-29
Jeff King
Makefi
l
e: sile
n
ce p
e
rl/PM
.
stamp recip
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-05-29
Jeff King
Mak
e
f
i
l
e: a
v
oid times
t
amp u
p
dates to GIT-BUI
L
D-OPTIONS
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-05-29
Jeff King
M
a
kefile
:
drop dependency bet
w
e
e
n git-in
s
t
aweb and
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-05-28
Jef
f
King
config
.
c
:
r
ewrite ENODEV into EISDIR when mm
a
p fails
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next