1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src
Edward Speyer e15da75687 Generated code> make it harder to mark code as generated
Summary: It's now harder to accidentally mark code as generated.
Test Plan:
Tested with this diff in my sandbox; only file "D" was shown, the others
were marked as generated:

  diff --git a/A b/A
  index e69de29..780b46c 100644
  --- a/A
  +++ b/A
  @@ -0,0 +1,2 @@
  +@generated
  +Tue Jun  7 16:41:17 PDT 2011
  diff --git a/B b/B
  index e69de29..b55fe21 100644
  --- a/B
  +++ b/B
  @@ -0,0 +1,3 @@
  +/**
  + * @generated by ed
  + */
  diff --git a/C b/C
  index e69de29..e0f808a 100644
  --- a/C
  +++ b/C
  @@ -0,0 +1,3 @@
  +/**
  + * {@generated <<jonx>lol>}
  + */
  diff --git a/D b/D
  index e69de29..89e8829 100644
  --- a/D
  +++ b/D
  @@ -0,0 +1,2 @@
  +string = STDIN.readlines
  +string.include?('@generated')

Reviewed By: jungejason
Reviewers: jungejason
CC: aran, edward, jungejason
Differential Revision: 408
2011-08-02 12:50:37 +01:00
..
aphront Restore "author" link to diffusion 2011-07-26 12:02:50 -07:00
applications Generated code> make it harder to mark code as generated 2011-08-02 12:50:37 +01:00
docs Update roadmap document. 2011-07-22 10:38:34 -07:00
infrastructure Rough implementation of drag-and-drop file uploads 2011-08-01 15:27:13 -07:00
storage Improve DarkConsole "Services" and "XHProf" plugins 2011-07-11 12:51:58 -07:00
view Rough implementation of drag-and-drop file uploads 2011-08-01 15:27:13 -07:00
__celerity_resource_map__.php Rough implementation of drag-and-drop file uploads 2011-08-01 15:27:13 -07:00
__phutil_library_init__.php Distinguish between aphront and phabricator. 2011-01-22 17:45:28 -08:00
__phutil_library_map__.php Rough implementation of drag-and-drop file uploads 2011-08-01 15:27:13 -07:00