Skip to content

Commit

Permalink
Don't include .gitattributes in index.tar.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
dra27 authored and rjbou committed Aug 29, 2019
1 parent 708711b commit bb6bb76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repository/opamHTTP.ml
Expand Up @@ -100,5 +100,5 @@ let make_index_tar_gz repo_root =
let to_include = [ "version"; "packages"; "repo" ] in
match List.filter Sys.file_exists to_include with
| [] -> ()
| d -> OpamSystem.command ("tar" :: "czhf" :: "index.tar.gz" :: d)
| d -> OpamSystem.command ("tar" :: "czhf" :: "index.tar.gz" :: "--exclude=.git*" :: d)
)

0 comments on commit bb6bb76

Please sign in to comment.