From 6126bc47086981e48a82208fe7e8768d566f5365 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 29 Aug 2012 16:05:10 +0200 Subject: Update the git-archive export options The .gitattributes, .gitignore, .commit-template files do not need to be present in packaged sources, as they are for people using the Git repository. People who download tarballs usually don't reimport into Git -- they should just download the actual repositories. Meanwhile, the .tag file is quite useful. Instead of making Git extract to the useless SHA-1 of the "$Id$\n" string, ask git-archive to store the SHA-1 of the commit being packaged. Change-Id: I9a24a526e66f58ef2ebd9a2319bf96cf43e3e6f7 Reviewed-by: Oswald Buddenhagen --- .gitattributes | 4 ++++ .tag | 1 + 2 files changed, 5 insertions(+) create mode 100644 .gitattributes create mode 100644 .tag diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..1a045fa1f0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +.tag export-subst +.gitignore export-ignore +.gitattributes export-ignore +.commit-template export-ignore diff --git a/.tag b/.tag new file mode 100644 index 0000000000..6828f88dcb --- /dev/null +++ b/.tag @@ -0,0 +1 @@ +$Format:%H$ -- cgit v1.2.3