Skip to content

Instantly share code, notes, and snippets.

--- a/ForgeGit/forgegit/model/git_repo.py
+++ b/ForgeGit/forgegit/model/git_repo.py
@@ -656,8 +656,8 @@ def paged_diffs(self, commit_id, start=0, end=None):
'--name-status',
'--no-abbrev',
'--root',
- # show tree entry itself as well as subtrees (Commit.added_paths relies on this)
- '-t',
+ # show only the files that are changed in the repository.)
+ '-r',
@brondsem
brondsem / bash_prompt.sh
Last active August 29, 2015 14:18 — forked from aconrad/bash_prompt.sh
git virtualenv timestamp bash prompt
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the active virtualenv
# * the branch/status of the current git repository (updated for git 2.2.1+)
# * the return value of the previous command
# * the current timestamp
# * colors optimized for light background