diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-16 01:10:03 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-16 01:14:23 +0000 |
commit | edf2e3761f78147bf4fe4fcb0c23f0c3a227d1c8 (patch) | |
tree | c4f6d2fdea45cb6b3c3b2da1d8b5e17d5430160a | |
parent | 8ac258a499a5d034684d47c6144be82b87535c24 (diff) |
gitattributes: Suppress transformations in our cloned trees
The user wants a checkout of the actual source tree, so that their
checkout and the source package are identical.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-x | dgit | 1 | ||||
-rw-r--r-- | dgit.7 | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -3367,6 +3367,7 @@ END sub setup_new_tree () { setup_mergechangelogs(); setup_useremail(); + setup_gitattrs(); } sub multisuite_suite_child ($$$) { @@ -221,6 +221,12 @@ they can cause trouble, because the working tree files can differ from the git revision history (and therefore from the source packages). + +So dgit clone +and dgit setup-new-tree +disable transforming gitattributes +by default, +by creating a .git/info/attributes. .SH PACKAGE SOURCE FORMATS If you are not the maintainer, you do not need to worry about the source format of the package. You can just make changes as you like |