Skip to content

Instantly share code, notes, and snippets.

View peichhorn's full-sized avatar

Philipp Eichhorn peichhorn

View GitHub Profile
@peichhorn
peichhorn / TinyMock.java
Created July 2, 2012 16:54
Tiny mocking framework (less that 100 LOC) that I've used to demonstrate dynamic proxies.
/*
* Copyright © 2012 Philipp Eichhorn
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
@peichhorn
peichhorn / [stateview]_remove_untracked_files.patch
Created June 30, 2012 13:09
Patch to add 'Remove Untracked Files' to the EGit StageView
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/JobFamilies.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/JobFamilies.java
index 917c156..9ebfc86 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/JobFamilies.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/JobFamilies.java
@@ -79,6 +79,11 @@
public final static Object ASSUME_NOASSUME_UNCHANGED = new Object();
/**
+ * Removed Untracked Files
+ */