chiark / gitweb /
wip; tidy; check no unwanted metadata
[topbloke.git] / tb-create.pl
index d4c9a7e9751c691abf4165e909c85fdb22b9b0d1..79d42749015088e8e6c883348733bad87dcbc7af 100755 (executable)
@@ -41,8 +41,14 @@ if (!defined $spec->{Date}) {
 
 length($spec->{Date})==18 or die "partial date specified, not supported\n";
 
+check_no_unwanted_metadata('HEAD')
+    if $current->{Kind} ne 'tip';
+
 my $newbranch = "$spec->{Email}\@$spec->{Domain}/$spec->{Date}/$spec->{Nick}";
 
 $newbranch = run_git_1line(qw(check-ref-format --print), $newbranch);
 
 printf "creating %s\n", $newbranch;
+
+setup_config();
+