Skip to content

Commit

Permalink
Oh right, I forgot to delete that line >_<
Browse files Browse the repository at this point in the history
  • Loading branch information
R. Tyler Ballance committed Dec 31, 2008
1 parent 151f934 commit c06c7a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/hudson/plugins/git/GitLastHashProperty.java
Expand Up @@ -29,7 +29,6 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListen
if (!(genericScm instanceof GitSCM)) if (!(genericScm instanceof GitSCM))
return true; return true;
GitSCM scm = (GitSCM)genericScm; GitSCM scm = (GitSCM)genericScm;
GitSCM scm = (GitSCM) build.getProject().getScm();
GitAPI git = new GitAPI(scm.getDescriptor(), launcher, build.getParent().getWorkspace(), listener); GitAPI git = new GitAPI(scm.getDescriptor(), launcher, build.getParent().getWorkspace(), listener);
String tipHash = git.revParse(scm.getRemoteBranch()); String tipHash = git.revParse(scm.getRemoteBranch());


Expand Down

0 comments on commit c06c7a3

Please sign in to comment.