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

Jringle/file list #30

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Jringle/file list #30

wants to merge 6 commits into from

Conversation

ringlej
Copy link

@ringlej ringlej commented Oct 4, 2012

Provide several modes for displaying list of added/mod/untrack files

file_list_mode=fileonly
Displays just the filename only regardless of which directory a changed
file is at.

file_list_mode=fullpath
Displays the path and filename of changed files

file_list_mode=topdir
Display just the top level directories if there are changes in that
directory or any sub-directory and filenames if they are in the base
directory of the repo.
This is the behavior that exists before this commit

file_list_mode=fulldir
Display the full directory name for directories where there are changes
and filenames if they are in the base directory of the repo.
IMHO, this is a more useful mode.

… lines

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
likewise-open user id's contain a backslash:
domain\user

The backslash needs to be escaped when colorized

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
Signed-off-by: Jon Ringle <jringle@gridpoint.com>
file_list_mode=fileonly
Displays just the filename only regardless of which directory a changed
file is at.

file_list_mode=fullpath
Displays the path and filename of changed files

file_list_mode=topdir
Display just the top level directories if there are changes in that
directory or any sub-directory and filenames if they are in the base
directory of the repo.
This is the behavior that exists before this commit

file_list_mode=fulldir
Display the full directory name for directories where there are changes
and filenames if they are in the base directory of the repo.
IMHO, this is a more useful mode.

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
You can override on a git per-repo by creating a .git/.git-prompt.conf
NOTE: If you do this, prefix any variable overrides with 'local'
i.e.:
        local file_list_mode=fileonly

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
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.

1 participant