diff options
-rw-r--r-- | bdep/new.cxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx index 0b6f766..fa1409c 100644 --- a/bdep/new.cxx +++ b/bdep/new.cxx @@ -1267,9 +1267,10 @@ namespace bdep if (vc == vcs::git) { open (bd / ".gitignore"); - os << "config." << build_ext << endl - << "root/" << endl - << "bootstrap/" << endl; + os << "/config." << build_ext << endl + << "/root/" << endl + << "/bootstrap/" << endl + << "build/" << endl; os.close (); } } @@ -2032,9 +2033,10 @@ namespace bdep if (vc == vcs::git) { open (tbd / ".gitignore"); - os << "config." << build_ext << endl - << "root/" << endl - << "bootstrap/" << endl; + os << "/config." << build_ext << endl + << "/root/" << endl + << "/bootstrap/" << endl + << "build/" << endl; os.close (); } |