Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

empty commit results in an error #3

@GoogleCodeExporter

Description

@GoogleCodeExporter
When there is nothing to commit git returns an error code of 1 which halts the 
process.

git command ['commit', '-m', '\n\n\nRevision created by MOE tool 
push_codebase.\nMOE_MIGRATION=\n'] in /tmp/moe.macvicar/dbproxy/git returned 1
# On branch master
nothing to commit (working directory clean)

Patch adds in ChangesMade() check prior to commit.

Original issue reported on code.google.com by sc...@macvicar.net on 8 Apr 2011 at 12:47

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions