chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
directory refactoring: Rename no_local_git_cfg
[dgit.git]
/
dgit
diff --git
a/dgit
b/dgit
index bc84afb5c04ef269dc8571bbec289b95a9fb0741..9aadaf0d4753c5231c0d3d6ea95c05311397e4f0 100755
(executable)
--- a/
dgit
+++ b/
dgit
@@
-557,7
+557,7
@@
sub nextarg {
}
sub pre_help () {
}
sub pre_help () {
- no
_local_git_cfg
();
+ no
t_necessarily_a_tree
();
}
sub cmd_help () {
print $helpmsg or die $!;
}
sub cmd_help () {
print $helpmsg or die $!;
@@
-681,7
+681,7
@@
sub cfg {
"$us: distro or suite appears not to be (properly) supported";
}
"$us: distro or suite appears not to be (properly) supported";
}
-sub no
_local_git_cfg
() {
+sub no
t_necessarily_a_tree
() {
# needs to be called from pre_*
@gitcfgsources = grep { $_ ne 'local' } @gitcfgsources;
}
# needs to be called from pre_*
@gitcfgsources = grep { $_ ne 'local' } @gitcfgsources;
}
@@
-4378,7
+4378,7
@@
END
}
sub pre_clone () {
}
sub pre_clone () {
- no
_local_git_cfg
();
+ no
t_necessarily_a_tree
();
}
sub cmd_clone {
parseopts();
}
sub cmd_clone {
parseopts();
@@
-4592,7
+4592,7
@@
sub i_method {
}
sub pre_rpush () {
}
sub pre_rpush () {
- no
_local_git_cfg
();
+ no
t_necessarily_a_tree
();
}
sub cmd_rpush {
my $host = nextarg;
}
sub cmd_rpush {
my $host = nextarg;
@@
-6369,7
+6369,7
@@
END
}
sub pre_archive_api_query () {
}
sub pre_archive_api_query () {
- no
_local_git_cfg
();
+ no
t_necessarily_a_tree
();
}
sub cmd_archive_api_query {
badusage "need only 1 subpath argument" unless @ARGV==1;
}
sub cmd_archive_api_query {
badusage "need only 1 subpath argument" unless @ARGV==1;
@@
-6388,7
+6388,7
@@
sub repos_server_url () {
}
sub pre_clone_dgit_repos_server () {
}
sub pre_clone_dgit_repos_server () {
- no
_local_git_cfg
();
+ no
t_necessarily_a_tree
();
}
sub cmd_clone_dgit_repos_server {
badusage "need destination argument" unless @ARGV==1;
}
sub cmd_clone_dgit_repos_server {
badusage "need destination argument" unless @ARGV==1;
@@
-6400,7
+6400,7
@@
sub cmd_clone_dgit_repos_server {
}
sub pre_print_dgit_repos_server_source_url () {
}
sub pre_print_dgit_repos_server_source_url () {
- no
_local_git_cfg
();
+ no
t_necessarily_a_tree
();
}
sub cmd_print_dgit_repos_server_source_url {
badusage "no arguments allowed to dgit print-dgit-repos-server-source-url"
}
sub cmd_print_dgit_repos_server_source_url {
badusage "no arguments allowed to dgit print-dgit-repos-server-source-url"