swh:1:snp:47f1e8bb459169b0feb652a9c3d9cbabd8526d4a
Revision 5887ac821f9df614cfcf3349960523e1c36f2de7 authored by Junio C Hamano on 22 June 2006, 08:44:54 UTC, committed by Junio C Hamano on 22 June 2006, 08:46:48 UTC
Instead of using 4-digit numbers to name commits being rebased, just use "cmt.$msgnum" string, with $msgnum as a decimal number without leading zero padding. This makes it possible to rebase more than 9999 commits, but of more practical importance is that the earlier code used "printf" to format already formatted $msgnum and barfed when it counted up to 0008. In other words, the old code was incapable of rebasing more than 7 commits, and this fixes that problem. Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 693c15d
Tip revision: 84d06cdc06389ae7c462434cb7b1db0980f63860 authored by Junio C Hamano on 26 March 2021, 21:59:47 UTC
Sync with v2.31.1
Sync with v2.31.1
Tip revision: 84d06cd
File | Mode | Size |
---|---|---|
Documentation | ||
arm | ||
compat | ||
contrib | ||
gitweb | ||
mozilla-sha1 | ||
ppc | ||
t | ||
templates | ||
xdiff | ||
.gitignore | -rw-r--r-- | 1.8 KB |
COPYING | -rw-r--r-- | 18.3 KB |
GIT-VERSION-GEN | -rwxr-xr-x | 665 bytes |
INSTALL | -rw-r--r-- | 4.4 KB |
Makefile | -rw-r--r-- | 21.2 KB |
README | -rw-r--r-- | 24.7 KB |
alloc.c | -rw-r--r-- | 1.2 KB |
base85.c | -rw-r--r-- | 2.9 KB |
blame.c | -rw-r--r-- | 20.3 KB |
blob.c | -rw-r--r-- | 1.2 KB |
blob.h | -rw-r--r-- | 311 bytes |
builtin-add.c | -rw-r--r-- | 4.1 KB |
builtin-apply.c | -rw-r--r-- | 54.9 KB |
builtin-cat-file.c | -rw-r--r-- | 3.5 KB |
builtin-check-ref-format.c | -rw-r--r-- | 275 bytes |
builtin-commit-tree.c | -rw-r--r-- | 3.3 KB |
builtin-count.c | -rw-r--r-- | 2.8 KB |
builtin-diff-files.c | -rw-r--r-- | 1.4 KB |
builtin-diff-index.c | -rw-r--r-- | 941 bytes |
builtin-diff-stages.c | -rw-r--r-- | 2.5 KB |
builtin-diff-tree.c | -rw-r--r-- | 3.4 KB |
builtin-diff.c | -rw-r--r-- | 9.2 KB |
builtin-grep.c | -rw-r--r-- | 19.9 KB |
builtin-help.c | -rw-r--r-- | 4.9 KB |
builtin-init-db.c | -rw-r--r-- | 8.1 KB |
builtin-log.c | -rw-r--r-- | 7.5 KB |
builtin-ls-files.c | -rw-r--r-- | 11.4 KB |
builtin-ls-tree.c | -rw-r--r-- | 3.5 KB |
builtin-push.c | -rw-r--r-- | 6.3 KB |
builtin-read-tree.c | -rw-r--r-- | 22.9 KB |
builtin-rev-list.c | -rw-r--r-- | 8.4 KB |
builtin-rev-parse.c | -rw-r--r-- | 7.1 KB |
builtin-rm.c | -rw-r--r-- | 3.2 KB |
builtin-show-branch.c | -rw-r--r-- | 18.2 KB |
builtin-tar-tree.c | -rw-r--r-- | 10.3 KB |
builtin-upload-tar.c | -rw-r--r-- | 1.6 KB |
builtin.h | -rw-r--r-- | 2.3 KB |
cache-tree.c | -rw-r--r-- | 12.5 KB |
cache-tree.h | -rw-r--r-- | 921 bytes |
cache.h | -rw-r--r-- | 13.9 KB |
checkout-index.c | -rw-r--r-- | 7.6 KB |
clone-pack.c | -rw-r--r-- | 3.9 KB |
combine-diff.c | -rw-r--r-- | 23.2 KB |
commit.c | -rw-r--r-- | 18.9 KB |
commit.h | -rw-r--r-- | 3.0 KB |
config.c | -rw-r--r-- | 14.1 KB |
connect.c | -rw-r--r-- | 14.8 KB |
convert-objects.c | -rw-r--r-- | 7.2 KB |
copy.c | -rw-r--r-- | 692 bytes |
csum-file.c | -rw-r--r-- | 2.9 KB |
csum-file.h | -rw-r--r-- | 566 bytes |
ctype.c | -rw-r--r-- | 890 bytes |
daemon.c | -rw-r--r-- | 16.6 KB |
date.c | -rw-r--r-- | 15.0 KB |
delta.h | -rw-r--r-- | 3.2 KB |
describe.c | -rw-r--r-- | 3.7 KB |
diff-delta.c | -rw-r--r-- | 13.8 KB |
diff-lib.c | -rw-r--r-- | 7.9 KB |
diff.c | -rw-r--r-- | 51.6 KB |
diff.h | -rw-r--r-- | 5.5 KB |
diffcore-break.c | -rw-r--r-- | 8.5 KB |
diffcore-delta.c | -rw-r--r-- | 5.1 KB |
diffcore-order.c | -rw-r--r-- | 2.2 KB |
diffcore-pickaxe.c | -rw-r--r-- | 3.2 KB |
diffcore-rename.c | -rw-r--r-- | 12.4 KB |
diffcore.h | -rw-r--r-- | 3.7 KB |
dir.c | -rw-r--r-- | 8.8 KB |
dir.h | -rw-r--r-- | 1.3 KB |
dump-cache-tree.c | -rw-r--r-- | 1.5 KB |
entry.c | -rw-r--r-- | 4.1 KB |
environment.c | -rw-r--r-- | 1.9 KB |
exec_cmd.c | -rw-r--r-- | 2.6 KB |
exec_cmd.h | -rw-r--r-- | 295 bytes |
fetch-clone.c | -rw-r--r-- | 5.5 KB |
fetch-pack.c | -rw-r--r-- | 11.5 KB |
fetch.c | -rw-r--r-- | 5.2 KB |
fetch.h | -rw-r--r-- | 1.3 KB |
fsck-objects.c | -rw-r--r-- | 13.2 KB |
generate-cmdlist.sh | -rwxr-xr-x | 550 bytes |
git-am.sh | -rwxr-xr-x | 10.0 KB |
git-annotate.perl | -rwxr-xr-x | 10.8 KB |
git-applymbox.sh | -rwxr-xr-x | 2.8 KB |
git-applypatch.sh | -rwxr-xr-x | 5.4 KB |
git-archimport.perl | -rwxr-xr-x | 34.2 KB |
git-bisect.sh | -rwxr-xr-x | 5.7 KB |
git-branch.sh | -rwxr-xr-x | 2.6 KB |
git-checkout.sh | -rwxr-xr-x | 4.9 KB |
git-cherry.sh | -rwxr-xr-x | 1.9 KB |
git-clean.sh | -rwxr-xr-x | 1.5 KB |
git-clone.sh | -rwxr-xr-x | 9.8 KB |
git-commit.sh | -rwxr-xr-x | 15.9 KB |
git-compat-util.h | -rw-r--r-- | 3.4 KB |
git-cvsexportcommit.perl | -rwxr-xr-x | 7.7 KB |
git-cvsimport.perl | -rw-r--r-- | 23.7 KB |
git-cvsserver.perl | -rwxr-xr-x | 88.5 KB |
git-fetch.sh | -rwxr-xr-x | 9.8 KB |
git-fmt-merge-msg.perl | -rwxr-xr-x | 3.2 KB |
git-lost-found.sh | -rwxr-xr-x | 461 bytes |
git-ls-remote.sh | -rwxr-xr-x | 2.0 KB |
git-merge-octopus.sh | -rwxr-xr-x | 2.4 KB |
git-merge-one-file.sh | -rwxr-xr-x | 2.7 KB |
git-merge-ours.sh | -rwxr-xr-x | 356 bytes |
git-merge-recursive.py | -rwxr-xr-x | 30.8 KB |
git-merge-resolve.sh | -rwxr-xr-x | 955 bytes |
git-merge-stupid.sh | -rwxr-xr-x | 1.4 KB |
git-merge.sh | -rwxr-xr-x | 7.2 KB |
git-mv.perl | -rwxr-xr-x | 5.6 KB |
git-p4import.py | -rw-r--r-- | 10.5 KB |
git-parse-remote.sh | -rwxr-xr-x | 4.8 KB |
git-prune.sh | -rwxr-xr-x | 783 bytes |
git-pull.sh | -rwxr-xr-x | 2.5 KB |
git-push.sh | -rwxr-xr-x | 1.7 KB |
git-quiltimport.sh | -rwxr-xr-x | 2.9 KB |
git-rebase.sh | -rwxr-xr-x | 7.9 KB |
git-relink.perl | -rwxr-xr-x | 4.0 KB |
git-repack.sh | -rwxr-xr-x | 1.7 KB |
git-request-pull.sh | -rwxr-xr-x | 844 bytes |
git-rerere.perl | -rwxr-xr-x | 4.8 KB |
git-reset.sh | -rwxr-xr-x | 1.4 KB |
git-resolve.sh | -rwxr-xr-x | 2.4 KB |
git-revert.sh | -rwxr-xr-x | 4.0 KB |
git-send-email.perl | -rwxr-xr-x | 13.4 KB |
git-sh-setup.sh | -rwxr-xr-x | 1.0 KB |
git-shortlog.perl | -rwxr-xr-x | 4.0 KB |
git-svnimport.perl | -rwxr-xr-x | 22.8 KB |
git-tag.sh | -rwxr-xr-x | 2.2 KB |
git-verify-tag.sh | -rwxr-xr-x | 703 bytes |
git.c | -rw-r--r-- | 6.8 KB |
git.spec.in | -rw-r--r-- | 6.3 KB |
gitMergeCommon.py | -rw-r--r-- | 6.9 KB |
gitk | -rwxr-xr-x | 154.0 KB |
hash-object.c | -rw-r--r-- | 1.8 KB |
http-fetch.c | -rw-r--r-- | 31.0 KB |
http-push.c | -rw-r--r-- | 66.7 KB |
http.c | -rw-r--r-- | 11.1 KB |
http.h | -rw-r--r-- | 2.3 KB |
ident.c | -rw-r--r-- | 5.1 KB |
imap-send.c | -rw-r--r-- | 29.0 KB |
index-pack.c | -rw-r--r-- | 11.6 KB |
local-fetch.c | -rw-r--r-- | 5.8 KB |
lockfile.c | -rw-r--r-- | 1.3 KB |
log-tree.c | -rw-r--r-- | 6.9 KB |
log-tree.h | -rw-r--r-- | 408 bytes |
mailinfo.c | -rw-r--r-- | 16.8 KB |
mailsplit.c | -rw-r--r-- | 3.9 KB |
merge-base.c | -rw-r--r-- | 6.2 KB |
merge-index.c | -rw-r--r-- | 2.6 KB |
merge-tree.c | -rw-r--r-- | 4.3 KB |
mktag.c | -rw-r--r-- | 3.7 KB |
mktree.c | -rw-r--r-- | 3.1 KB |
name-rev.c | -rw-r--r-- | 5.3 KB |
object-refs.c | -rw-r--r-- | 3.0 KB |
object.c | -rw-r--r-- | 4.3 KB |
object.h | -rw-r--r-- | 1.9 KB |
pack-check.c | -rw-r--r-- | 4.2 KB |
pack-objects.c | -rw-r--r-- | 32.7 KB |
pack-redundant.c | -rw-r--r-- | 14.2 KB |
pack.h | -rw-r--r-- | 818 bytes |
pager.c | -rw-r--r-- | 868 bytes |
patch-delta.c | -rw-r--r-- | 2.1 KB |
patch-id.c | -rw-r--r-- | 1.5 KB |
path.c | -rw-r--r-- | 6.0 KB |
peek-remote.c | -rw-r--r-- | 1.0 KB |
pkt-line.c | -rw-r--r-- | 2.4 KB |
pkt-line.h | -rw-r--r-- | 270 bytes |
prune-packed.c | -rw-r--r-- | 1.5 KB |
quote.c | -rw-r--r-- | 5.5 KB |
quote.h | -rw-r--r-- | 1.5 KB |
read-cache.c | -rw-r--r-- | 22.9 KB |
receive-pack.c | -rw-r--r-- | 7.6 KB |
refs.c | -rw-r--r-- | 12.3 KB |
refs.h | -rw-r--r-- | 1.6 KB |
repo-config.c | -rw-r--r-- | 4.1 KB |
revision.c | -rw-r--r-- | 23.8 KB |
revision.h | -rw-r--r-- | 2.5 KB |
rsh.c | -rw-r--r-- | 2.3 KB |
rsh.h | -rw-r--r-- | 159 bytes |
run-command.c | -rw-r--r-- | 1.5 KB |
run-command.h | -rw-r--r-- | 523 bytes |
send-pack.c | -rw-r--r-- | 9.2 KB |
server-info.c | -rw-r--r-- | 5.1 KB |
setup.c | -rw-r--r-- | 6.1 KB |
sha1_file.c | -rw-r--r-- | 39.8 KB |
sha1_name.c | -rw-r--r-- | 12.1 KB |
shell.c | -rw-r--r-- | 1.1 KB |
show-index.c | -rw-r--r-- | 593 bytes |
ssh-fetch.c | -rw-r--r-- | 3.6 KB |
ssh-pull.c | -rw-r--r-- | 154 bytes |
ssh-push.c | -rw-r--r-- | 155 bytes |
ssh-upload.c | -rw-r--r-- | 2.8 KB |
strbuf.c | -rw-r--r-- | 807 bytes |
strbuf.h | -rw-r--r-- | 216 bytes |
stripspace.c | -rw-r--r-- | 943 bytes |
symbolic-ref.c | -rw-r--r-- | 785 bytes |
tag.c | -rw-r--r-- | 2.5 KB |
tag.h | -rw-r--r-- | 471 bytes |
tar.h | -rw-r--r-- | 644 bytes |
test-date.c | -rw-r--r-- | 416 bytes |
test-delta.c | -rw-r--r-- | 1.8 KB |
tree-diff.c | -rw-r--r-- | 5.7 KB |
tree-walk.c | -rw-r--r-- | 4.2 KB |
tree-walk.h | -rw-r--r-- | 863 bytes |
tree.c | -rw-r--r-- | 5.0 KB |
tree.h | -rw-r--r-- | 860 bytes |
unpack-file.c | -rw-r--r-- | 812 bytes |
unpack-objects.c | -rw-r--r-- | 6.7 KB |
update-index.c | -rw-r--r-- | 16.4 KB |
update-ref.c | -rw-r--r-- | 1.2 KB |
update-server-info.c | -rw-r--r-- | 457 bytes |
upload-pack.c | -rw-r--r-- | 6.3 KB |
usage.c | -rw-r--r-- | 639 bytes |
var.c | -rw-r--r-- | 1.3 KB |
verify-pack.c | -rw-r--r-- | 1.1 KB |
write-tree.c | -rw-r--r-- | 1.7 KB |
xdiff-interface.c | -rw-r--r-- | 2.2 KB |
xdiff-interface.h | -rw-r--r-- | 446 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...