Skip to content

Commit

Permalink
Remove .gitattributes files from vendor directory
Browse files Browse the repository at this point in the history
.gitattributes files containing `export-subst` will cause that the
source code tarball  contents will change when the short commit does. To
avoid that we now ignore .gitattributes files from the vendor directory.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
  • Loading branch information
saschagrunert committed Apr 29, 2021
1 parent ce8057c commit dbca042
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ result
*~
\#*\#
.\#*

# See https://github.com/cri-o/cri-o/issues/4820
/vendor/**/.gitattributes
1 change: 0 additions & 1 deletion vendor/github.com/Microsoft/hcsshim/.gitattributes

This file was deleted.

1 change: 0 additions & 1 deletion vendor/github.com/containerd/fifo/.gitattributes

This file was deleted.

1 change: 0 additions & 1 deletion vendor/github.com/fsnotify/fsnotify/.gitattributes

This file was deleted.

1 change: 0 additions & 1 deletion vendor/github.com/fsouza/go-dockerclient/.gitattributes

This file was deleted.

1 change: 0 additions & 1 deletion vendor/github.com/go-task/slim-sprig/.gitattributes

This file was deleted.

1 change: 0 additions & 1 deletion vendor/github.com/kevinburke/ssh_config/.gitattributes

This file was deleted.

1 change: 0 additions & 1 deletion vendor/k8s.io/client-go/pkg/version/.gitattributes

This file was deleted.

1 change: 0 additions & 1 deletion vendor/k8s.io/component-base/version/.gitattributes

This file was deleted.

0 comments on commit dbca042

Please sign in to comment.