Skip to content

Commit

Permalink
Stop using master, just use -1.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Socol committed Aug 6, 2010
1 parent e9ac34b commit 126e1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jingo_minify/management/commands/compress_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def handle(self, **options):
settings.ROOT, 'build.py'))

gitid = lambda path: git.repo.Repo(os.path.join(settings.ROOT,
path)).log( 'master')[0].id_abbrev
path)).log('-1')[0].id_abbrev

with open(build_id_file, 'w') as f:
f.write('BUILD_ID_CSS = "%s"' % gitid('media/css'))
Expand Down

0 comments on commit 126e1d6

Please sign in to comment.