Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add interactive git attributes generator #408

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sandr01d
Copy link
Collaborator

Check list

  • I have performed a self-review of my code
  • I have commented my code in hard-to-understand areas
  • I have made corresponding changes to the documentation

Description

Adds an interactive .gitattributes generator that works exactly the same as the one we already have for .gitignore. I've refactored the functions used in _forgit_ignore(), so they can also be used for _forgit_attributes(). When testing, it's a good idea to also test that gi still works as it did before.
Marked this as a draft, because I first want to sort out what to do with #407 and refactor _forgit_ignore_clean if necessary.

Closes #405

Type of change

  • Bug fix
  • New feature
  • Refactor
  • Breaking change
  • Documentation change

Test environment

  • Shell
    • bash
    • zsh
    • fish
  • OS
    • Linux
    • Mac OS X
    • Windows
    • Others:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: .gitattributes generator
1 participant