Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix for " is not a valid attribute name" related to "renormalize = true" #11

Merged
merged 1 commit into from

2 participants

@cybertoast

The previous command "renormalize = true" caused the following to be
dumped on the console with any gitcrypt enabled repo:
is not a valid attribute name: .git/info/attributes:3

@cybertoast cybertoast Remove spacing between the key and value in git attributes
The previous command "renormalize = true" caused the following to be 
dumped on the console with any gitcrypt enabled repo:
    is not a valid attribute name: .git/info/attributes:3
6444c1e
@shadowhand shadowhand merged commit 6622200 into shadowhand:master
@tollmanz tollmanz referenced this pull request from a commit
@tollmanz tollmanz Remove spaces in "renormalize" line
In the manual configuration instructions, the spaces in the "renormalize = true" line around the "=" sign need to be removed. With those spaces, "git reset --hard head" produces the following error: " is not a valid attribute name: .git/info/attributes:3" (note the leading space).

Related: #11
fc5de33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 11, 2012
  1. @cybertoast

    Remove spacing between the key and value in git attributes

    cybertoast authored
    The previous command "renormalize = true" caused the following to be 
    dumped on the console with any gitcrypt enabled repo:
        is not a valid attribute name: .git/info/attributes:3
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  gitcrypt
View
2  gitcrypt
@@ -95,7 +95,7 @@ init_config() {
echo "$pattern filter=encrypt diff=encrypt" >> $attrs
echo "[merge]" >> $attrs
- echo " renormalize = true" >> $attrs
+ echo " renormalize=true" >> $attrs
# Encryption
git config gitcrypt.salt "$SALT"
Something went wrong with that request. Please try again.