projects
/
gatekeeper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19268a0
)
Fix handling of files never previously in Git
author
Jacob Bachmeyer
<jcb@gnu.org>
Wed, 29 Jul 2020 03:20:00 +0000
(22:20 -0500)
committer
Jacob Bachmeyer
<jcb@gnu.org>
Wed, 29 Jul 2020 03:20:00 +0000
(22:20 -0500)
repo-import-loose-files.pl
patch
|
blob
|
blame
|
history
diff --git
a/repo-import-loose-files.pl
b/repo-import-loose-files.pl
index a7bffd51bfc45d9b44c17bf6524ed9d87c8d6546..3ba38ceb7e3b29fab3a6df3a8000630801708d10 100755
(executable)
--- a/
repo-import-loose-files.pl
+++ b/
repo-import-loose-files.pl
@@
-162,6
+162,7
@@
sub store_revision_in_git {
push @commit_opts, '-m', $message;
cmd qw/cp -fp/, ($Verbose ? '-v' : ()), $source, $target;
+ cmd qw/git add --/, $target;
cmd qw/git commit/, @commit_opts, '--', $target;
}