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
remote-ext: simplify git pkt-line generation
2015-09-25
Jeff K
i
ng
remote-ext:
simplify git
p
k
t
-li
n
e generation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
upload-archive: convert sprintf to strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
r
e
solve_r
e
f:
u
se
strbufs for intern
a
l buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff K
i
n
g
read_remotes_fi
l
e: sim
p
l
i
fy
s
t
r
ing handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
r
ead_branches_file: simplify s
t
ring han
d
l
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
mailmap:
replace strcpy with xstr
d
up
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff
K
ing
he
l
p
:
dr
o
p prepe
n
d function in favor of xstrfmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
King
ref-filter
:
d
r
op sprintf and strcpy
c
alls
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
use strip_s
u
ffix and xstrfmt to replace suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
f
e
tch: r
e
p
l
ace st
a
tic buffer with xstrfmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
con
f
ig: use xstr
f
mt in normalize_value
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
replace trivia
l
malloc + sp
r
intf / strcpy calls w
i
th
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
re
c
eive-pack: conve
r
t strncp
y
to x
s
nprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
http-p
u
sh: re
p
lace s
t
rcat with xsnp
r
i
ntf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
add_packed_git
:
conver
t
strcpy
i
nto xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
entry
.
c
:
c
o
nvert strcpy to xsnprint
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
grep: use xsnprintf to format failure mess
a
ge
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
compat/
h
strerror: convert sprint
f
to snprint
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
stop_progress_msg: convert sprintf to xsn
p
rintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
f
i
nd_s
h
ort
_
object_
f
ilename:
c
onvert sprintf to
x
s
n
printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
us
e
xsnprintf for gen
e
rat
i
ng git object headers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
archive-tar: use
x
snprintf fo
r
trivia
l
f
ormat
t
in
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
conver
t
trivia
l
sprintf / strcpy
calls to xsnpr
i
ntf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
compat
/
inet_ntop: fix off-by-one
i
n inet_
n
top4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
test-du
m
p-cache-t
r
ee
:
avoid
overflow
o
f
c
ache-tr
e
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
pr
o
gress:
store through
p
ut dis
p
la
y
in a
s
trbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
trace: use
s
trbuf
f
or
quote_c
r
nl output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mailsplit:
m
ake PATH_MAX b
u
ffers dynamic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fsck: use strbuf to generate alternate director
i
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
Kin
g
a
d
d r
e
e
ntr
a
nt varia
n
ts of sha1_to_h
e
x and find_
u
niqu
e
_abb
r
ev
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
K
ing
s
t
rbuf:
make strbuf_complete_lin
e
more generic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add git_path_buf helper funct
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
add xsnprintf helper func
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fsck: don't fsc
k
alternates for
c
on
n
e
c
t
ivity-onl
y
check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
archive-tar: fix minor in
d
entation vi
o
l
ation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
mails
p
lit: fi
x
FI
L
E*
leak in sp
l
it_maildir
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f King
s
how
-
branch: avoid segfault with --reflog of unborn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
sho
w
-branch: use
a strbu
f
fo
r
reflog de
s
criptio
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
read_info_alterna
t
es: handle paths larger than PATH_MAX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
King
notes: use a st
r
buf in ad
d
_non
_
no
t
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff Kin
g
ve
r
ify_absent: a
l
low file
n
ames l
o
nger th
a
n
PATH_MAX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jeff
K
i
ng
pack-pr
o
to
c
ol: c
l
a
rify LF-handling in PKT-LINE()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
Jeff King
rere
r
e: rel
e
ase lockfile in
non-
w
rit
i
ng functi
o
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-31
Jeff Ki
n
g
lo
g
:
di
a
g
nose empty HEAD more clear
l
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Je
f
f Ki
n
g
r
e
v-list:
mak
e
it obvious that
w
e do not support no
t
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff Ki
n
g
c
onfig: s
i
lence
warn
i
ngs for command names with
invalid
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
get_urlmatch: av
o
id useless s
t
rbuf write
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff
K
ing
format_
c
o
nfig: simplify buffer handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Je
f
f
King
f
ormat_con
f
i
g: d
o
n't init s
t
rbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vreportf: avoid intermediate buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff Ki
n
g
vreportf: report to ar
b
itra
r
y filehand
l
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
me
m
oize commo
n
gi
t
-p
a
th "constant
"
files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
get_repo_path: refa
c
tor pat
h
-allo
c
ation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
find_hook
:
keep our own
s
t
ati
c
buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
eff Kin
g
refs
.
c:
r
e
m
ove_
e
mpty_directories can take a str
b
uf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
refs
.
c: avoid gi
t
_path assignment in lock_
r
ef_
s
ha1
_
basic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f
Kin
g
refs
.
c: avoid repeated git_path
ca
l
ls in
r
enam
e
_
tmp_log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff K
i
ng
refs
.
c
:
simp
l
ify strbufs in
r
eflog setup
a
nd writing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
path
.
c: drop git_path_submodul
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c:
r
em
o
ve e
x
t
r
a git_pa
t
h calls fro
m
read_loose_refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
rem
o
te
.
c: dro
p
extraneous local
v
a
riable
f
rom migr
a
te_file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Kin
g
p
refe
r
mkpathdu
p
to mkpath in assignments
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Kin
g
p
refer git_
p
a
t
hdu
p
to g
i
t_pa
t
h in some possibly-dangero
u
s
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
add_to_alternates_file: don't add duplicate entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
t5700
:
moder
n
ize style
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
cache
.
h:
c
omplete set of git_p
a
th_submodule helpers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
cache
.
h: clarify documen
t
ation for
git_path,
et
a
l
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
cl
o
ne: use computed le
n
g
t
h in
gues
s
_dir_name
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clone: add tests for output d
i
rectory
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jef
f
King
test-lib: disable trace when
t
est is not verbose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
J
eff King
te
s
t-l
i
b: tu
r
n off "-x"
tracing duri
n
g chain-lin
t
chec
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jeff K
i
ng
ref
s
: support negative t
r
a
n
sfer
.
h
ideRefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-28
Jef
f
King
d
o
cs/conf
i
g
.
txt: reorde
r
h
ideRefs config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-21
Je
f
f K
i
ng
str
b
uf
:
make
s
t
r
buf_a
d
dft
i
me more robust
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-08
J
e
f
f
King
c
he
c
k_and_freshe
n
_f
i
le:
f
ix reversed succe
s
s-
c
heck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-01
Jeff
Kin
g
re
v
-list: disa
b
l
e
--use-bi
t
map-inde
x
wh
e
n pruning commits
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
Jeff K
i
ng
i
n
troduce "for
m
at"
d
a
te-mode
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
Jeff King
conve
r
t "enum date_
m
ode" into a str
u
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
Jeff K
i
ng
show
-
branch: use DATE
_
RELATIVE i
n
stead
o
f magi
c
n
u
mber
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-26
J
e
f
f King
cat-
f
ile: sort and de-dup output o
f
--bat
c
h-a
l
l-
o
bjects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-26
Jeff King
read_
g
itfile_gent
l
y: fix use-a
f
te
r
-free
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat-f
i
le: add --b
a
tch-al
l
-objec
t
s option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
J
e
ff
K
i
n
g
ca
t
-f
i
le: split batch_one_
o
b
jec
t
into two
s
t
ages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff K
i
ng
cat-file
:
stop
r
eturning val
u
e
from batch_o
n
e_obje
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
J
eff
K
ing
cat-
f
ile: add -
-
bu
f
f
er
o
p
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff
Kin
g
cat-file
:
m
o
v
e batch_opti
o
ns
d
efinition to top of file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat
-
file: mi
n
or styl
e
fix
i
n
o
ptions lis
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
J
e
ff
K
i
ng
for_eac
h
_packed_object:
automatic
a
lly
o
pen
p
ac
k
index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-17
Je
f
f
King
docs:
c
larify that
--en
c
odin
g
can p
r
oduc
e
i
n
valid se
q
uences
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-16
Jeff King
pkt-line
:
sup
p
ort tra
c
ing verbatim pack contents
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-15
Jef
f
King
pkt-line
:
tighten sideband
P
A
C
K check when tracing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-15
Jeff King
pkt-l
i
ne:
s
implify starts_with checks in packet tracing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-15
J
e
f
f Ki
n
g
Reve
r
t "stash: require a clean index to apply"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-09
Jeff King
in
d
ex-pack: avoid excessive re-reading of pack dire
c
to
r
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-04
Jeff Ki
n
g
inde
x
-pack
:
fix truncation o
f
of
f
_
t in c
o
mparison
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-03
Jeff King
ew
a
h: u
s
e less gen
e
ric
macro name
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-01
Jeff King
suppress errors on
mis
s
ing UNINTERESTING links
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-01
Jeff King
silence br
o
k
e
n link warn
i
ngs with revs->ign
o
re_missing_links
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-01
Jeff
K
ing
add quieter versions of pa
r
se_{tree,commit}
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-05-29
Jeff
K
ing
s
e
tup_git_directory: delay core
.
bare
/
core
.
worktre
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next