Skip to content

Commit

Permalink
spl: common: Properly ignore spl/Makefile in .gitignore
Browse files Browse the repository at this point in the history
The spl directory is ignored by git as these objects are created
during spl creation.  The only file not created is the Makefile.

This file can be modified and checked in via git.

Due to the order of rule precedence having the whole directory
ignored first then indicating not to ignore the Makefile is not correct
the message to force adding the Makefile is still shown.

So reorder the .gitignore for the Makefile and indicate that the Makefile
does not need to be ignored first and then indicate everything else in spl
should be ignored after wards.

Signed-off-by: Dan Murphy <[email protected]>
  • Loading branch information
Dan Murphy authored and trini committed Jan 20, 2014
1 parent 84977e4 commit 86a8b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
/errlog
/reloc_off

/spl/
!/spl/Makefile
/spl/*
/tpl/

/include/generated/
Expand Down

0 comments on commit 86a8b3a

Please sign in to comment.