Skip to content

Commit

Permalink
Merge pull request JuliaLang#9193 from ninjin/nin/pkg_add
Browse files Browse the repository at this point in the history
Forcefully add files in `Pkg.generate`
  • Loading branch information
StefanKarpinski committed Nov 29, 2014
2 parents da19d45 + 847c134 commit 730e22e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/pkg/generate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function genfile(f::Function, pkg::AbstractString, file::AbstractString, force::
info("Generating $file")
mkpath(dirname(path))
open(f, path, "w")
Git.run(`add $file`, dir=pkg)
Git.run(`add -f $file`, dir=pkg)
return true
end
return false
Expand Down

0 comments on commit 730e22e

Please sign in to comment.